{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mammoth-io/json-schema/mammoth-io-create-agent-request-schema.json",
  "title": "CreateAgentRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mammoth-io-agent-access-api-openapi.yml#/components/schemas/CreateAgentRequest",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "access",
        "change",
        "feedback"
      ]
    },
    "project_id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "minimum": 1
    },
    "file_id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "minimum": 1
    },
    "asked": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "maxLength": 200,
      "minLength": 1
    },
    "text": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1
    },
    "session_id": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "minLength": 1
    },
    "turn_id": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "minLength": 1
    },
    "dashboard_id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "minimum": 1
    }
  },
  "type": "object",
  "required": [
    "kind",
    "text"
  ]
}