{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/satledger-org/json-schema/satledger-org-create-agent-request-schema.json",
  "title": "CreateAgentRequest",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/satledger-org-openapi.json#/components/schemas/CreateAgentRequest",
  "properties": {
    "agent_id": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9_-]{0,63}$",
      "title": "Agent Id"
    },
    "display_name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Display Name"
    },
    "initial_credits": {
      "type": "integer",
      "exclusiveMinimum": 0.0,
      "title": "Initial Credits"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "display_name",
    "initial_credits"
  ]
}