{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usewrit-app/json-schema/usewrit-app-ws-ticket-schema.json",
  "title": "WsTicket",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usewrit-app-ws-ticket-api-openapi.yml#/components/schemas/WsTicket",
  "type": "object",
  "required": [
    "ticket",
    "expires_in_secs"
  ],
  "properties": {
    "ticket": {
      "type": "string",
      "description": "Single-use `wtk_…` ticket. Open the socket with `?ticket=<wtk_…>`."
    },
    "expires_in_secs": {
      "type": "integer",
      "description": "Ticket time-to-live in seconds."
    }
  }
}