IATA-Cargo / ONE-Record

This repository contains the documentation & specs for the ONE Record standard.
https://onerecord.iata.org
MIT License
99 stars 51 forks source link

waybillNumber [ xsd:pattern "[-9]+" incorrect, could be "[-0-9]+" #213

Closed chewjin closed 5 months ago

chewjin commented 8 months ago

https://onerecord.iata.org/ns/cargo#waybillNumber

:waybillNumber rdf:type owl:DatatypeProperty ; rdfs:domain owl:Thing ; rdfs:range [ rdf:type rdfs:Datatype ; owl:onDatatype xsd:string ; owl:withRestrictions ( [ xsd:pattern "[-9]+" ] ) ] ; rdfs:comment "House or Master Waybill unique identifier"@en ; rdfs:label "waybillNumber"@en .

NiclasScheiber commented 8 months ago

You are correct, although I suggest to remove the pattern altogether since House Waybills may use alphanumeric characters or change to:

[A-Z0-9]+