{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/configure-dev/json-schema/configure-dev-message-line-registration-request-schema.json",
  "title": "MessageLineRegistrationRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/configure-dev-openapi.yml#/components/schemas/MessageLineRegistrationRequest",
  "type": "object",
  "required": [
    "phone"
  ],
  "properties": {
    "channel": {
      "type": "string",
      "default": "imessage",
      "minLength": 1,
      "maxLength": 40,
      "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$"
    },
    "phone": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Current provider-owned message return line in E.164 format."
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 120
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true,
      "description": "Small server-side metadata object for provider bookkeeping."
    }
  }
}