{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/namailu-cz/json-schema/namailu-cz-inbox-key-create-schema.json",
  "title": "InboxKeyCreate",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/namailu-cz-openapi.json#/components/schemas/InboxKeyCreate",
  "properties": {
    "label": {
      "type": "string",
      "maxLength": 64,
      "title": "Label",
      "default": ""
    },
    "scopes": {
      "items": {
        "type": "string",
        "enum": [
          "inbox",
          "send"
        ]
      },
      "type": "array",
      "maxItems": 2,
      "minItems": 1,
      "title": "Scopes",
      "default": [
        "inbox",
        "send"
      ]
    },
    "device_lock": {
      "type": "boolean",
      "title": "Device Lock",
      "default": false
    }
  },
  "type": "object"
}