{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-generated-api-schema.json",
  "title": "GeneratedAPI",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-reconstructed-apis-api-openapi.yml#/components/schemas/GeneratedAPI",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "generated_api"
      ]
    },
    "api_version": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "2.0.0"
      ]
    },
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "version": {
      "type": "string",
      "maxLength": 255
    },
    "title": {
      "type": "string",
      "maxLength": 1023
    },
    "summary": {
      "type": "string",
      "maxLength": 65535
    },
    "api": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "swagger": {
          "type": "string"
        },
        "info": {
          "type": "object",
          "additionalProperties": true,
          "required": [
            "title",
            "version"
          ],
          "properties": {
            "title": {
              "type": "string"
            },
            "x-ibm-name": {
              "type": "string"
            },
            "version": {
              "type": "string"
            },
            "x-ibm-summary": {
              "type": "string"
            }
          }
        }
      }
    },
    "api_type": {
      "type": "string",
      "enum": [
        "rest",
        "wsdl",
        "graphql",
        "asyncapi"
      ]
    },
    "oai_version": {
      "type": "string",
      "enum": [
        "openapi2",
        "openapi3"
      ]
    },
    "document_specification": {
      "type": "string",
      "enum": [
        "asyncapi2.0",
        "asyncapi2.1",
        "openapi2",
        "openapi3"
      ]
    },
    "data_source": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "source": {
          "type": "string"
        },
        "collector_type": {
          "type": "string"
        },
        "source_address": {
          "type": "string"
        },
        "source_id": {
          "type": "string"
        },
        "options": {
          "type": "object",
          "additionalProperties": true
        }
      }
    },
    "source": {
      "type": "string"
    },
    "source_type": {
      "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"
    }
  }
}