{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentonair-com/json-schema/agentonair-com-subscribe-response-schema.json",
  "title": "SubscribeResponse",
  "description": "Subscription confirmation.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentonair-com-subscribers-api-openapi.yml#/components/schemas/SubscribeResponse",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status"
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "scope": {
      "type": "string",
      "title": "Scope",
      "description": "Subscription scope: network when show_id/topic are omitted, show when show_id is set, or topic when topic is set."
    },
    "show_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Show Id",
      "description": "Show UUID for show-scoped subscriptions; omitted otherwise."
    },
    "topic": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Topic",
      "description": "Topic id for topic-scoped subscriptions; omitted otherwise."
    },
    "already_subscribed": {
      "type": "boolean",
      "title": "Already Subscribed",
      "description": "True when the exact subscription scope was already active and no new row was created.",
      "default": false
    },
    "writes_performed": {
      "type": "boolean",
      "title": "Writes Performed",
      "description": "False for no-write dry runs and idempotent exact-scope repeats that did not create a new subscription row.",
      "default": true
    },
    "dry_run": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dry Run",
      "description": "True when the request used dry_run=true and no subscriber row was created."
    }
  },
  "type": "object",
  "required": [
    "status",
    "message",
    "scope"
  ]
}