{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/transcript-land/json-schema/transcript-land-subscription-response-schema.json",
  "title": "SubscriptionResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/transcript-land-openapi.json#/components/schemas/SubscriptionResponse",
  "properties": {
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "limit_seconds": {
      "type": "integer",
      "title": "Limit Seconds"
    },
    "used_seconds": {
      "type": "integer",
      "title": "Used Seconds"
    },
    "cancel_at_period_end": {
      "type": "boolean",
      "title": "Cancel At Period End",
      "default": false
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End"
    },
    "pending_tier": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pending Tier"
    },
    "pending_change_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pending Change At"
    },
    "payment_state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment State"
    }
  },
  "type": "object",
  "required": [
    "tier",
    "limit_seconds",
    "used_seconds"
  ]
}