Skip to content

TimeAdvancedEvent

The clock advanced (referee bookkeeping); rounds_total is the new position.

Full documentation: TimeAdvancedEvent. Wire type: time_advanced.

Default visibility: referee

Message codes: session.time.advanced

JSON Schema

{
  "$defs": {
    "Visibility": {
      "description": "Who may see an event.\n\nThe wire values are `\"player\"` and `\"referee\"` \u2014 lowercase, serialized into every\nevent; changing them is a `schema_version` bump.",
      "enum": [
        "player",
        "referee"
      ],
      "title": "Visibility",
      "type": "string"
    }
  },
  "description": "The clock advanced (referee bookkeeping); `rounds_total` is the new position.",
  "properties": {
    "code": {
      "default": "session.time.advanced",
      "title": "Code",
      "type": "string"
    },
    "visibility": {
      "$ref": "#/$defs/Visibility",
      "default": "referee"
    },
    "event_type": {
      "const": "time_advanced",
      "default": "time_advanced",
      "title": "Event Type",
      "type": "string"
    },
    "n": {
      "title": "N",
      "type": "integer"
    },
    "unit": {
      "title": "Unit",
      "type": "string"
    },
    "rounds_total": {
      "title": "Rounds Total",
      "type": "integer"
    }
  },
  "required": [
    "n",
    "unit",
    "rounds_total"
  ],
  "title": "TimeAdvancedEvent",
  "type": "object"
}