{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/0latency-ai/json-schema/0latency-ai-subscription-response-schema.json",
  "title": "SubscriptionResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/0latency-ai-openapi.json#/components/schemas/SubscriptionResponse",
  "properties": {
    "has_subscription": {
      "type": "boolean",
      "title": "Has Subscription"
    },
    "plan": {
      "type": "string",
      "title": "Plan"
    },
    "plan_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Plan Name"
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "current_period_start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period Start"
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End"
    },
    "stripe_subscription_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stripe Subscription Id"
    }
  },
  "type": "object",
  "required": [
    "has_subscription",
    "plan"
  ]
}