{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eusend-dev/json-schema/eusend-dev-create-contact-property-request-schema.json",
  "title": "CreateContactPropertyRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eusend-dev-contact-properties-api-openapi.yml#/components/schemas/CreateContactPropertyRequest",
  "type": "object",
  "required": [
    "key"
  ],
  "additionalProperties": false,
  "properties": {
    "key": {
      "type": "string",
      "maxLength": 40,
      "description": "Lowercase letters, digits and underscores, starting with a letter. `email`, `name`, `first_name`, `last_name` and `full_name` are built in and are rejected here. Cannot be changed after creation."
    },
    "type": {
      "type": "string",
      "enum": [
        "string",
        "number"
      ],
      "default": "string",
      "description": "Checked when a contact is written. Values are carried and rendered as strings either way — `number` is a validation rule, not a formatting instruction. Cannot be changed after creation."
    },
    "fallback_value": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 500
    }
  }
}