{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/main/json-schema/wso2-aiservice-provider-request-schema.json",
  "title": "AIServiceProvider",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wso2-aiserviceprovider-api-openapi.yml#/components/schemas/AIServiceProviderRequest",
  "required": [
    "name",
    "apiVersion",
    "configurations",
    "apiDefinition"
  ],
  "type": "object",
  "properties": {
    "name": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "apiVersion": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "description": {
      "maxLength": 1023,
      "type": "string"
    },
    "multipleModelProviderSupport": {
      "type": "string",
      "description": "Indicates whether the AI Service Provider supports multiple model providers.\nIf true, the AI Service Provider can support multiple model providers.\nIf false, the AI Service Provider supports only one model provider.\n",
      "default": "false"
    },
    "configurations": {
      "type": "string",
      "description": "LLM Provider configurations"
    },
    "apiDefinition": {
      "type": "string",
      "description": "OpenAPI specification",
      "format": "binary"
    },
    "modelProviders": {
      "type": "string"
    }
  }
}