UNPKG

shex-test

Version:

Shape Expressions library tests.

31 lines (30 loc) 664 B
{ "@context": "http://www.w3.org/ns/shex.jsonld", "type": "Schema", "shapes": [ { "type": "ShapeDecl", "id": "http://a.example/S1", "shapeExpr": { "type": "Shape", "expression": { "type": "EachOf", "expressions": [ { "type": "TripleConstraint", "predicate": "http://a.example/p1" }, { "type": "TripleConstraint", "predicate": "http://a.example/p2" }, { "type": "TripleConstraint", "predicate": "http://a.example/p3" } ], "min": 2, "max": 3 } } } ] }