{ "$id": "http://localhost/match/state.json", "type": "object", "properties": { "messageType": { "const": "matchState" }, "messageContent": { "type": "object", "properties": { "history": { "type": "array", "items": { "anyOf": [ { "$ref": "./table.json" }, { "$ref": "./action.json" } ] } } }, "required": [ "history" ], "additionalProperties": false } } }