{
  "$id": "https://www.amwa.tv/event_and_tally/event_object.json",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "description": "Describes an event with object payload",
  "title": "Object event",
  "allOf": [
    { "$ref": "event_core.json" },
    {
      "type": "object",
      "required": [
        "event_type",
        "payload"
      ],
      "properties": {
        "event_type": {
          "description": "Event type",
          "type": "string",
          "pattern": "^object(\\/[^\\s\\/]+)*$"
        },
        "payload": {
          "description": "Object payload",
          "type": "object"
        }
      }
    }
  ]
}
