{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentonair-com/json-schema/agentonair-com-subscribe-request-schema.json",
  "title": "SubscribeRequest",
  "description": "Request to subscribe to episode notifications.",
  "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/SubscribeRequest",
  "properties": {
    "email": {
      "type": "string",
      "title": "Email",
      "description": "Subscriber email address"
    },
    "show_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Show Id",
      "description": "Public show UUID to subscribe to; unknown/non-public ids return a no-write 400"
    },
    "topic": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Topic",
      "description": "Topic category to subscribe to"
    },
    "dry_run": {
      "type": "boolean",
      "title": "Dry Run",
      "description": "When true, validate the subscription request and return a no-write receipt without creating a subscriber row.",
      "default": false
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "email"
  ]
}