{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-canonical-support-plan-info-schema.json",
  "title": "Canonical Support Plan Info",
  "description": "The status of all Canonical support plans for a subscription.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-addonstatus-api-openapi.yml#/components/schemas/CanonicalSupportPlanInfo",
  "type": "array",
  "items": {
    "$ref": "#/$defs/CanonicalSupportPlanInfoDefinition"
  },
  "x-ms-identifiers": [],
  "$defs": {
    "CanonicalSupportPlanInfoDefinition": {
      "type": "object",
      "description": "Definition object with the properties of a canonical plan",
      "properties": {
        "supportPlanType": {
          "type": "string",
          "description": "Support plan type.",
          "enum": [
            "essential",
            "standard",
            "advanced"
          ],
          "x-ms-enum": {
            "name": "SupportPlanType",
            "modelAsString": true
          }
        },
        "enabled": {
          "type": "boolean",
          "description": "Flag to indicate if this support plan type is currently enabled for the subscription."
        },
        "oneTimeCharge": {
          "type": "string",
          "description": "The one time charge status for the subscription.",
          "enum": [
            "no",
            "onEnabled",
            "onReenabled"
          ],
          "x-ms-enum": {
            "name": "OneTimeCharge",
            "modelAsString": true
          }
        }
      }
    }
  }
}