{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/componecat-ai/json-schema/componecat-ai-create-catalog-interface-request-schema.json",
  "title": "CreateCatalogInterfaceRequest",
  "description": "Create interface request body.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/componecat-ai-openapi.yml#/components/schemas/CreateCatalogInterfaceRequest",
  "required": [
    "name"
  ],
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "default": "Api"
    },
    "protocol": {
      "type": [
        "null",
        "string"
      ]
    },
    "url": {
      "type": [
        "null",
        "string"
      ]
    },
    "healthCheckUrl": {
      "type": [
        "null",
        "string"
      ]
    },
    "authMethod": {
      "type": [
        "null",
        "string"
      ]
    },
    "specUrl": {
      "type": [
        "null",
        "string"
      ]
    },
    "labels": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string"
      }
    },
    "visibility": {
      "type": "string",
      "default": "Internal"
    },
    "rateLimit": {
      "type": [
        "null",
        "string"
      ]
    },
    "executableName": {
      "type": [
        "null",
        "string"
      ]
    },
    "installMethod": {
      "type": [
        "null",
        "string"
      ]
    },
    "installCommand": {
      "type": [
        "null",
        "string"
      ]
    },
    "version": {
      "type": [
        "null",
        "string"
      ]
    },
    "documentationUrl": {
      "type": [
        "null",
        "string"
      ]
    },
    "sourceUrl": {
      "type": [
        "null",
        "string"
      ]
    },
    "transportType": {
      "type": [
        "null",
        "string"
      ]
    },
    "command": {
      "type": [
        "null",
        "string"
      ]
    },
    "toolCount": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ],
      "format": "int32"
    },
    "resourceCount": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ],
      "format": "int32"
    },
    "sharePlatform": {
      "type": [
        "null",
        "string"
      ]
    },
    "shareName": {
      "type": [
        "null",
        "string"
      ]
    },
    "shareScope": {
      "type": [
        "null",
        "string"
      ]
    },
    "listingUrl": {
      "type": [
        "null",
        "string"
      ]
    },
    "registryType": {
      "type": [
        "null",
        "string"
      ]
    },
    "packageName": {
      "type": [
        "null",
        "string"
      ]
    },
    "registryUrl": {
      "type": [
        "null",
        "string"
      ]
    }
  }
}