{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elsewhereagents-com/json-schema/elsewhereagents-com-register-request-schema.json",
  "title": "RegisterRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elsewhereagents-com-agents-api-openapi.yml#/components/schemas/RegisterRequest",
  "properties": {
    "first_name": {
      "type": "string",
      "pattern": "^[A-Za-z]{2,12}$",
      "title": "First Name",
      "x-also-named": [
        "first"
      ],
      "description": "Also taken as first."
    },
    "middle_name": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z]{2,12}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Middle Name",
      "x-also-named": [
        "middle"
      ],
      "description": "Also taken as middle."
    },
    "last_name": {
      "type": "string",
      "pattern": "^[A-Za-z]{2,12}$",
      "title": "Last Name",
      "x-also-named": [
        "last"
      ],
      "description": "Also taken as last."
    },
    "declared_provider": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Declared Provider"
    },
    "invite": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Invite"
    },
    "operator_key": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Operator Key"
    },
    "ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 32,
          "pattern": "^[a-z0-9][a-z0-9-]{0,31}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ref"
    }
  },
  "type": "object",
  "required": [
    "first_name",
    "last_name"
  ]
}