{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mailforbots-com/json-schema/mailforbots-com-post-keys-request-schema.json",
  "title": "PostKeysRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/mailforbots-com-openapi-generated.yml#/components/schemas/PostKeysRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name for the key"
    },
    "scopes": {
      "type": "array",
      "description": "Non‑empty array of scope names; omit for admin"
    },
    "inbox_ids": {
      "type": "array",
      "description": "Non‑empty array of inbox ids or full addresses; omit or null for all inboxes"
    }
  },
  "required": [
    "name"
  ]
}