@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://opda.org.uk/pdtf/shape/AddressStructuralShape> a sh:NodeShape ;
    sh:targetClass <https://opda.org.uk/pdtf/Address> ;
    sh:property [ sh:path <https://opda.org.uk/pdtf/country> ; sh:datatype xsd:string ; sh:minCount 0 ; sh:maxCount 1 ; sh:severity sh:Violation ; sh:message "Address country MUST be at most one xsd:string value when present (ODR-0015 §3b, S015 Q3 — sh:minCount 0 for graceful degradation of sparse structural fields)." ] ;
    sh:property [ sh:path <https://opda.org.uk/pdtf/line1> ; sh:datatype xsd:string ; sh:minCount 0 ; sh:maxCount 1 ; sh:severity sh:Violation ; sh:message "Address line1 MUST be at most one xsd:string value when present (ODR-0015 §3b, S015 Q3 — sh:minCount 0 for graceful degradation of sparse structural fields)." ] ;
    sh:property [ sh:path <https://opda.org.uk/pdtf/line2> ; sh:datatype xsd:string ; sh:minCount 0 ; sh:maxCount 1 ; sh:severity sh:Violation ; sh:message "Address line2 MUST be at most one xsd:string value when present (ODR-0015 §3b, S015 Q3 — sh:minCount 0 for graceful degradation of sparse structural fields)." ] ;
    sh:property [ sh:path <https://opda.org.uk/pdtf/postcode> ; sh:datatype xsd:string ; sh:minCount 0 ; sh:maxCount 1 ; sh:severity sh:Violation ; sh:message "Address postcode MUST be at most one xsd:string value when present (ODR-0015 §3b, S015 Q3 — sh:minCount 0 for graceful degradation of sparse structural fields)." ] ;
    sh:property [ sh:path <https://opda.org.uk/pdtf/postTown> ; sh:datatype xsd:string ; sh:minCount 0 ; sh:maxCount 1 ; sh:severity sh:Violation ; sh:message "Address postTown MUST be at most one xsd:string value when present (ODR-0015 §3b, S015 Q3 — sh:minCount 0 for graceful degradation of sparse structural fields)." ] .
