{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/archestra/json-schema/archestra-user-config-field-input-schema.json",
  "title": "UserConfigFieldInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/archestra-mcp-catalog-api-openapi.yml#/components/schemas/UserConfigFieldInput",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "string",
        "number",
        "boolean",
        "directory",
        "file"
      ]
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "promptOnInstallation": {
      "type": "boolean"
    },
    "required": {
      "type": "boolean"
    },
    "default": {
      "allOf": [
        {
          "$ref": "#/$defs/UserConfigFieldDefaultInput"
        }
      ]
    },
    "multiple": {
      "type": "boolean"
    },
    "sensitive": {
      "type": "boolean"
    },
    "min": {
      "type": "number"
    },
    "max": {
      "type": "number"
    },
    "headerName": {
      "type": "string"
    },
    "valuePrefix": {
      "type": "string"
    }
  },
  "required": [
    "type",
    "title",
    "description"
  ],
  "$defs": {
    "UserConfigFieldDefaultInput": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    }
  }
}