{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-update-agent-request-schema.json",
  "title": "UpdateAgentRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-agents-api-openapi.yml#/components/schemas/UpdateAgentRequest",
  "properties": {
    "name": {
      "anyOf": [
        {
          "$ref": "#/$defs/NameString"
        },
        {
          "type": "null"
        }
      ]
    },
    "description": {
      "anyOf": [
        {
          "$ref": "#/$defs/DescriptionString"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "$defs": {
    "DescriptionString": {
      "type": "string",
      "maxLength": 2000
    },
    "NameString": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1
    }
  }
}