{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/componecat-ai/json-schema/componecat-ai-license-history-resource-schema.json",
  "title": "LicenseHistoryResource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/componecat-ai-licensing-api-openapi.yml#/components/schemas/LicenseHistoryResource",
  "required": [
    "planId",
    "planName",
    "effectiveAt",
    "endedAt",
    "changeSource"
  ],
  "type": "object",
  "properties": {
    "planId": {
      "type": "string"
    },
    "planName": {
      "type": "string"
    },
    "effectiveAt": {
      "type": "string",
      "format": "date-time"
    },
    "endedAt": {
      "type": [
        "null",
        "string"
      ],
      "format": "date-time"
    },
    "changeSource": {
      "type": "string"
    }
  }
}