{ "@context": "http://www.w3.org/ns/shex.jsonld", "type": "Schema", "shapes": [ { "type": "ShapeDecl", "id": "http://a.example/S1", "shapeExpr": { "type": "ShapeAnd", "shapeExprs": [ { "type": "Shape", "expression": { "type": "TripleConstraint", "predicate": "http://a.example/p1", "valueExpr": { "type": "NodeConstraint", "nodeKind": "literal", "minlength": 4 } } }, { "type": "Shape", "expression": { "type": "TripleConstraint", "predicate": "http://a.example/p1", "valueExpr": { "type": "NodeConstraint", "nodeKind": "literal", "maxlength": 5 } } }, { "type": "Shape", "expression": { "type": "TripleConstraint", "predicate": "http://a.example/p1", "valueExpr": { "type": "NodeConstraint", "nodeKind": "literal", "pattern": "(ab)+" } } } ] } } ] }