@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:gb_postcode_sector a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "gb_postcode_sector" ;
    skos:prefLabel "UK postcode sector"@en ;
    skos:definition "Postcode sector of a UK postcode: the outward code, a space and the first digit of the inward code (LS27 0). Data published for small areas without full postcodes gives it."@en ;
    skos:broader dt:postindex ;
    skos:example "LS27 0" ;
    skos:example "LS9 7" ;
    skos:example "LS15 8" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^[A-Z]{1,2}\\d[A-Z\\d]? \\d$" ;
    dcterms:spatial country:GB ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/en> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom> .
