@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix on: <https://test-vocab.trade-commons.org/object-nature/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ts: <https://test-vocab.trade-commons.org/term-status/> .
@prefix unece: <https://test-vocab.trade-commons.org/> .
@prefix unece-mod: <https://test-vocab.trade-commons.org/module/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

unece:description a owl:DatatypeProperty ;
    rdfs:label "description"@en ;
    rdfs:comment "Universal on entities (injected by the renderers); value objects that need it opt in via an explicit domain."@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "A textual description of an item."@en ;
    skos:exactMatch schema:description ;
    schema:domainIncludes unece:TradeItem,
        unece:TradePrice ;
    schema:rangeIncludes rdf:langString,
        xsd:string ;
    unece:termStatus ts:proposed .

unece:identifier a owl:ObjectProperty ;
    rdfs:label "identifier"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:closeMatch schema:identifier ;
    skos:definition "An identifier of this entity within some scheme, as an Identifier value object; an entity may bear several (e.g. a GTIN and an internal SKU). Its own resolvable identity is the node URI (@id)."@en ;
    schema:rangeIncludes unece:Identifier ;
    unece:termStatus ts:proposed .

unece:name a owl:DatatypeProperty ;
    rdfs:label "name"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The name of an item."@en ;
    skos:exactMatch schema:name ;
    schema:domainIncludes unece:Identifier ;
    schema:rangeIncludes rdf:langString,
        xsd:string ;
    unece:termStatus ts:proposed .

unece:publicInformation a owl:DatatypeProperty ;
    rdfs:label "public information"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "A URL to publicly available information about the registered identity."@en ;
    schema:domainIncludes unece:RegisteredIdentity ;
    schema:rangeIncludes xsd:anyURI ;
    unece:termStatus ts:proposed .

unece:recognizedIn a owl:ObjectProperty ;
    rdfs:label "recognized in"@en ;
    rdfs:comment "The W3C Recognized Entities recognizedIn property, minted here because W3C has published no vocabulary namespace for it. It bridges to a trust framework outside the Verifiable Credentials ecosystem, such as a public key infrastructure. Where the entity is discoverable from its own decentralised identifier through a service endpoint, that mechanism is preferred and this property should be omitted."@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "A list of recognised entities that contains this entity, identified by the URL of the list."@en ;
    schema:domainIncludes unece:RegisteredIdentity ;
    schema:rangeIncludes unece:EntityList ;
    unece:termStatus ts:proposed .

unece:registerType a owl:ObjectProperty ;
    rdfs:label "register type"@en ;
    rdfs:comment "code → registry-type scheme."@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The type of register in which the identity is recorded."@en ;
    schema:domainIncludes unece:RegisteredIdentity ;
    schema:rangeIncludes unece:registry-type ;
    unece:termStatus ts:proposed .

unece:registeredDate a owl:DatatypeProperty ;
    rdfs:label "registered date"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The date on which the identity was registered."@en ;
    schema:domainIncludes unece:RegisteredIdentity ;
    schema:rangeIncludes xsd:date ;
    unece:termStatus ts:proposed .

unece:registeredName a owl:DatatypeProperty ;
    rdfs:label "registered name"@en ;
    rdfs:comment "The same fact as the schema:legalName general property that W3C Recognized Entities lists, so the UNTP JSON-LD context maps registeredName onto schema:legalName rather than minting a parallel term. The UNTP label is retained because \"registered name\" is what a register calls it."@en ;
    rdfs:isDefinedBy unece-mod:core ;
    owl:equivalentProperty schema:legalName ;
    skos:definition "The name of the entity as recorded in the register."@en ;
    schema:domainIncludes unece:RegisteredIdentity ;
    schema:rangeIncludes xsd:string ;
    unece:termStatus ts:proposed .

unece:registrar a owl:ObjectProperty ;
    rdfs:label "registrar"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The party (registry authority) that maintains the register."@en ;
    schema:domainIncludes unece:RegisteredIdentity ;
    schema:rangeIncludes unece:Party ;
    unece:termStatus ts:proposed .

unece:registrationId a owl:ObjectProperty ;
    rdfs:label "registration ID"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "An official registration identifier."@en ;
    schema:domainIncludes unece:Facility,
        unece:Organisation,
        unece:RegisteredIdentity ;
    schema:rangeIncludes unece:Identifier ;
    unece:termStatus ts:proposed .

unece:registrationScope a owl:DatatypeProperty ;
    rdfs:label "registration scope"@en ;
    dcterms:isReplacedBy unece:recognitionScope ;
    rdfs:comment "Superseded by unece:recognitionScope, which separates what an entity is from the mandate of its recognition and carries a name alongside the URL. No UNTP schema references it as of v0.8.0: the identity anchor and the corporate record both moved to unece:recognitionScope. Retained so that v0.7.0 credentials continue to resolve."@en ;
    rdfs:isDefinedBy unece-mod:core ;
    owl:deprecated true ;
    skos:definition "A URL describing the scope of the registration."@en ;
    schema:domainIncludes unece:RegisteredIdentity ;
    schema:rangeIncludes xsd:anyURI ;
    unece:termStatus ts:deprecated .

unece:recognitionScope a owl:ObjectProperty ;
    rdfs:label "recognition scope"@en ;
    rdfs:comment "Supersedes the flat unece:registrationScope URI list, which conflated an entity's legal form with the mandate of its recognition. On a registered identity the register asserts the scope itself; on a party it is the same fact restated so that a corporate record stays readable where no anchor has been issued."@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The scope of a recognition: what a register recognises the entity to be, and under what mandate."@en ;
    schema:domainIncludes unece:Party,
        unece:RegisteredIdentity ;
    schema:rangeIncludes unece:RecognitionScope ;
    unece:termStatus ts:proposed .

unece:RegisteredIdentity a owl:Class ;
    rdfs:label "Registered Identity"@en ;
    rdfs:isDefinedBy unece-mod:core ;
    skos:definition "The registration of a party's identity in an official register (the subject of a Digital Identity Anchor)."@en ;
    unece:objectNature on:entity ;
    unece:termStatus ts:proposed .

