https://w3id.org/rec#PostalAddress
Instances of rec:PostalAddress can have the following properties:
| PROPERTY | TYPE | DESCRIPTION | RANGE |
|---|
By the associated SHACL property shapes, instances of rec:PostalAddress can have the following properties:
| PROPERTY | PROPERTY TYPE | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS | GLOBAL RANGE |
|---|---|---|---|---|---|---|---|
| rec:PostalAddress | |||||||
| rec:addressLine1 | owl:DatatypeProperty | address line 1 |
0 | 1 | xsd:string | -- | |
| rec:addressLine2 | owl:DatatypeProperty | address line 2 |
0 | 1 | xsd:string | -- | |
| rec:city | owl:DatatypeProperty | city |
0 | 1 | xsd:string | -- | |
| rec:country | owl:DatatypeProperty | country The country, e.g., USA, Sweden, Argentina, or optionally a two-letter ISO 3166-1 alpha-2 country code, e.g., "SE", "US", etc. |
0 | 1 | xsd:string | -- | |
| rec:postalCode | owl:DatatypeProperty | postal code |
0 | 1 | xsd:string | -- | |
| rec:region | owl:DatatypeProperty | region |
0 | 1 | xsd:string | -- | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
rec:PostalAddress a rdfs:Class,
sh:NodeShape ;
rdfs:label "Postal address"^^xsd:string ;
rdfs:subClassOf rec:Information ;
sh:property [ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:name "address line 1"^^xsd:string ;
sh:path rec:addressLine1 ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:name "postal code"^^xsd:string ;
sh:path rec:postalCode ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:description "The country, e.g., USA, Sweden, Argentina, or optionally a two-letter ISO 3166-1 alpha-2 country code, e.g., \"SE\", \"US\", etc."^^xsd:string ;
sh:maxCount 1 ;
sh:name "country"^^xsd:string ;
sh:path rec:country ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:name "region"^^xsd:string ;
sh:path rec:region ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:name "city"^^xsd:string ;
sh:path rec:city ],
[ a sh:PropertyShape ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:name "address line 2"^^xsd:string ;
sh:path rec:addressLine2 ] .