@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:hs_code a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "hs_code" ;
    skos:prefLabel "Harmonized System (HS) code"@en ;
    skos:definition "Code of a goods category in the Harmonized Commodity Description and Coding System of the World Customs Organization (WCO), used for customs tariffs and international trade statistics. A chapter has two digits, a heading four and a subheading six. The WCO writes headings as 01.01 and subheadings as 0101.21; trade databases such as UN Comtrade write the same codes without dots (010121). National tariffs add digits to the six-digit subheading, for example the EU Combined Nomenclature (eu_cn_code) and the US HTS (us_hts_number). The WCO publishes the nomenclature in editions such as HS 2022, and the meaning of a code depends on the edition."@en ;
    skos:narrower dt:national_tariff_code ;
    skos:exactMatch <http://www.wikidata.org/entity/P5471> ;
    skos:example "0101.21" ;
    skos:example "010121" ;
    skos:example "01.01" ;
    skos:example "2203" ;
    skos:example "01" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^(?:\\d{2}|\\d{4}|\\d{6}|\\d{2}\\.\\d{2}|\\d{4}\\.\\d{2})$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Harmonized_System> ;
    rdfs:seeAlso <https://www.wcoomd.org/en/topics/nomenclature/overview/what-is-the-harmonized-system.aspx> ;
    rdfs:seeAlso <https://www.wcoomd.org/-/media/wco/public/global/pdf/topics/nomenclature/instruments-and-tools/hs-nomenclature-2022/2022/0101_2022e.pdf> ;
    rdfs:seeAlso <https://comtradeapi.un.org/files/v1/app/reference/HS.json> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P5471> .
