{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fatheron-dev/json-schema/fatheron-dev-update-mailbox-request-schema.json",
  "title": "UpdateMailboxRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fatheron-dev-openapi.json#/components/schemas/UpdateMailboxRequest",
  "properties": {
    "label": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Label"
    },
    "quota_mb": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 1048576.0,
          "minimum": 128.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Quota Mb"
    },
    "status": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "active",
            "disabled"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "password": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256,
          "minLength": 8
        },
        {
          "type": "null"
        }
      ],
      "title": "Password"
    },
    "forwards_to": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 320
        },
        {
          "type": "null"
        }
      ],
      "title": "Forwards To"
    },
    "forwards_keep_local": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Forwards Keep Local"
    },
    "clear_forwards_to": {
      "type": "boolean",
      "title": "Clear Forwards To",
      "default": false
    },
    "skip_destination_verify": {
      "type": "boolean",
      "title": "Skip Destination Verify",
      "default": false
    },
    "signature_html": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 20000
        },
        {
          "type": "null"
        }
      ],
      "title": "Signature Html"
    },
    "signature_text": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 10000
        },
        {
          "type": "null"
        }
      ],
      "title": "Signature Text"
    },
    "ooo_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ooo Enabled"
    },
    "ooo_subject": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 998
        },
        {
          "type": "null"
        }
      ],
      "title": "Ooo Subject"
    },
    "ooo_body": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 10000
        },
        {
          "type": "null"
        }
      ],
      "title": "Ooo Body"
    },
    "ooo_days": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 30.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Ooo Days"
    },
    "ooo_start_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ooo Start At"
    },
    "ooo_end_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ooo End At"
    },
    "clear_ooo": {
      "type": "boolean",
      "title": "Clear Ooo",
      "default": false
    }
  },
  "type": "object"
}