{
  "@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,
        "annotations": [
          {
            "type": "Annotation",
            "predicate": "http://a.example/annot1",
            "object": {
              "value": "1"
            }
          },
          {
            "type": "Annotation",
            "predicate": "http://a.example/annot2",
            "object": {
              "value": "2"
            }
          },
          {
            "type": "Annotation",
            "predicate": "http://a.example/annot3",
            "object": {
              "value": "3"
            }
          }
        ],
        "semActs": [
          {
            "type": "SemAct",
            "name": "http://shex.io/extensions/Test/",
            "code": " print(\"group semAct 1\") "
          },
          {
            "type": "SemAct",
            "name": "http://shex.io/extensions/Test/",
            "code": " print(\"group semAct 2\") "
          }
        ]
      }
    } }
  ]
}
