{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-register-capability-response-schema.json",
  "title": "RegisterCapabilityResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-capability-api-openapi.yml#/components/schemas/RegisterCapabilityResponse",
  "type": "object",
  "properties": {
    "capabilityName": {
      "type": "string",
      "description": "The name of the registered capability."
    },
    "applicationId": {
      "type": "string",
      "description": "The unique identifier of the OpenSearch UI application."
    },
    "status": {
      "type": "string",
      "enum": [
        "creating",
        "create_failed",
        "active",
        "updating",
        "update_failed",
        "deleting",
        "delete_failed"
      ],
      "description": "The current status of the capability. Possible values: creating, create_failed, active, updating, update_failed, deleting, delete_failed."
    },
    "capabilityConfig": {
      "$ref": "#/$defs/CapabilityBaseResponseConfig"
    }
  },
  "$defs": {
    "AIConfig": {
      "type": "object",
      "properties": {}
    },
    "CapabilityBaseResponseConfig": {
      "type": "object",
      "properties": {
        "aiConfig": {
          "$ref": "#/$defs/AIConfig"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}