{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/looot/json-schema/looot-register-direct-endpoint-schema.json",
  "title": "RegisterDirectEndpoint",
  "description": "provider is optional when :providerId already exists; required (displayName at minimum) when it does not. See DirectEndpointRegistrationInputSchema in src/import/direct-endpoint-registration-service.ts for the full endpoint shape (capability, name, description, executionMode, eligibility, authType, price, and optionally inputSchema/requestBinding/uiSchema/httpContract).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/looot-providers-api-openapi.yml#/components/schemas/RegisterDirectEndpoint",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "endpoint"
  ],
  "properties": {
    "provider": {
      "type": "object",
      "description": "{ displayName, categoryId?, homepageUrl?, docsUrl?, region? }"
    },
    "endpoint": {
      "type": "object",
      "description": "{ endpointId, capability, name, description, executionMode, eligibility, authType, price, inputSchema?, requestBinding?, uiSchema?, httpContract?, examples?, effectClassification? }"
    },
    "publishToPublicCatalog": {
      "type": "boolean"
    },
    "autoCapability": {
      "type": "boolean",
      "description": "When endpoint.capability is not a known canonical job id or alias, register under the top capabilitySuggestions match once its score clears the confidence threshold, instead of the exact slug submitted. Default false."
    }
  }
}