@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:de_phone a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "de_phone" ;
    skos:prefLabel "Germany phone number (E.164)"@en ;
    skos:definition "Phone number of Germany in international E.164 form: a plus sign, the country calling code +49 and the national number, with no spaces. The regexp follows the national number pattern of Google libphonenumber. National formats with a trunk prefix and numbers written with spaces or hyphens are not covered."@en ;
    skos:broader dt:phone ;
    skos:example "+4930123456" ;
    skos:example "+4915123456789" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:regexp "^\\+49(?:[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9})$" ;
    dcterms:spatial country:DE ;
    rdfs:seeAlso <https://github.com/google/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml> .
