{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-configured-gateway-service-schema.json",
  "title": "ConfiguredGatewayService",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-catalog-settings-api-openapi.yml#/components/schemas/ConfiguredGatewayService",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "configured_gateway_service"
      ]
    },
    "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
    },
    "scope": {
      "type": "string"
    },
    "gateway_service_url": {
      "type": "string",
      "format": "uri"
    },
    "integration_url": {
      "type": "string",
      "format": "uri"
    },
    "gateway_service_type": {
      "type": "string"
    },
    "owned": {
      "type": "boolean"
    },
    "configuration": {
      "type": "object"
    },
    "availability_zone_url": {
      "type": "string",
      "format": "uri"
    },
    "endpoint": {
      "type": "string",
      "format": "uri"
    },
    "api_endpoint_base": {
      "type": "string"
    },
    "catalog_base": {
      "type": "string"
    },
    "sni": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "host": {
            "type": "string"
          },
          "tls_server_profile_url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "oauth_shared_secret": {
      "type": "string",
      "format": "password"
    },
    "state": {
      "type": "string",
      "enum": [
        "pending",
        "ready"
      ]
    },
    "overall_state": {
      "type": "string",
      "enum": [
        "pending",
        "ready"
      ]
    },
    "tls_client_profile_url": {
      "type": "string",
      "format": "uri"
    },
    "analytics_service_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "gateway_version": {
      "type": "string"
    },
    "domain_name": {
      "type": "string"
    },
    "managed_by": {
      "type": "string",
      "enum": [
        "apim",
        "gateway"
      ]
    },
    "product_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "configured_oauth_provider_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "configured_jwt_provider_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "api_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "catalog_setting_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "webhook_url": {
      "type": "string",
      "format": "uri"
    },
    "catalog_webhook_url": {
      "type": "string",
      "format": "uri"
    },
    "webhook_state": {
      "type": "string"
    },
    "catalog_webhook_state": {
      "type": "string"
    },
    "space_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "org_url": {
      "type": "string",
      "format": "uri"
    },
    "catalog_url": {
      "type": "string",
      "format": "uri"
    },
    "space_url": {
      "type": "string",
      "format": "uri"
    },
    "gateway_processing_status": {
      "$ref": "#/$defs/SubscriberProcessingStatus"
    },
    "events": {
      "type": "object",
      "properties": {
        "sent_events": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SubscriberEvent"
          }
        },
        "queued_events": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SubscriberEvent"
          }
        },
        "failed_events": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SubscriberEventStatus"
          }
        }
      }
    },
    "tls_server_profile_ca": {
      "type": "string"
    },
    "service_version": {
      "type": [
        "string",
        "null"
      ]
    },
    "communication_kind": {
      "type": "string",
      "enum": [
        "external",
        "internal_svc"
      ]
    },
    "communication_to_analytics_kind": {
      "type": "string",
      "enum": [
        "external",
        "internal_svc"
      ]
    },
    "communication_to_analytics_with_jwt": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "ldap_cxn_pool": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "idle_timeout": {
          "type": "integer",
          "minimum": 1,
          "maximum": 86400
        },
        "max_pool_size": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2000
        },
        "document_cache_size": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2147483647
        }
      }
    },
    "service_supported_features": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ai_gateway_enabled": {
      "type": "boolean"
    },
    "cipher_suites": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "disabled_protocols": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "opentelemetry_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "dp_nano_gw_limits": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "cpu": {
          "type": "string"
        },
        "memory": {
          "type": "string"
        },
        "replicas": {
          "type": "integer",
          "minimum": 0,
          "maximum": 128
        },
        "allow_overrides": {
          "type": "boolean"
        },
        "hpa": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "min_replicas": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "max_replicas": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          }
        }
      }
    },
    "dp_nano_gw_configuration": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "hpa": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "min_replicas": {
              "type": "integer",
              "minimum": 1
            },
            "max_replicas": {
              "type": "integer",
              "minimum": 2
            },
            "target_cpu": {
              "type": "integer",
              "minimum": 1
            },
            "target_memory": {
              "type": "integer",
              "minimum": 1
            },
            "to_zero_time": {
              "type": "integer",
              "minimum": 0
            },
            "from_zero_replicas": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          }
        }
      }
    },
    "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": {
    "SubscriberEvent": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "readOnly": true,
          "enum": [
            "subscriber_event"
          ]
        },
        "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
        },
        "scope": {
          "type": "string"
        },
        "event": {
          "type": "string"
        },
        "filter": {
          "type": "string"
        },
        "event_type": {
          "type": "string",
          "enum": [
            "create",
            "update",
            "delete"
          ]
        },
        "payload_sent": {
          "type": "string"
        },
        "payload": {
          "type": "object"
        },
        "generated_at": {
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "queued",
            "sent",
            "failed"
          ]
        },
        "retries": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2147483647
        },
        "request_id": {
          "type": "string"
        },
        "ids_in_payload": {
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "resourceUrl": {
                "type": "string",
                "format": "uri-reference"
              },
              "resourceType": {
                "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"
        }
      }
    },
    "SubscriberEventStatus": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "event_id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "filter": {
          "type": "string"
        },
        "generated_at": {
          "type": "string"
        },
        "processed_at": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "SubscriberProcessingStatus": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "service_state": {
          "type": "string",
          "enum": [
            "green",
            "orange",
            "red"
          ]
        },
        "service_up_to_date": {
          "type": "boolean"
        },
        "last_processed_event": {
          "type": "object",
          "properties": {
            "event_id": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "filter": {
              "type": "string"
            },
            "generated_at": {
              "type": "string"
            },
            "processed_at": {
              "type": "string"
            },
            "event_processing_time": {
              "type": "integer"
            },
            "elapsed_time_since_last_processed_event": {
              "type": "integer"
            }
          }
        },
        "first_failed_event": {
          "$ref": "#/$defs/SubscriberEventStatus"
        },
        "number_of_outstanding_sent_events": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2147483647
        },
        "last_sent_event": {
          "type": "object",
          "properties": {
            "event_id": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "sent_at": {
              "type": "string"
            },
            "generated_at": {
              "type": "string"
            }
          }
        },
        "number_of_outstanding_queued_events": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2147483647
        }
      }
    }
  }
}