shex-test
Version:
Shape Expressions library tests.
35 lines (34 loc) • 761 B
JSON
{
"@context": "http://www.w3.org/ns/shex.jsonld",
"type": "Schema",
"shapes": [
{
"id": "http://a.example.org/S",
"type": "Shape",
"expression": {
"type": "EachOf",
"expressions": [
{
"type": "EachOf",
"expressions": [
{
"type": "TripleConstraint",
"predicate": "http://a.example/a"
},
{
"type": "TripleConstraint",
"predicate": "http://a.example/b"
}
],
"min": 0,
"max": 1
},
{
"type": "TripleConstraint",
"predicate": "http://a.example/c"
}
]
}
}
]
}