{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/algenta-ai/json-schema/algenta-ai-capability-provider-response-schema.json",
  "title": "CapabilityProviderResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/algenta-ai-capability-plane-api-openapi.yml#/components/schemas/CapabilityProviderResponse",
  "properties": {
    "provider_id": {
      "type": "string",
      "title": "Provider Id"
    },
    "provider_type": {
      "$ref": "#/$defs/ProviderType"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "docs_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Docs Url"
    },
    "auth_schema": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Auth Schema"
    },
    "certification_summary": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Certification Summary"
    },
    "policy_summary": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Policy Summary"
    },
    "supported_execution_owners": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Supported Execution Owners"
    },
    "install_metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Install Metadata"
    },
    "customer_metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Customer Metadata"
    },
    "active": {
      "type": "boolean",
      "title": "Active"
    },
    "profiles": {
      "items": {
        "$ref": "#/$defs/CapabilityProviderProfileResponse"
      },
      "type": "array",
      "title": "Profiles"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "provider_id",
    "provider_type",
    "name",
    "active"
  ],
  "$defs": {
    "BindingScope": {
      "type": "string",
      "enum": [
        "user",
        "workspace",
        "organization"
      ],
      "title": "BindingScope"
    },
    "CapabilityProviderProfileResponse": {
      "properties": {
        "profile_id": {
          "type": "string",
          "title": "Profile Id"
        },
        "provider_id": {
          "type": "string",
          "title": "Provider Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "auth_kind": {
          "type": "string",
          "title": "Auth Kind"
        },
        "default_execution_owner": {
          "$ref": "#/$defs/ExecutionOwner"
        },
        "binding_scope_default": {
          "$ref": "#/$defs/BindingScope"
        },
        "supported_binding_scopes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Supported Binding Scopes"
        },
        "profile_metadata": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Profile Metadata"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "profile_id",
        "provider_id",
        "name",
        "auth_kind",
        "default_execution_owner",
        "binding_scope_default"
      ],
      "title": "CapabilityProviderProfileResponse"
    },
    "ExecutionOwner": {
      "type": "string",
      "enum": [
        "algenta_managed",
        "client_managed"
      ],
      "title": "ExecutionOwner"
    },
    "ProviderType": {
      "type": "string",
      "enum": [
        "data_connector",
        "mcp_provider",
        "skill_pack",
        "native_tool_pack",
        "runtime_library_pack"
      ],
      "title": "ProviderType"
    }
  }
}