{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-openshift/json-schema/red-hat-openshift-subscription-patch-request-schema.json",
  "title": "SubscriptionPatchRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-openshift-ocm-accounts-mgmt-openapi.yml#/components/schemas/SubscriptionPatchRequest",
  "properties": {
    "billing_expiration_date": {
      "format": "date-time",
      "type": "string"
    },
    "cloud_account_id": {
      "type": "string"
    },
    "cloud_provider_id": {
      "type": "string"
    },
    "cluster_billing_model": {
      "enum": [
        "standard",
        "marketplace",
        "marketplace-aws",
        "marketplace-azure",
        "marketplace-rhm",
        "marketplace-gcp"
      ],
      "type": "string"
    },
    "cluster_id": {
      "type": "string"
    },
    "console_url": {
      "type": "string"
    },
    "consumer_uuid": {
      "type": "string"
    },
    "cpu_total": {
      "type": "integer"
    },
    "creator_id": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "external_cluster_id": {
      "type": "string"
    },
    "managed": {
      "type": "boolean"
    },
    "organization_id": {
      "type": "string"
    },
    "plan_id": {
      "type": "string"
    },
    "product_bundle": {
      "enum": [
        "Openshift",
        "JBoss-Middleware",
        "IBM-CloudPak"
      ],
      "type": "string"
    },
    "provenance": {
      "type": "string"
    },
    "region_id": {
      "type": "string"
    },
    "released": {
      "type": "boolean"
    },
    "service_level": {
      "enum": [
        "L1-L3",
        "L3-only"
      ],
      "type": "string"
    },
    "socket_total": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "support_level": {
      "enum": [
        "Eval",
        "Standard",
        "Premium",
        "Self-Support",
        "None",
        "SupportedByIBM"
      ],
      "type": "string"
    },
    "system_units": {
      "enum": [
        "Cores/vCPU",
        "Sockets"
      ],
      "type": "string"
    },
    "trial_end_date": {
      "format": "date-time",
      "type": "string"
    },
    "usage": {
      "enum": [
        "Production",
        "Development/Test",
        "Disaster Recovery",
        "Academic"
      ],
      "type": "string"
    }
  },
  "type": "object"
}