Property Node
Key-value table
Example
{
"@type": "sh:PropertyShape",
"sh:path": "schema:address",
"sh:minCount": 1,
"sh:maxCount": 1,
"sh:order": 12,
"rdfs:comment": "This Property is required. Its value must be either a String or a PostalAddress entity.",
"sh:or": [
...RangeNodes...
]
},
{
"@type": "sh:PropertyShape",
"sh:path": "schema:name",
"sh:or": [
{
"sh:datatype": "xsd:string",
"sh:minLength": 3
}
]
},
{
"@type": "sh:PropertyShape",
"sh:path": "schema:name",
"sh:datatype": "xsd:string",
"sh:minLength": 3
}Property-pair constraints
Example
Last updated