@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:uri_with_password a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "uri_with_password" ;
    skos:prefLabel "URI with embedded password"@en ;
    skos:definition "URI whose user information part contains a password, as in scheme://user:password@host/. RFC 3986 deprecates this form, but database and message broker connection URIs still use it. The user name may be empty, as in Redis URIs."@en ;
    skos:broader dt:uri ;
    skos:example "postgresql://user:secret@localhost" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^[A-Za-z][A-Za-z0-9+.-]*://[^\\s:/?#@]*:[^\\s/?#@]+@[^\\s/?#]+(?:[/?#]\\S*)?$" ;
    rdfs:seeAlso <https://www.rfc-editor.org/rfc/rfc3986#section-3.2.1> ;
    rdfs:seeAlso <https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS> .
