{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grafomem-com/json-schema/grafomem-com-subscription-response-schema.json",
  "title": "SubscriptionResponse",
  "description": "Current subscription status.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grafomem-com-cloud-management-api-openapi.yml#/components/schemas/SubscriptionResponse",
  "properties": {
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id"
    },
    "plan": {
      "type": "string",
      "title": "Plan"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "stripe_subscription_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stripe Subscription Id"
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End"
    }
  },
  "type": "object",
  "required": [
    "tenant_id",
    "plan",
    "status"
  ]
}