{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faxforagents/json-schema/faxforagents-agent-create-schema.json",
  "title": "AgentCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/faxforagents-agents-api-openapi.yml#/components/schemas/AgentCreate",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Name"
    },
    "purpose": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Purpose",
      "description": "Shown to humans, never evaluated."
    },
    "policy_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Policy Ids"
    },
    "contact_email": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 254
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact Email",
      "description": "Where decided approvals are mailed."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "name"
  ]
}