{ "@context": "http://www.w3.org/ns/shex.jsonld", "type": "Schema", "imports": [ "3circRefS123-Icirc" ], "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", "min": 0, "max": 1, "valueExpr": "http://a.example/S2" } ] } } }, { "type": "ShapeDecl", "id": "http://a.example/S2", "shapeExpr": { "type": "Shape", "expression": { "type": "TripleConstraint", "predicate": "http://a.example/p3", "valueExpr": "http://a.example/S3" } } }, { "type": "ShapeDecl", "id": "http://a.example/S3", "shapeExpr": { "type": "Shape", "expression": { "type": "TripleConstraint", "predicate": "http://a.example/p4", "valueExpr": "http://a.example/S1" } } } ] }