# ProductionFacilityDeclared — a product passport names its producing facility.

@prefix sh:     <http://www.w3.org/ns/shacl#> .
@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 unece:  <https://test.uncefact.org/vocabulary/> .
@prefix gv:     <https://vocabulary.uncefact.org/untp/shapes/> .

gv:ProductionFacilityDeclared
    a owl:Ontology, sh:NodeShape ;
    owl:versionInfo "0.8.0" ;
    rdfs:label "Production facility declared"@en ;
    rdfs:comment "A product passport must identify the facility where the product was made. Facility-level claims cannot be checked against the passport unless the producing facility is identified."@en ;
    rdfs:seeAlso <https://untp.unece.org/docs/specification/DigitalProductPassport> ;
    sh:declare
        [ sh:prefix "unece" ; sh:namespace "https://test.uncefact.org/vocabulary/"^^xsd:anyURI ] ;
    sh:targetClass unece:Product ;
    sh:property gv:ProductionFacilityDeclared-producedAtFacility .

gv:ProductionFacilityDeclared-producedAtFacility
    a sh:PropertyShape ;
    sh:path unece:producedAtFacility ;
    sh:minCount 1 ;
    sh:nodeKind sh:IRI ;
    sh:message "This product passport does not identify the facility where the product was produced."@en .
