@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:iso3166code_compact a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "iso3166code_compact" ;
    skos:prefLabel "ISO 3166-2 subdivision code without a separator"@en ;
    skos:definition "Code of a country subdivision from ISO 3166-2 written without the hyphen between the two-letter country code and the subdivision part, as in UYAR for Artigas, Uruguay (UY-AR). Uruguayan open data writes department codes this way. Any short upper-case code has the same shape, so the form alone does not identify the type; the column name and the country do."@en ;
    skos:broader dt:iso3166code ;
    skos:example "UYAR" ;
    skos:example "UYMO" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^[A-Z]{2}[A-Z0-9]{1,3}$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/ISO_3166-2:UY> .
