{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.sportsnip.com/schemas/v1/reset.json",
  "title": "SportSnip reset (v1)",
  "description": "The scoreboard went back to a new game's score: games can be rebuilt from these.",
  "type": "object",
  "required": [
    "event_id",
    "stream_s",
    "to"
  ],
  "properties": {
    "event_id": {
      "type": "string",
      "format": "uuid"
    },
    "stream_s": {
      "type": [
        "number",
        "null"
      ],
      "description": "Seconds from the start of the event's recording"
    },
    "to": {
      "type": "object",
      "required": [
        "home",
        "away"
      ],
      "properties": {
        "home": {
          "type": "integer",
          "minimum": 0
        },
        "away": {
          "type": "integer",
          "minimum": 0
        }
      },
      "additionalProperties": false
    }
  }
}
