{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/treg-to/json-schema/treg-to-tool-in-schema.json",
  "title": "ToolIn",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/treg-to-openapi.json#/components/schemas/ToolIn",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "base_url": {
      "type": "string",
      "title": "Base Url"
    },
    "bundle_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bundle Id"
    },
    "bindings": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bindings"
    },
    "secret_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Secret Id"
    },
    "injector": {
      "type": "string",
      "title": "Injector",
      "default": "env"
    },
    "auth_in": {
      "type": "string",
      "title": "Auth In",
      "default": "header"
    },
    "auth_name": {
      "type": "string",
      "title": "Auth Name",
      "default": "Authorization"
    },
    "auth_format": {
      "type": "string",
      "title": "Auth Format",
      "default": "Bearer {secret}"
    },
    "secret_field": {
      "type": "string",
      "title": "Secret Field",
      "default": "access_token"
    },
    "health_check": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Health Check"
    },
    "cli": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cli"
    },
    "project": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Project"
    }
  },
  "type": "object",
  "required": [
    "name",
    "base_url"
  ]
}