{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-itopsplatform-schema.json",
  "title": "Itopsplatform",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-cloud-management-api-openapi.yml#/components/schemas/Itopsplatform",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "itopsplatform"
      ]
    },
    "api_version": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "2.0.0"
      ]
    },
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "title": {
      "type": "string",
      "maxLength": 1023
    },
    "summary": {
      "type": "string",
      "maxLength": 65535
    },
    "integration_url": {
      "type": "string",
      "format": "uri"
    },
    "visibility": {
      "$ref": "#/$defs/ResourceVisibility"
    },
    "endpoint": {
      "$ref": "#/$defs/SecuredEndpoint"
    },
    "configuration": {
      "type": "object",
      "additionalProperties": true
    },
    "credentials": {
      "$ref": "#/$defs/ItOpsCredentials"
    },
    "remote_api_version": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "url": {
      "type": "string",
      "readOnly": true,
      "format": "uri"
    }
  },
  "$defs": {
    "ItOpsCredentials": {
      "type": "object",
      "required": [
        "authentication_type"
      ],
      "properties": {
        "authentication_type": {
          "type": "string",
          "enum": [
            "basic",
            "apikey"
          ]
        }
      },
      "oneOf": [
        {
          "title": "BasicCredentials",
          "required": [
            "authentication_type",
            "username",
            "password"
          ],
          "properties": {
            "authentication_type": {
              "type": "string",
              "enum": [
                "basic"
              ]
            },
            "username": {
              "type": "string"
            },
            "password": {
              "type": "string",
              "format": "password"
            }
          }
        },
        {
          "title": "ApiKeyCredentials",
          "additionalProperties": false,
          "required": [
            "authentication_type",
            "api_key"
          ],
          "properties": {
            "authentication_type": {
              "type": "string",
              "enum": [
                "apikey"
              ]
            },
            "api_key": {
              "type": "string"
            }
          }
        }
      ]
    },
    "ResourceVisibility": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "public",
            "private",
            "custom"
          ]
        },
        "group_urls": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string",
            "format": "uri"
          }
        },
        "org_urls": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "SecuredEndpoint": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": false,
      "required": [
        "endpoint"
      ],
      "properties": {
        "endpoint": {
          "type": "string",
          "format": "uri"
        },
        "tls_client_profile_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      }
    }
  }
}