{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gmi-cloud/json-schema/gmi-cloud-list-idcs-response-schema.json",
  "title": "listIDCsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gmi-cloud-idcs-api-openapi.yml#/components/schemas/listIDCsResponse",
  "type": "object",
  "x-go-name": "listIDCsResponse",
  "properties": {
    "idcs": {
      "type": "array",
      "description": "A list of IDCs.",
      "items": {
        "$ref": "#/$defs/idcInfo"
      }
    }
  },
  "required": [
    "idcs"
  ],
  "$defs": {
    "idcInfo": {
      "type": "object",
      "description": "Information about the IDC.",
      "properties": {
        "idcId": {
          "type": "string",
          "description": "The unique identifier for the IDC"
        },
        "name": {
          "type": "string",
          "description": "The IDC name."
        },
        "country": {
          "type": "string",
          "description": "The country where the IDC is located, represented by the ISO 3166-1 alpha-2 country code."
        },
        "countrySubdivision": {
          "type": "string",
          "description": "The subdivision of the country where the IDC is located, represented by the ISO 3166-2 code."
        },
        "status": {
          "type": "string",
          "description": "The IDC status.",
          "enum": [
            "available",
            "full",
            "maintenance"
          ],
          "x-go-type": "ceCommonLibTypes.IdsIDCStatus",
          "x-go-type-import": {
            "path": "us-central1-go.pkg.dev/gmi-cloud-cicd/go-dev/ce-common-lib-go/pkg/types",
            "name": "ceCommonLibTypes"
          }
        }
      },
      "required": [
        "idcId",
        "name",
        "country",
        "countrySubdivision",
        "status"
      ]
    }
  }
}