{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mailfixture-com/json-schema/mailfixture-com-create-inbox-request-schema.json",
  "title": "CreateInboxRequest",
  "description": "All fields optional; an empty or absent body creates a random address on the shared domain with no expiry.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mailfixture-com-openapi.json#/components/schemas/CreateInboxRequest",
  "properties": {
    "domain": {
      "description": "A shared domain or one of the account's verified custom domains. Omit for the shared domain.",
      "type": "string"
    },
    "local_part": {
      "description": "Lowercased on input; must not start or end with a dot. Omit for a random 10-char local part.",
      "maxLength": 64,
      "minLength": 1,
      "pattern": "^[a-z0-9._-]+$",
      "type": "string"
    },
    "ttl_seconds": {
      "description": "Auto-expire the inbox after this many seconds (max 30 days). Expired inboxes 550-reject new mail and are swept hourly. Omit for no expiry.",
      "maximum": 2592000,
      "minimum": 60,
      "type": "integer"
    }
  },
  "type": "object"
}