{
  "components": {
    "responses": {
      "NotSignedIn": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            }
          }
        },
        "description": "A rejection (RFC 9457) listing every problem of the first stage that failed: sign-in, shape, access, content. Decide on errors[].code, never on the text.",
        "headers": {
          "WWW-Authenticate": {
            "description": "The bearer challenge.",
            "schema": {
              "type": "string"
            }
          }
        }
      },
      "Problem": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            }
          }
        },
        "description": "A rejection (RFC 9457) listing every problem of the first stage that failed: sign-in, shape, access, content. Decide on errors[].code, never on the text."
      },
      "RateLimited": {
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            }
          }
        },
        "description": "A rejection (RFC 9457) listing every problem of the first stage that failed: sign-in, shape, access, content. Decide on errors[].code, never on the text.",
        "headers": {
          "Retry-After": {
            "description": "How many seconds to wait before trying again.",
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        }
      }
    },
    "schemas": {
      "AcceptedInvite": {
        "additionalProperties": false,
        "properties": {
          "invite": {
            "description": "The invite's identifier.",
            "examples": [
              "inv_3"
            ],
            "type": "string"
          },
          "kind": {
            "enum": [
              "organization",
              "project"
            ],
            "type": "string"
          },
          "organization": {
            "$ref": "#/components/schemas/Named"
          },
          "privilege": {
            "description": "For an invite to an organization: the person's privilege there now. Accepting never lowers anyone: an administrator who accepts an invite as a member stays an administrator.",
            "enum": [
              "member",
              "administrator",
              "owner"
            ],
            "type": "string"
          },
          "project": {
            "$ref": "#/components/schemas/Named",
            "description": "For an invite to a project."
          },
          "tier": {
            "description": "For an invite to a project: the person's tier on it now.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "invite",
          "kind",
          "organization"
        ],
        "type": "object"
      },
      "ActivitySchema": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "examples": [
              "ROT"
            ],
            "type": "string"
          },
          "name": {
            "examples": [
              "Rotation"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "name"
        ],
        "type": "object"
      },
      "Actor": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The account id the rows carry (usr_N, agt_N), or system for background work.",
            "examples": [
              "agt_12"
            ],
            "type": "string"
          },
          "kind": {
            "enum": [
              "human",
              "user_agent",
              "organization_agent",
              "system"
            ],
            "type": "string"
          },
          "name": {
            "description": "Present only when the caller may see it: a person of the scope; a User Agent to its owner and to itself alone; an Organization Agent where it acted.",
            "type": "string"
          },
          "owner": {
            "$ref": "#/components/schemas/Owner",
            "description": "Agents only: who the agent acts for."
          }
        },
        "required": [
          "account",
          "kind"
        ],
        "type": "object"
      },
      "Agent": {
        "additionalProperties": false,
        "properties": {
          "activity": {
            "$ref": "#/components/schemas/AgentActivity",
            "description": "Only in GET /organizations/{o}/agents with include=activity: how much the agent did lately."
          },
          "can_manage": {
            "description": "Whether the caller may rename, disable and enable it, remove its keys and give it a new one-time code. Always true for one's own User Agents. For an Organization Agent: the Owner manages every one; an Organization Administrator those that are members, not administrators, and only while the caller holds at least what the agent reaches (its level on every live project of the organization), because a key of it is its access.",
            "type": "boolean"
          },
          "can_remove": {
            "description": "Organization Agents only: whether the caller may remove it from the organization (DELETE /organizations/{o}/members/{account}), by the rule of that removal and of can_remove in the members list: the Owner removes every agent, an Organization Administrator those that are members, never itself.",
            "type": "boolean"
          },
          "code_expires_at": {
            "description": "Until when its unused one-time code works, while there is one. The code itself is shown only once, when it is made.",
            "format": "date-time",
            "type": "string"
          },
          "created_at": {
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "created_by": {
            "description": "The person who created it. Every agent traces back to one.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "description": {
            "description": "What the agent is for, in its creator's words: at most 2,000 characters; empty when it has none.",
            "examples": [
              "Keeps the books."
            ],
            "type": "string"
          },
          "disabled": {
            "description": "True while it is disabled: it cannot sign in, its sessions ended when it was disabled, and it gets no one-time code. Enable it again with PATCH.",
            "type": "boolean"
          },
          "grants": {
            "description": "Only in GET /organizations/{o}/agents with include=grants: the agent's personal grants on the live projects of the organization that the caller can open, by project. A project the caller cannot open is never listed, and nothing says how many such projects there are. [] when none. The group invites for Organization Agents, which every agent gets, are in the list's group_invites, once. Its level on a project is the highest of its grant there and the project's group invite; a paused agent keeps its grants and reaches nothing while paused.",
            "items": {
              "$ref": "#/components/schemas/AgentGrant"
            },
            "type": "array"
          },
          "id": {
            "description": "The agent's identifier.",
            "examples": [
              "agt_7"
            ],
            "type": "string"
          },
          "keys": {
            "description": "Its live keys, the oldest first: none until it registers one with a one-time code, at most two.",
            "items": {
              "$ref": "#/components/schemas/Key"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "kind": {
            "description": "organization_agent: it belongs to an organization and works like a member. user_agent: it acts for one person, with what that person delegates to it.",
            "enum": [
              "organization_agent",
              "user_agent"
            ],
            "type": "string"
          },
          "last_change": {
            "$ref": "#/components/schemas/LastChange",
            "description": "Only in GET /me/agents: the newest change the agent sent (never a background recalculation) in a project you can open now. Absent: it changed nothing in one; a project you cannot open is never named."
          },
          "last_used_at": {
            "description": "When it last signed in, with any key it has had, removed ones included. Absent: it never signed in.",
            "examples": [
              "2026-11-20T10:06:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "examples": [
              "ledger"
            ],
            "type": "string"
          },
          "privilege": {
            "description": "An Organization Agent's privilege in its organization: administrator or member. A User Agent has none of its own; see its delegations.",
            "enum": [
              "member",
              "administrator",
              "owner"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "name",
          "description",
          "disabled",
          "created_at",
          "created_by",
          "keys",
          "can_manage"
        ],
        "type": "object"
      },
      "AgentActivity": {
        "additionalProperties": false,
        "properties": {
          "days": {
            "description": "How many days back the total goes (limits.AgentActivityDays).",
            "examples": [
              30
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "transactions": {
            "description": "The transactions the agent sent (never background recalculations) in the last (days) days, in every project of the organization, deleted ones and ones the caller cannot open included. One total: it names no project.",
            "examples": [
              4120
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transactions",
          "days"
        ],
        "type": "object"
      },
      "AgentChange": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "description": "A new description, at most 2,000 characters; \"\" removes it. Left out: unchanged.",
            "examples": [
              "Keeps the books."
            ],
            "maxLength": 2000,
            "type": [
              "string",
              "null"
            ]
          },
          "disabled": {
            "description": "true disables the agent: every session of it ends at once, its unused one-time code is dropped, and it cannot sign in until it is enabled again. false enables it: its keys work again and it signs in anew. Left out: unchanged.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "description": "A new name, under the rule of a new agent's name. Left out: unchanged.",
            "examples": [
              "ledger"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "AgentGrant": {
        "additionalProperties": false,
        "properties": {
          "can_change": {
            "description": "Whether the caller may set it to another tier (PATCH /projects/{p}/grants/{account}): a Project Administrator of the project (the Owner is one everywhere) up to developer, the Owner any tier; only the Owner raises an administrator agent's grant or touches an Administrator grant.",
            "type": "boolean"
          },
          "can_remove": {
            "description": "Whether the caller may remove it (DELETE /projects/{p}/grants/{account}), by the same rule. A Project Administrator may lower or remove an administrator agent's grant up to developer.",
            "type": "boolean"
          },
          "granted_at": {
            "description": "When its present tier was given, by granted_by.",
            "examples": [
              "2026-11-20T10:30:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "granted_by": {
            "description": "The account that gave its present tier, named in the page's actors.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "project": {
            "$ref": "#/components/schemas/Named",
            "description": "The project, with its name now."
          },
          "tier": {
            "description": "The tier it gives.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          },
          "tiers": {
            "description": "Every tier the caller may set it to, lowest first; [] when it may not change it.",
            "items": {
              "enum": [
                "reader",
                "writer",
                "developer",
                "administrator"
              ],
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "project",
          "tier",
          "granted_by",
          "granted_at",
          "can_change",
          "can_remove",
          "tiers"
        ],
        "type": "object"
      },
      "AgentGroupInvite": {
        "additionalProperties": false,
        "properties": {
          "project": {
            "$ref": "#/components/schemas/Named",
            "description": "The project, with its name now."
          },
          "tier": {
            "description": "The tier every Organization Agent gets there (change it with PATCH /projects/{p}/group-invites, the Owner only).",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "project",
          "tier"
        ],
        "type": "object"
      },
      "AgentSession": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "description": "The agent that signed in.",
            "examples": [
              "agt_12"
            ],
            "type": "string"
          },
          "expires_at": {
            "description": "When the token stops working: one hour after the sign-in. Sign in again shortly before.",
            "examples": [
              "2026-11-20T11:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "key": {
            "description": "The key it signed in with. Removing this key ends the session.",
            "examples": [
              "key_34"
            ],
            "type": "string"
          },
          "token": {
            "description": "The session token. Send it as 'Authorization: Bearer <token>' on every request until it expires, then sign in again. Keep it secret; it is shown once.",
            "examples": [
              "9cQd0VqfW8m3H1y2b4n6p8r0t2v4x6z8B0D2F4H6J8L"
            ],
            "type": "string"
          },
          "token_type": {
            "description": "Always Bearer.",
            "examples": [
              "Bearer"
            ],
            "type": "string"
          }
        },
        "required": [
          "token",
          "token_type",
          "expires_at",
          "agent",
          "key"
        ],
        "type": "object"
      },
      "AgentSignIn": {
        "additionalProperties": false,
        "properties": {
          "signature": {
            "description": "The Ed25519 signature of the statement's bytes with the key's private key: 64 bytes in base64url without padding, 86 characters.",
            "examples": [
              "Zm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYg"
            ],
            "type": "string"
          },
          "statement": {
            "description": "The sign-in statement, exactly the bytes that were signed: seven lines separated by LF, with no LF at the end: 'purpose: brain-dump-agent-sign-in', 'version: 1', 'audience: <this server's public URL>', 'agent: <agt_ identifier>', 'key: <key_ identifier>', 'time: <now in UTC, like 2026-11-20T10:00:00Z>', 'nonce: <16 or more fresh random bytes in base64url>'.",
            "examples": [
              "purpose: brain-dump-agent-sign-in\nversion: 1\naudience: https://braindump.example\nagent: agt_12\nkey: key_34\ntime: 2026-11-20T10:00:00Z\nnonce: 3q2-7wAAAAB4mUXbAvBe0g"
            ],
            "type": "string"
          }
        },
        "required": [
          "statement",
          "signature"
        ],
        "type": "object"
      },
      "Agents": {
        "additionalProperties": false,
        "properties": {
          "agents": {
            "description": "The agents, by identifier, oldest first.",
            "items": {
              "$ref": "#/components/schemas/Agent"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "agents"
        ],
        "type": "object"
      },
      "Aggregate": {
        "additionalProperties": false,
        "properties": {
          "group_by": {
            "description": "One group per value of this property (a path through to-one references and nested objects, at most 4 steps): a plain text, number, date (one group per value, in its own precision: days are not grouped by month or year), boolean, single-select, to-one reference or to-one person (one group per usr_ identifier). Dumps without a value form one group with the value null, last. Absent: one group of all the dumps.",
            "examples": [
              "prp_23"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "values": {
            "additionalProperties": {
              "$ref": "#/components/schemas/AggregateValue"
            },
            "description": "What to compute for each group, by a name of the caller's choosing (not the group_by property). Each is exactly one of count, sum, min, max and average.",
            "examples": [
              {
                "invoiced": {
                  "sum": "prp_22"
                },
                "invoices": {
                  "count": true
                }
              }
            ],
            "type": [
              "object",
              "null"
            ]
          }
        },
        "required": [
          "values"
        ],
        "type": "object"
      },
      "AggregateValue": {
        "additionalProperties": false,
        "properties": {
          "average": {
            "description": "The average of a number property: the exact sum divided by the number of values, rounded to 15 significant digits, half to even; null when there is none. Over a quantity: a quantity in the property's unit, each value converted to it first.",
            "examples": [
              "prp_22"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "count": {
            "description": "true: the number of dumps in the group, whatever their values.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "max": {
            "description": "The largest value of a number, quantity (by size; the value as stored, in the unit it was entered in) or date (by the first day of its period) property in the group; null when there is none.",
            "examples": [
              "prp_22"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "min": {
            "description": "The smallest value of a number, quantity (by size; the value as stored, in the unit it was entered in) or date (by the first day of its period) property in the group; null when there is none.",
            "examples": [
              "prp_22"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "sum": {
            "description": "The exact sum of a number property (a path as in select) over the group; 0 when there is none. Over a quantity: a quantity {\"amount\": n, \"unit\": \"code\"} in the property's unit, each value converted to it first ({\"amount\": 0, ...} when there is none); refused on a quantity of temperature.",
            "examples": [
              "prp_22"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "AllowedOperation": {
        "additionalProperties": false,
        "properties": {
          "method": {
            "description": "GET, QUERY, POST, PATCH or DELETE. A QUERY also takes POST at its path with /query appended.",
            "examples": [
              "PATCH"
            ],
            "type": "string"
          },
          "name": {
            "description": "The operation's name: its operationId in /openapi.json, where its input, output and rejections are.",
            "examples": [
              "projects.grants.update"
            ],
            "type": "string"
          },
          "path": {
            "description": "Its path, with the identifier of this organization or project filled in; other parameters stay {named}.",
            "examples": [
              "/projects/prj_1/grants/{account}"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "method",
          "path"
        ],
        "type": "object"
      },
      "AuthenticatorConfirm": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The six digits the authenticator app shows now.",
            "examples": [
              "287082"
            ],
            "type": "string"
          },
          "password": {
            "description": "The person's current password.",
            "examples": [
              "correct horse battery staple"
            ],
            "type": "string"
          }
        },
        "required": [
          "password",
          "code"
        ],
        "type": "object"
      },
      "AuthenticatorDelete": {
        "additionalProperties": false,
        "properties": {
          "password": {
            "description": "The person's current password.",
            "examples": [
              "correct horse battery staple"
            ],
            "type": "string"
          },
          "recovery_code": {
            "description": "An unused recovery code, in place of totp_code; it is used up.",
            "examples": [
              "7k2mq-x9d4r"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "totp_code": {
            "description": "The six digits the authenticator app shows now. Send this or recovery_code.",
            "examples": [
              "287082"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "password"
        ],
        "type": "object"
      },
      "AuthenticatorSecret": {
        "additionalProperties": false,
        "properties": {
          "otpauth_url": {
            "description": "The otpauth:// address of the secret, for the app to draw as a QR code that an authenticator app scans. Issuer Brain Dump, account the person's address.",
            "examples": [
              "otpauth://totp/Brain%20Dump:ann@example.com?secret=JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP&issuer=Brain+Dump&algorithm=SHA1&digits=6&period=30"
            ],
            "type": "string"
          },
          "secret": {
            "description": "The authenticator's secret in base32, for typing into the app by hand. Shown once; never stored in the clear.",
            "examples": [
              "JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP"
            ],
            "type": "string"
          }
        },
        "required": [
          "secret",
          "otpauth_url"
        ],
        "type": "object"
      },
      "AuthenticatorStart": {
        "additionalProperties": false,
        "properties": {
          "password": {
            "description": "The person's current password.",
            "examples": [
              "correct horse battery staple"
            ],
            "type": "string"
          }
        },
        "required": [
          "password"
        ],
        "type": "object"
      },
      "Capabilities": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The caller's account.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "kind": {
            "description": "Whether the caller is a person or an agent.",
            "enum": [
              "human",
              "agent"
            ],
            "type": "string"
          },
          "operations": {
            "description": "The operations about the caller's own account and across organizations (/me, /projects) that need sign-in and that the caller may use, by name.",
            "items": {
              "$ref": "#/components/schemas/AllowedOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "organizations": {
            "description": "Every organization the caller is in (for a User Agent: where it holds a privilege by delegation), with the operations about it the caller may use. In any other organization every operation about it is refused.",
            "items": {
              "$ref": "#/components/schemas/OrganizationCapabilities"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "account",
          "kind",
          "operations",
          "organizations"
        ],
        "type": "object"
      },
      "Changed": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When that transaction was recorded.",
            "examples": [
              "2026-11-19T14:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "by": {
            "description": "Its account (usr_N, agt_N): a key of the response's actors.",
            "examples": [
              "usr_7"
            ],
            "type": "string"
          },
          "transaction": {
            "description": "The latest transaction a caller sent that touched the dump, as of the read. Background transactions (recalculations) never count, so it may be older than the dump's transaction.",
            "examples": [
              810
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "at",
          "by"
        ],
        "type": "object"
      },
      "Consent": {
        "additionalProperties": false,
        "properties": {
          "privacy": {
            "$ref": "#/components/schemas/Document",
            "description": "The privacy statement agreed to, with the hash of the text the server served."
          },
          "recorded_at": {
            "description": "When the consent was recorded: the first time, when the same documents were agreed to before.",
            "examples": [
              "2026-11-23T09:30:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "terms": {
            "$ref": "#/components/schemas/Document",
            "description": "The terms of use agreed to, with the hash of the text the server served."
          }
        },
        "required": [
          "terms",
          "privacy",
          "recorded_at"
        ],
        "type": "object"
      },
      "ConsentInput": {
        "additionalProperties": false,
        "properties": {
          "privacy": {
            "description": "The address of the current privacy statement, as GET /me (consent.documents) or /config.json names it.",
            "examples": [
              "https://braindump.example/legal/privacy/2026-11-23"
            ],
            "type": "string"
          },
          "terms": {
            "description": "The address of the current terms of use, as GET /me (consent.documents) or /config.json names it.",
            "examples": [
              "https://braindump.example/legal/terms/2026-11-23"
            ],
            "type": "string"
          }
        },
        "required": [
          "terms",
          "privacy"
        ],
        "type": "object"
      },
      "Created": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When that transaction was recorded.",
            "examples": [
              "2026-11-02T09:30:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "by": {
            "description": "Its account (usr_N, agt_N), or system for background work: a key of the response's actors.",
            "examples": [
              "usr_7"
            ],
            "type": "string"
          },
          "transaction": {
            "description": "The transaction that created the dump.",
            "examples": [
              640
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "at",
          "by"
        ],
        "type": "object"
      },
      "CreatedAgent": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "$ref": "#/components/schemas/Agent"
          },
          "code": {
            "description": "The one-time code the agent registers its first key with (POST /agent-keys): 32 characters, shown this once and never stored. It works once, for 15 minutes. Absent only in the answer to a repeated request (the same retry key): ask for a new code then.",
            "examples": [
              "mfrggzdfmztwq2lknnwg23tpobyxe43u"
            ],
            "type": "string"
          },
          "code_expires_at": {
            "description": "Until when the code works.",
            "examples": [
              "2026-11-20T10:15:00Z"
            ],
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "agent",
          "code_expires_at"
        ],
        "type": "object"
      },
      "Delegation": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "Whether it is an organization privilege or a project tier.",
            "enum": [
              "organization",
              "project"
            ],
            "type": "string"
          },
          "level": {
            "description": "The privilege or tier given. It is never more than its user holds there: when the user is lowered in any way, it is lowered with them and stays lowered when they rise again.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator",
              "member",
              "owner"
            ],
            "type": "string"
          },
          "name": {
            "description": "The organization's or project's name.",
            "examples": [
              "Books"
            ],
            "type": "string"
          },
          "scope": {
            "description": "The organization (org_) or project (prj_) it is about.",
            "examples": [
              "prj_3"
            ],
            "type": "string"
          }
        },
        "required": [
          "scope",
          "kind",
          "name",
          "level"
        ],
        "type": "object"
      },
      "Delegations": {
        "additionalProperties": false,
        "properties": {
          "delegations": {
            "description": "Organizations first, then projects, each by identifier. A deleted project's delegation is not listed.",
            "items": {
              "$ref": "#/components/schemas/Delegation"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "delegations"
        ],
        "type": "object"
      },
      "Document": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "Which document: terms (the terms of use) or privacy (the privacy statement).",
            "enum": [
              "terms",
              "privacy"
            ],
            "type": "string"
          },
          "sha256": {
            "description": "The SHA-256 of the text as the server serves it, in lower-case hexadecimal. A published version never changes.",
            "examples": [
              "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
            ],
            "type": "string"
          },
          "url": {
            "description": "The page a person reads, under the server's public URL. A consent sends this address.",
            "examples": [
              "https://braindump.example/legal/terms/2026-11-23"
            ],
            "type": "string"
          },
          "version": {
            "description": "The version: the day it was published.",
            "examples": [
              "2026-11-23"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind",
          "version",
          "url",
          "sha256"
        ],
        "type": "object"
      },
      "DumpChange": {
        "additionalProperties": false,
        "properties": {
          "change": {
            "description": "created, deleted, undeleted or moved.",
            "examples": [
              "created"
            ],
            "type": "string"
          },
          "dump": {
            "description": "The dump, by its key as of the page's transaction.",
            "examples": [
              "INV-103"
            ],
            "type": "string"
          },
          "from_schema": {
            "description": "For a move: the dump schema it was in before, by its key as of the page's transaction.",
            "examples": [
              "ORD"
            ],
            "type": "string"
          },
          "previous": {
            "description": "The transaction of the dump's previous state; absent for its creation.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "schema": {
            "description": "The dump schema it is in after the change, by its key as of the page's transaction.",
            "examples": [
              "INV"
            ],
            "type": "string"
          }
        },
        "required": [
          "dump",
          "change",
          "schema"
        ],
        "type": "object"
      },
      "DumpRead": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Who acted, keyed by account id: the accounts of dump.changed.by and created.by. A User Agent has its name only for its owner; to everyone else it is its owner's agent.",
            "type": [
              "object",
              "null"
            ]
          },
          "created": {
            "$ref": "#/components/schemas/Created",
            "description": "The transaction that created the dump: the created change of its history. Only on the read of one dump, pinned like the rest of the read."
          },
          "dump": {
            "$ref": "#/components/schemas/View"
          },
          "transaction": {
            "description": "The transaction the read reflects: the base for a change.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "version": {
            "description": "The dump's version number as of the read: how many transactions a caller sent that changed the dump (its creation is 1; a move counts; recalculations never do). It equals the number of entries of the dump's history (QUERY /projects/{p}/transactions with dump) up to the read's transaction.",
            "examples": [
              14
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "dump",
          "version",
          "actors"
        ],
        "type": "object"
      },
      "Entry": {
        "additionalProperties": false,
        "properties": {
          "by": {
            "description": "The account, a key of actors: a person (usr_N) or an agent (agt_N).",
            "examples": [
              "usr_3"
            ],
            "type": "string"
          },
          "schema": {
            "description": "A person only: the key (as of now) of the live dump schema their page shows; absent when none.",
            "examples": [
              "TASK"
            ],
            "type": "string"
          },
          "since": {
            "description": "A person: when this stay began (heartbeats less than 60 seconds apart are one stay). An agent: when it last wrote.",
            "format": "date-time",
            "type": "string"
          },
          "view": {
            "description": "A person only: the shared view their page shows; absent when none, or when it is no longer shared or its schema is removed.",
            "examples": [
              "viw_3"
            ],
            "type": "string"
          }
        },
        "required": [
          "by",
          "since"
        ],
        "type": "object"
      },
      "Event": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "description": "The account that did it: a key of the page's actors; system when nobody did (a lapse, or a transfer the system ended).",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "at": {
            "examples": [
              "2026-11-23T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "details": {
            "additionalProperties": true,
            "description": "transfer_started: transfer, owner, target, expires_at. transfer_canceled: transfer, reason (owner, target_removed, target_left, target_disabled, owner_disabled or owner_changed). transfer_declined: transfer. transfer_lapsed: transfer, expires_at. transfer_accepted: transfer, owner (the previous one), target. Accounts are keys of actors.",
            "type": [
              "object",
              "null"
            ]
          },
          "id": {
            "description": "The event's identifier; newer events have higher numbers.",
            "examples": [
              "evt_7"
            ],
            "type": "string"
          },
          "kind": {
            "description": "transfer_started, transfer_canceled, transfer_declined, transfer_lapsed or transfer_accepted.",
            "enum": [
              "transfer_started",
              "transfer_canceled",
              "transfer_declined",
              "transfer_lapsed",
              "transfer_accepted"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "actor",
          "at",
          "details"
        ],
        "type": "object"
      },
      "EventsPage": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Who acted, and the accounts named in the details, keyed by account id, as the organization's pages name them: a person who left the organization has no name here. system for background work.",
            "type": [
              "object",
              "null"
            ]
          },
          "cursor": {
            "description": "Send it alone in a QUERY to get the next page; absent on the last page.",
            "type": "string"
          },
          "events": {
            "description": "Newest first.",
            "items": {
              "$ref": "#/components/schemas/Event"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "events",
          "actors"
        ],
        "type": "object"
      },
      "FieldChange": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "description": "The value after, shown as before is. Absent when there is none (a formula removed), for order, and when omitted.",
            "examples": [
              "amount"
            ]
          },
          "before": {
            "description": "The value before, as the schema read shows the field (a formula as its text, rules as [{formula, message}], a target and a key by key, a title by property id, an option as {label, color, removed}). Absent when there was none, for order, and when omitted.",
            "examples": [
              "total"
            ]
          },
          "field": {
            "description": "The field: for a schema key, name, description, singular, title or section (a page section's layout, as {placement, group?, when_empty?}); for a property name, type, required, description, formula, rules, card, group, placement, when_empty, target, many, shape, precision, domain, unit or option; order for a move in an order (of a page section: with section), which has neither value.",
            "examples": [
              "name"
            ],
            "type": "string"
          },
          "omitted": {
            "description": "The entry's fields encode to more than 8 KB: this field's before and after are left out (from the last field backward until the rest fits). Read the schema pinned to the transaction and to previous to compare.",
            "type": "boolean"
          },
          "option": {
            "description": "For an option: the option the transaction wrote.",
            "examples": [
              "opt_61"
            ],
            "type": "string"
          },
          "section": {
            "description": "For a page section of a schema (section, and order for its move): linked_from or recent_changes.",
            "examples": [
              "linked_from"
            ],
            "type": "string"
          }
        },
        "required": [
          "field"
        ],
        "type": "object"
      },
      "Filter": {
        "additionalProperties": false,
        "properties": {
          "all": {
            "description": "A list of which every item matches where.",
            "type": "string"
          },
          "and": {
            "description": "Every condition must hold.",
            "items": {
              "$ref": "#/components/schemas/Filter"
            },
            "type": "array"
          },
          "any": {
            "description": "A list of references or nested objects (a path) of which at least one item matches where.",
            "type": "string"
          },
          "count": {
            "description": "A list whose number of items op compares with value.",
            "type": "string"
          },
          "field": {
            "description": "The system field the condition tests, instead of a property.",
            "enum": [
              "key",
              "id",
              "status",
              "transaction",
              "issues",
              "links"
            ],
            "type": "string"
          },
          "none": {
            "description": "A list of which no item matches where.",
            "type": "string"
          },
          "not": {
            "$ref": "#/components/schemas/Filter",
            "description": "The condition must not hold. A condition on an errored or recalculating value matches nothing, also under not."
          },
          "op": {
            "description": "The operator of a condition or a count.",
            "enum": [
              "eq",
              "ne",
              "in",
              "is_empty",
              "gt",
              "gte",
              "lt",
              "lte",
              "contains",
              "starts_with",
              "matches",
              "links_to",
              "has",
              "has_any",
              "has_all",
              "within",
              "near",
              "not_convertible_to"
            ],
            "type": "string"
          },
          "or": {
            "description": "At least one condition must hold.",
            "items": {
              "$ref": "#/components/schemas/Filter"
            },
            "type": "array"
          },
          "property": {
            "description": "The property the condition tests, by identifier; a path through to-one references and nested objects (at most 4 steps) as in select.",
            "examples": [
              "prp_23.prp_12"
            ],
            "type": "string"
          },
          "value": {
            "description": "What the operator compares with, written as the property's values are; an array for in, has_any and has_all; true or false (default true) for is_empty; a box [west, south, east, north] for within; {\"center\": [longitude, latitude], \"radius_meters\": n} for near."
          },
          "where": {
            "$ref": "#/components/schemas/Filter",
            "description": "With any, all or none: the condition on each item, its paths starting at the item."
          }
        },
        "type": "object"
      },
      "FilterInput": {
        "additionalProperties": false,
        "properties": {
          "all": {
            "description": "A list of which every item matches where.",
            "type": [
              "string",
              "null"
            ]
          },
          "and": {
            "description": "Every condition must hold.",
            "items": {
              "$ref": "#/components/schemas/FilterInput"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "any": {
            "description": "A list of references or nested objects (a path) of which at least one item matches where.",
            "type": [
              "string",
              "null"
            ]
          },
          "count": {
            "description": "A list whose number of items op compares with value.",
            "type": [
              "string",
              "null"
            ]
          },
          "field": {
            "anyOf": [
              {
                "description": "A dump's: key (eq, ne, in: its key, current or old, in any letter case; a key that names no dump is dump_not_found; a sort by key sorts by its number in the schema, the order of arrival); status (eq, ne, in: okay, deleted; a condition on status is how deleted dumps are asked for); transaction (eq, ne, in, gt, gte, lt, lte: the dump's version); issues (has, has_any, has_all, is_empty: errored, recalculating); links (has, has_any, has_all, is_empty: the reasons of broken links in rich text: dump_not_found, dump_deleted, schema_removed, schema_not_found). A nested object's, in a block over a nested list: id (eq, ne, in, gt, gte, lt, lte: nested object identifiers).",
                "enum": [
                  "key",
                  "id",
                  "status",
                  "transaction",
                  "issues",
                  "links"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The system field the condition tests, instead of a property."
          },
          "none": {
            "description": "A list of which no item matches where.",
            "type": [
              "string",
              "null"
            ]
          },
          "not": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FilterInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "The condition must not hold. A condition on an errored or recalculating value matches nothing, also under not."
          },
          "op": {
            "anyOf": [
              {
                "description": "eq, ne, in and is_empty work on every type (on a list eq and ne compare the set of item identifiers, and in takes a list of such sets); gt, gte, lt and lte on numbers and dates. A date operand is written in the form of any precision (2026, 2026-Q4, 2026-11, 2026-W48, 2026-11-19, or a moment with an offset); one coarser than the property means \"falls in\": eq \"2026\" is in 2026, lt \"2026\" before it, lte \"2026\" in it or before, gt \"2026\" after it, gte \"2026\" in it or after; a moment is related to a period in UTC. contains and starts_with (ignoring case) on text; matches on text: every word of the value is a word of the text, the last as the start of a word, ignoring case (a word is a run of letters and digits; only the text of the property named, so unlike search not that of a dump's nested objects; the first 65,536 characters of the text are read; a value without words matches nothing); links_to on rich text (a dump's key or a dump schema's key, current or old, in any letter case, one that names nothing being dump_not_found or schema_not_found; or a person's usr_ identifier, one nothing mentions matching nothing); has, has_any and has_all on multi-selects and lists of people. On geo, eq, ne and in compare a GeoJSON geometry, rounded like a write, coordinate for coordinate; within (every shape) takes a box [west, south, east, north] in degrees and finds the geometries wholly inside it, edges included (a box whose west is east of its east crosses the antimeridian, RFC 7946 §5.2: [170, -10, -170, 10] spans 20 degrees of longitude); near (points only) takes {\"center\": [longitude, latitude], \"radius_meters\": n} and finds the points at most n meters from center, measured along a sphere (haversine). On a quantity, eq, ne, in, gt, gte, lt and lte take a quantity {\"amount\": 5, \"unit\": \"km\"} (in takes a list of them) in any unit of the property's domain, and compare by size, in the domain's base unit: {\"amount\": 60, \"unit\": \"in\"} equals 5 ft; a bare number or a unit of another domain is wrong_type. A person is compared by the usr_ identifier of their account; one that no value names matches nothing, whoever it is. not_convertible_to (every type) takes a type, or {\"type\": \"geo\", \"shape\": ...} for geo, or {\"type\": \"quantity\", \"domain\": ..., \"unit\": ...} for a quantity (unit optional: the domain's base unit), or {\"type\": \"date\", \"precision\": ...} for a date (\"date\" alone: precision day), or {\"type\": \"single_select\", \"labels\": [...]} for a select with options, and finds the values that a type change to it would not convert, whatever their status: the find query of a resolution_required group.",
                "enum": [
                  "eq",
                  "ne",
                  "in",
                  "is_empty",
                  "gt",
                  "gte",
                  "lt",
                  "lte",
                  "contains",
                  "starts_with",
                  "matches",
                  "links_to",
                  "has",
                  "has_any",
                  "has_all",
                  "within",
                  "near",
                  "not_convertible_to"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The operator of a condition or a count."
          },
          "or": {
            "description": "At least one condition must hold.",
            "items": {
              "$ref": "#/components/schemas/FilterInput"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "property": {
            "description": "The property the condition tests, by identifier; a path through to-one references and nested objects (at most 4 steps) as in select.",
            "examples": [
              "prp_23.prp_12"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "description": "What the operator compares with, written as the property's values are; an array for in, has_any and has_all; true or false (default true) for is_empty; a box [west, south, east, north] for within; {\"center\": [longitude, latitude], \"radius_meters\": n} for near."
          },
          "where": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FilterInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "With any, all or none: the condition on each item, its paths starting at the item."
          }
        },
        "type": "object"
      },
      "Grant": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The account's identifier: usr_ for a person, agt_ for an Organization Agent.",
            "examples": [
              "usr_2"
            ],
            "type": "string"
          },
          "can_change": {
            "description": "Whether the caller may set this grant to another tier (PATCH).",
            "type": "boolean"
          },
          "can_remove": {
            "description": "Whether the caller may remove this grant (DELETE); for the caller's own, whether it may leave.",
            "type": "boolean"
          },
          "disabled": {
            "description": "True for an account that is disabled: it keeps the grant but can do nothing.",
            "type": "boolean"
          },
          "email": {
            "description": "A person's verified address; only Project Administrators and the Owner see it.",
            "examples": [
              "bob@example.com"
            ],
            "type": "string"
          },
          "granted_by": {
            "description": "The account that gave or last changed it.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "kind": {
            "description": "human or agent. User Agents never hold a grant: their user delegates to them.",
            "enum": [
              "human",
              "agent"
            ],
            "type": "string"
          },
          "member": {
            "description": "Whether the account is a member of the project's organization. A non-member's access is this grant alone.",
            "type": "boolean"
          },
          "name": {
            "examples": [
              "bob"
            ],
            "type": "string"
          },
          "since": {
            "description": "When the grant was first given.",
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "tier": {
            "description": "The tier of this personal grant. A group invite may give the account more.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "account",
          "kind",
          "name",
          "tier",
          "member",
          "granted_by",
          "since",
          "disabled",
          "can_change",
          "can_remove"
        ],
        "type": "object"
      },
      "GrantChange": {
        "additionalProperties": false,
        "properties": {
          "tier": {
            "description": "The new tier: reader, writer, developer, or administrator, which only the Owner gives.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "tier"
        ],
        "type": "object"
      },
      "GrantsPage": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "Send it alone in a QUERY to get the next page; absent on the last page.",
            "type": "string"
          },
          "grants": {
            "description": "Personal grants by account identifier, oldest account first.",
            "items": {
              "$ref": "#/components/schemas/Grant"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "grants"
        ],
        "type": "object"
      },
      "GroupInvites": {
        "additionalProperties": false,
        "properties": {
          "humans": {
            "description": "The tier of every person who is a member of the organization, Organization Administrators included; none gives nothing.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator",
              "none"
            ],
            "type": "string"
          },
          "organization_agents": {
            "description": "The tier of every Organization Agent of the organization; none gives nothing.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator",
              "none"
            ],
            "type": "string"
          }
        },
        "required": [
          "humans",
          "organization_agents"
        ],
        "type": "object"
      },
      "GroupInvitesChange": {
        "additionalProperties": false,
        "properties": {
          "humans": {
            "anyOf": [
              {
                "enum": [
                  "reader",
                  "writer",
                  "developer",
                  "administrator",
                  "none"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The new tier for every human member, or none. Left out: unchanged."
          },
          "organization_agents": {
            "anyOf": [
              {
                "enum": [
                  "reader",
                  "writer",
                  "developer",
                  "administrator",
                  "none"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The new tier for every Organization Agent, or none. Left out: unchanged."
          }
        },
        "type": "object"
      },
      "Heartbeat": {
        "additionalProperties": false,
        "properties": {
          "schema": {
            "description": "The dump schema the page shows, by its key (current or old, any letter case). Anything that is not a live dump schema of this project is dropped without an error.",
            "examples": [
              "TASK"
            ],
            "type": "string"
          },
          "view": {
            "description": "The saved view the page shows, by its identifier. Only a view shared with the project is kept; a personal view, or anything that is not a view of this project, is dropped without an error.",
            "examples": [
              "viw_3"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "Input": {
        "additionalProperties": false,
        "properties": {
          "base": {
            "description": "The transaction the caller based every operation on: the one its reads reflected. A caller who read things at different moments sends its oldest. 0 for a project without transactions.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "operations": {
            "description": "The operations, applied in order, all or none: 1 to 500. A later operation sees what an earlier one wrote and can use the local names (ref) it defined as \"$name\".",
            "items": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "list": {
                          "description": "Items to add to its lists (multi-selects, to-many references, lists of nested objects), in order.",
                          "items": {
                            "$ref": "#/components/schemas/ListChange"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "op": {
                          "enum": [
                            "dump.create"
                          ],
                          "type": "string"
                        },
                        "ref": {
                          "description": "A local name for the new dump, for later operations as \"$name\" (in a reference, or as the dump to change).",
                          "examples": [
                            "sup"
                          ],
                          "type": "string"
                        },
                        "schema": {
                          "description": "The dump schema the dump is in: its key, current or old, in any letter case (TASK), or \"$name\" of a schema created earlier in the transaction.",
                          "examples": [
                            "TASK"
                          ],
                          "type": "string"
                        },
                        "set": {
                          "additionalProperties": {
                            "anyOf": [
                              {},
                              {
                                "description": "A geo value: a GeoJSON geometry of the property's shape.",
                                "oneOf": [
                                  {
                                    "description": "A point.",
                                    "properties": {
                                      "coordinates": {
                                        "description": "[longitude, latitude] in WGS84.",
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Point",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path: at least 2 different points.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "description": "[longitude, latitude] in WGS84.",
                                          "items": {
                                            "type": "number"
                                          },
                                          "maxItems": 2,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "maxItems": 1000,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "LineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path that crosses the antimeridian, and only such a path: cut there into lines that meet at longitude 180 and -180 at the same latitude (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiLineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area: one closed ring (the last position repeats the first), that does not cross or touch itself.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 4,
                                          "type": "array"
                                        },
                                        "maxItems": 1,
                                        "minItems": 1,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Polygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area that crosses the antimeridian, and only such an area: cut there into polygons of one ring each, each with an edge along longitude 180 or -180, that joined along the edges they share make one ring (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "items": {
                                              "description": "[longitude, latitude] in WGS84.",
                                              "items": {
                                                "type": "number"
                                              },
                                              "maxItems": 2,
                                              "minItems": 2,
                                              "type": "array"
                                            },
                                            "maxItems": 1000,
                                            "minItems": 4,
                                            "type": "array"
                                          },
                                          "maxItems": 1,
                                          "minItems": 1,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiPolygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              {
                                "additionalProperties": false,
                                "description": "A quantity: an amount and the exact code of a unit of the property's domain.",
                                "properties": {
                                  "amount": {
                                    "description": "As a number: at most 15 significant digits, within 1e-307 and 1e307, in the unit and in the domain's base unit. Stored and shown as written.",
                                    "type": "number"
                                  },
                                  "unit": {
                                    "description": "The code of a unit of the property's domain, case-sensitive (km, m2, degC, gal_us). One of another domain, or no code, is value_not_representable, and its expected.allowed names the codes of the domain that were meant.",
                                    "enum": [
                                      "m",
                                      "nm",
                                      "um",
                                      "mm",
                                      "cm",
                                      "dm",
                                      "km",
                                      "in",
                                      "ft",
                                      "yd",
                                      "mi",
                                      "nmi",
                                      "angstrom",
                                      "thou",
                                      "chain",
                                      "fathom",
                                      "furlong",
                                      "au",
                                      "ly",
                                      "pc",
                                      "m2",
                                      "mm2",
                                      "cm2",
                                      "ha",
                                      "km2",
                                      "in2",
                                      "ft2",
                                      "yd2",
                                      "ac",
                                      "mi2",
                                      "a",
                                      "m3",
                                      "mm3",
                                      "cm3",
                                      "mL",
                                      "cL",
                                      "dL",
                                      "L",
                                      "hL",
                                      "in3",
                                      "ft3",
                                      "yd3",
                                      "tsp_us",
                                      "tbsp_us",
                                      "floz_us",
                                      "cup_us",
                                      "pt_us",
                                      "qt_us",
                                      "gal_us",
                                      "bbl",
                                      "floz_imp",
                                      "pt_imp",
                                      "qt_imp",
                                      "gal_imp",
                                      "uL",
                                      "dm3",
                                      "tsp_metric",
                                      "tbsp_metric",
                                      "cup_metric",
                                      "kg",
                                      "ug",
                                      "mg",
                                      "g",
                                      "t",
                                      "oz",
                                      "lb",
                                      "st",
                                      "ton_us",
                                      "ton_imp",
                                      "gr",
                                      "ct",
                                      "ozt",
                                      "kt",
                                      "Mt",
                                      "K",
                                      "degC",
                                      "degF",
                                      "degR",
                                      "m/s",
                                      "km/h",
                                      "mph",
                                      "ft/s",
                                      "kn",
                                      "km/s",
                                      "m/min",
                                      "ft/min",
                                      "Pa",
                                      "hPa",
                                      "kPa",
                                      "MPa",
                                      "mbar",
                                      "bar",
                                      "atm",
                                      "mmHg",
                                      "psi",
                                      "inHg",
                                      "GPa",
                                      "kgf/cm2",
                                      "torr",
                                      "ksi",
                                      "J",
                                      "kJ",
                                      "MJ",
                                      "GJ",
                                      "Wh",
                                      "kWh",
                                      "MWh",
                                      "GWh",
                                      "cal",
                                      "kcal",
                                      "BTU",
                                      "mJ",
                                      "TJ",
                                      "TWh",
                                      "eV",
                                      "toe",
                                      "ft.lbf",
                                      "MMBtu",
                                      "therm_us",
                                      "therm_ec",
                                      "W",
                                      "mW",
                                      "kW",
                                      "MW",
                                      "GW",
                                      "PS",
                                      "hp",
                                      "BTU/h",
                                      "uW",
                                      "TW",
                                      "hp_e",
                                      "TR",
                                      "N",
                                      "kN",
                                      "kgf",
                                      "lbf",
                                      "mN",
                                      "MN",
                                      "dyn",
                                      "ozf",
                                      "kip",
                                      "s",
                                      "ms",
                                      "min",
                                      "h",
                                      "d",
                                      "wk",
                                      "ns",
                                      "us",
                                      "deg",
                                      "arcmin",
                                      "arcsec",
                                      "grad",
                                      "rad",
                                      "turn",
                                      "mrad",
                                      "Hz",
                                      "kHz",
                                      "MHz",
                                      "GHz",
                                      "rpm",
                                      "THz",
                                      "bpm",
                                      "B",
                                      "bit",
                                      "kB",
                                      "MB",
                                      "GB",
                                      "TB",
                                      "PB",
                                      "KiB",
                                      "MiB",
                                      "GiB",
                                      "TiB",
                                      "PiB",
                                      "kbit",
                                      "Mbit",
                                      "Gbit",
                                      "EB",
                                      "EiB",
                                      "bit/s",
                                      "kbit/s",
                                      "Mbit/s",
                                      "Gbit/s",
                                      "B/s",
                                      "kB/s",
                                      "MB/s",
                                      "Tbit/s",
                                      "GB/s",
                                      "KiB/s",
                                      "MiB/s",
                                      "A",
                                      "mA",
                                      "uA",
                                      "kA",
                                      "V",
                                      "mV",
                                      "kV",
                                      "uV",
                                      "MV",
                                      "C",
                                      "mAh",
                                      "Ah",
                                      "uC",
                                      "mC",
                                      "ratio",
                                      "percent",
                                      "permille",
                                      "ppm",
                                      "ppb",
                                      "bp",
                                      "ppt",
                                      "kg/m3",
                                      "g/L",
                                      "mg/L",
                                      "g/cm3",
                                      "g/mL",
                                      "kg/L",
                                      "t/m3",
                                      "lb/ft3",
                                      "lb/in3",
                                      "lb/gal_us",
                                      "m3/s",
                                      "m3/min",
                                      "m3/h",
                                      "L/s",
                                      "L/min",
                                      "L/h",
                                      "mL/min",
                                      "ft3/s",
                                      "ft3/min",
                                      "gal_us/min",
                                      "gal_imp/min",
                                      "bbl/d",
                                      "N.m",
                                      "mN.m",
                                      "kN.m",
                                      "kgf.m",
                                      "lbf.ft",
                                      "lbf.in",
                                      "ozf.in",
                                      "m/s2",
                                      "cm/s2",
                                      "km/h/s",
                                      "g0",
                                      "ft/s2",
                                      "in/s2",
                                      "ohm",
                                      "mohm",
                                      "kohm",
                                      "Mohm",
                                      "F",
                                      "mF",
                                      "uF",
                                      "nF",
                                      "pF",
                                      "lx",
                                      "klx",
                                      "fc",
                                      "mol",
                                      "nmol",
                                      "umol",
                                      "mmol",
                                      "kmol"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "unit"
                                ],
                                "type": "object"
                              }
                            ],
                            "description": "A text as a string, a number as a JSON number, a date as a string in the form of its property's precision and only that form: a year as \"2026\", a quarter as \"2026-Q4\", a month as \"2026-11\", a week as \"2026-W48\" (an ISO 8601 week, Monday to Sunday), a day as \"2026-11-25\", a time as \"2026-11-25T14:00:00+01:00\" (any offset, whole seconds; read back in UTC); any other form, such as a day in a month property, is value_not_representable, a boolean, an option as its identifier, a dump as its key (TASK-5; one that names no dump is reference_missing), a person as their usr_ identifier (one GET /projects/{p}/people lists when the value changes to them, or person_not_found), a geometry as a GeoJSON geometry object of the property's shape (a point a Point, a path a LineString, an area a Polygon with one ring; coordinates are rounded to 7 decimals, and a geometry that is not one is value_not_representable), a quantity as {\"amount\": 12.5, \"unit\": \"km\"} with the exact code of a unit of the property's domain (a bare number, another member, a unit that is not one, such as gal for gal_us, and an amount beyond the bounds of a number in the unit or the domain's base unit are value_not_representable, whose expected.allowed names the codes meant); null empties the value. A rich text is Markdown; a link to a dump or a dump schema is [text](dump:TASK-5) or [text](schema:TASK), by a key current or old, and one to a key that names nothing is link_target_missing. The text is stored as written; reads show each link by the key of the read. A mention of a person is [name](person:usr_5), never checked."
                          },
                          "description": "Its values, keyed by property identifier. A property left out is empty; a required one is then errored (required_missing).",
                          "examples": [
                            {
                              "prp_11": "Acme"
                            }
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "op",
                        "schema"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dump": {
                          "description": "The dump: its key, current or old, in any letter case (TASK-5), or \"$name\".",
                          "examples": [
                            "TASK-5"
                          ],
                          "type": "string"
                        },
                        "op": {
                          "enum": [
                            "dump.delete"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "dump"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dump": {
                          "description": "The dump to move: its key, current or old, in any letter case (TASK-5), or \"$name\".",
                          "examples": [
                            "TASK-5"
                          ],
                          "type": "string"
                        },
                        "map": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Which property of the target schema each property of the dump's schema becomes, by identifier. A field of a nested object maps to a field of the nested property its own nested property maps to. A property left out is not carried; a required property of the target that nothing fills is errored (required_missing). A value that cannot be the target's type is a group to resolve (resolution_required).",
                          "examples": [
                            {
                              "prp_11": "prp_51"
                            }
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "op": {
                          "enum": [
                            "dump.move"
                          ],
                          "type": "string"
                        },
                        "resolutions": {
                          "description": "A resolution for each group a rejection named (resolution_required): its property (of the target schema) and kind, as for a type change.",
                          "items": {
                            "$ref": "#/components/schemas/Resolution"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "schema": {
                          "description": "The dump schema to move it to: its key, current or old, in any letter case (TASK), or \"$name\" of a schema created earlier in the transaction.",
                          "examples": [
                            "BUG"
                          ],
                          "type": "string"
                        },
                        "set": {
                          "additionalProperties": {
                            "anyOf": [
                              {},
                              {
                                "description": "A geo value: a GeoJSON geometry of the property's shape.",
                                "oneOf": [
                                  {
                                    "description": "A point.",
                                    "properties": {
                                      "coordinates": {
                                        "description": "[longitude, latitude] in WGS84.",
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Point",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path: at least 2 different points.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "description": "[longitude, latitude] in WGS84.",
                                          "items": {
                                            "type": "number"
                                          },
                                          "maxItems": 2,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "maxItems": 1000,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "LineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path that crosses the antimeridian, and only such a path: cut there into lines that meet at longitude 180 and -180 at the same latitude (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiLineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area: one closed ring (the last position repeats the first), that does not cross or touch itself.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 4,
                                          "type": "array"
                                        },
                                        "maxItems": 1,
                                        "minItems": 1,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Polygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area that crosses the antimeridian, and only such an area: cut there into polygons of one ring each, each with an edge along longitude 180 or -180, that joined along the edges they share make one ring (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "items": {
                                              "description": "[longitude, latitude] in WGS84.",
                                              "items": {
                                                "type": "number"
                                              },
                                              "maxItems": 2,
                                              "minItems": 2,
                                              "type": "array"
                                            },
                                            "maxItems": 1000,
                                            "minItems": 4,
                                            "type": "array"
                                          },
                                          "maxItems": 1,
                                          "minItems": 1,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiPolygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              {
                                "additionalProperties": false,
                                "description": "A quantity: an amount and the exact code of a unit of the property's domain.",
                                "properties": {
                                  "amount": {
                                    "description": "As a number: at most 15 significant digits, within 1e-307 and 1e307, in the unit and in the domain's base unit. Stored and shown as written.",
                                    "type": "number"
                                  },
                                  "unit": {
                                    "description": "The code of a unit of the property's domain, case-sensitive (km, m2, degC, gal_us). One of another domain, or no code, is value_not_representable, and its expected.allowed names the codes of the domain that were meant.",
                                    "enum": [
                                      "m",
                                      "nm",
                                      "um",
                                      "mm",
                                      "cm",
                                      "dm",
                                      "km",
                                      "in",
                                      "ft",
                                      "yd",
                                      "mi",
                                      "nmi",
                                      "angstrom",
                                      "thou",
                                      "chain",
                                      "fathom",
                                      "furlong",
                                      "au",
                                      "ly",
                                      "pc",
                                      "m2",
                                      "mm2",
                                      "cm2",
                                      "ha",
                                      "km2",
                                      "in2",
                                      "ft2",
                                      "yd2",
                                      "ac",
                                      "mi2",
                                      "a",
                                      "m3",
                                      "mm3",
                                      "cm3",
                                      "mL",
                                      "cL",
                                      "dL",
                                      "L",
                                      "hL",
                                      "in3",
                                      "ft3",
                                      "yd3",
                                      "tsp_us",
                                      "tbsp_us",
                                      "floz_us",
                                      "cup_us",
                                      "pt_us",
                                      "qt_us",
                                      "gal_us",
                                      "bbl",
                                      "floz_imp",
                                      "pt_imp",
                                      "qt_imp",
                                      "gal_imp",
                                      "uL",
                                      "dm3",
                                      "tsp_metric",
                                      "tbsp_metric",
                                      "cup_metric",
                                      "kg",
                                      "ug",
                                      "mg",
                                      "g",
                                      "t",
                                      "oz",
                                      "lb",
                                      "st",
                                      "ton_us",
                                      "ton_imp",
                                      "gr",
                                      "ct",
                                      "ozt",
                                      "kt",
                                      "Mt",
                                      "K",
                                      "degC",
                                      "degF",
                                      "degR",
                                      "m/s",
                                      "km/h",
                                      "mph",
                                      "ft/s",
                                      "kn",
                                      "km/s",
                                      "m/min",
                                      "ft/min",
                                      "Pa",
                                      "hPa",
                                      "kPa",
                                      "MPa",
                                      "mbar",
                                      "bar",
                                      "atm",
                                      "mmHg",
                                      "psi",
                                      "inHg",
                                      "GPa",
                                      "kgf/cm2",
                                      "torr",
                                      "ksi",
                                      "J",
                                      "kJ",
                                      "MJ",
                                      "GJ",
                                      "Wh",
                                      "kWh",
                                      "MWh",
                                      "GWh",
                                      "cal",
                                      "kcal",
                                      "BTU",
                                      "mJ",
                                      "TJ",
                                      "TWh",
                                      "eV",
                                      "toe",
                                      "ft.lbf",
                                      "MMBtu",
                                      "therm_us",
                                      "therm_ec",
                                      "W",
                                      "mW",
                                      "kW",
                                      "MW",
                                      "GW",
                                      "PS",
                                      "hp",
                                      "BTU/h",
                                      "uW",
                                      "TW",
                                      "hp_e",
                                      "TR",
                                      "N",
                                      "kN",
                                      "kgf",
                                      "lbf",
                                      "mN",
                                      "MN",
                                      "dyn",
                                      "ozf",
                                      "kip",
                                      "s",
                                      "ms",
                                      "min",
                                      "h",
                                      "d",
                                      "wk",
                                      "ns",
                                      "us",
                                      "deg",
                                      "arcmin",
                                      "arcsec",
                                      "grad",
                                      "rad",
                                      "turn",
                                      "mrad",
                                      "Hz",
                                      "kHz",
                                      "MHz",
                                      "GHz",
                                      "rpm",
                                      "THz",
                                      "bpm",
                                      "B",
                                      "bit",
                                      "kB",
                                      "MB",
                                      "GB",
                                      "TB",
                                      "PB",
                                      "KiB",
                                      "MiB",
                                      "GiB",
                                      "TiB",
                                      "PiB",
                                      "kbit",
                                      "Mbit",
                                      "Gbit",
                                      "EB",
                                      "EiB",
                                      "bit/s",
                                      "kbit/s",
                                      "Mbit/s",
                                      "Gbit/s",
                                      "B/s",
                                      "kB/s",
                                      "MB/s",
                                      "Tbit/s",
                                      "GB/s",
                                      "KiB/s",
                                      "MiB/s",
                                      "A",
                                      "mA",
                                      "uA",
                                      "kA",
                                      "V",
                                      "mV",
                                      "kV",
                                      "uV",
                                      "MV",
                                      "C",
                                      "mAh",
                                      "Ah",
                                      "uC",
                                      "mC",
                                      "ratio",
                                      "percent",
                                      "permille",
                                      "ppm",
                                      "ppb",
                                      "bp",
                                      "ppt",
                                      "kg/m3",
                                      "g/L",
                                      "mg/L",
                                      "g/cm3",
                                      "g/mL",
                                      "kg/L",
                                      "t/m3",
                                      "lb/ft3",
                                      "lb/in3",
                                      "lb/gal_us",
                                      "m3/s",
                                      "m3/min",
                                      "m3/h",
                                      "L/s",
                                      "L/min",
                                      "L/h",
                                      "mL/min",
                                      "ft3/s",
                                      "ft3/min",
                                      "gal_us/min",
                                      "gal_imp/min",
                                      "bbl/d",
                                      "N.m",
                                      "mN.m",
                                      "kN.m",
                                      "kgf.m",
                                      "lbf.ft",
                                      "lbf.in",
                                      "ozf.in",
                                      "m/s2",
                                      "cm/s2",
                                      "km/h/s",
                                      "g0",
                                      "ft/s2",
                                      "in/s2",
                                      "ohm",
                                      "mohm",
                                      "kohm",
                                      "Mohm",
                                      "F",
                                      "mF",
                                      "uF",
                                      "nF",
                                      "pF",
                                      "lx",
                                      "klx",
                                      "fc",
                                      "mol",
                                      "nmol",
                                      "umol",
                                      "mmol",
                                      "kmol"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "unit"
                                ],
                                "type": "object"
                              }
                            ],
                            "description": "A text as a string, a number as a JSON number, a date as a string in the form of its property's precision and only that form: a year as \"2026\", a quarter as \"2026-Q4\", a month as \"2026-11\", a week as \"2026-W48\" (an ISO 8601 week, Monday to Sunday), a day as \"2026-11-25\", a time as \"2026-11-25T14:00:00+01:00\" (any offset, whole seconds; read back in UTC); any other form, such as a day in a month property, is value_not_representable, a boolean, an option as its identifier, a dump as its key (TASK-5; one that names no dump is reference_missing), a person as their usr_ identifier (one GET /projects/{p}/people lists when the value changes to them, or person_not_found), a geometry as a GeoJSON geometry object of the property's shape (a point a Point, a path a LineString, an area a Polygon with one ring; coordinates are rounded to 7 decimals, and a geometry that is not one is value_not_representable), a quantity as {\"amount\": 12.5, \"unit\": \"km\"} with the exact code of a unit of the property's domain (a bare number, another member, a unit that is not one, such as gal for gal_us, and an amount beyond the bounds of a number in the unit or the domain's base unit are value_not_representable, whose expected.allowed names the codes meant); null empties the value. A rich text is Markdown; a link to a dump or a dump schema is [text](dump:TASK-5) or [text](schema:TASK), by a key current or old, and one to a key that names nothing is link_target_missing. The text is stored as written; reads show each link by the key of the read. A mention of a person is [name](person:usr_5), never checked."
                          },
                          "description": "Values for properties of the target schema itself, written as dump.create writes them; a property set here is not filled from the mapping.",
                          "examples": [
                            {
                              "prp_52": "NL"
                            }
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "op",
                        "dump",
                        "schema"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dump": {
                          "description": "The dump: its key, current or old, in any letter case (TASK-5), or \"$name\".",
                          "examples": [
                            "TASK-5"
                          ],
                          "type": "string"
                        },
                        "op": {
                          "enum": [
                            "dump.undelete"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "dump"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dump": {
                          "description": "The dump to change: its key, current or old, in any letter case (TASK-5), or \"$name\".",
                          "examples": [
                            "TASK-5"
                          ],
                          "type": "string"
                        },
                        "force": {
                          "description": "Overwrite despite value conflicts (value_changed, list_reordered, strict_changed). The overwrite is recorded with the transaction. It never overrides a deleted dump or a property outside the dump's schema.",
                          "type": "boolean"
                        },
                        "list": {
                          "description": "Changes to its lists, item by item, in order: add, remove or move one item each. The item is the unit of conflict, not the list.",
                          "items": {
                            "$ref": "#/components/schemas/ListChange"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "nested": {
                          "description": "Values to change on its nested objects, one entry per object; each value conflicts like a value of the dump.",
                          "items": {
                            "$ref": "#/components/schemas/NestedSet"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "op": {
                          "enum": [
                            "dump.update"
                          ],
                          "type": "string"
                        },
                        "set": {
                          "additionalProperties": {
                            "anyOf": [
                              {},
                              {
                                "description": "A geo value: a GeoJSON geometry of the property's shape.",
                                "oneOf": [
                                  {
                                    "description": "A point.",
                                    "properties": {
                                      "coordinates": {
                                        "description": "[longitude, latitude] in WGS84.",
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Point",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path: at least 2 different points.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "description": "[longitude, latitude] in WGS84.",
                                          "items": {
                                            "type": "number"
                                          },
                                          "maxItems": 2,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "maxItems": 1000,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "LineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path that crosses the antimeridian, and only such a path: cut there into lines that meet at longitude 180 and -180 at the same latitude (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiLineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area: one closed ring (the last position repeats the first), that does not cross or touch itself.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 4,
                                          "type": "array"
                                        },
                                        "maxItems": 1,
                                        "minItems": 1,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Polygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area that crosses the antimeridian, and only such an area: cut there into polygons of one ring each, each with an edge along longitude 180 or -180, that joined along the edges they share make one ring (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "items": {
                                              "description": "[longitude, latitude] in WGS84.",
                                              "items": {
                                                "type": "number"
                                              },
                                              "maxItems": 2,
                                              "minItems": 2,
                                              "type": "array"
                                            },
                                            "maxItems": 1000,
                                            "minItems": 4,
                                            "type": "array"
                                          },
                                          "maxItems": 1,
                                          "minItems": 1,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiPolygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              {
                                "additionalProperties": false,
                                "description": "A quantity: an amount and the exact code of a unit of the property's domain.",
                                "properties": {
                                  "amount": {
                                    "description": "As a number: at most 15 significant digits, within 1e-307 and 1e307, in the unit and in the domain's base unit. Stored and shown as written.",
                                    "type": "number"
                                  },
                                  "unit": {
                                    "description": "The code of a unit of the property's domain, case-sensitive (km, m2, degC, gal_us). One of another domain, or no code, is value_not_representable, and its expected.allowed names the codes of the domain that were meant.",
                                    "enum": [
                                      "m",
                                      "nm",
                                      "um",
                                      "mm",
                                      "cm",
                                      "dm",
                                      "km",
                                      "in",
                                      "ft",
                                      "yd",
                                      "mi",
                                      "nmi",
                                      "angstrom",
                                      "thou",
                                      "chain",
                                      "fathom",
                                      "furlong",
                                      "au",
                                      "ly",
                                      "pc",
                                      "m2",
                                      "mm2",
                                      "cm2",
                                      "ha",
                                      "km2",
                                      "in2",
                                      "ft2",
                                      "yd2",
                                      "ac",
                                      "mi2",
                                      "a",
                                      "m3",
                                      "mm3",
                                      "cm3",
                                      "mL",
                                      "cL",
                                      "dL",
                                      "L",
                                      "hL",
                                      "in3",
                                      "ft3",
                                      "yd3",
                                      "tsp_us",
                                      "tbsp_us",
                                      "floz_us",
                                      "cup_us",
                                      "pt_us",
                                      "qt_us",
                                      "gal_us",
                                      "bbl",
                                      "floz_imp",
                                      "pt_imp",
                                      "qt_imp",
                                      "gal_imp",
                                      "uL",
                                      "dm3",
                                      "tsp_metric",
                                      "tbsp_metric",
                                      "cup_metric",
                                      "kg",
                                      "ug",
                                      "mg",
                                      "g",
                                      "t",
                                      "oz",
                                      "lb",
                                      "st",
                                      "ton_us",
                                      "ton_imp",
                                      "gr",
                                      "ct",
                                      "ozt",
                                      "kt",
                                      "Mt",
                                      "K",
                                      "degC",
                                      "degF",
                                      "degR",
                                      "m/s",
                                      "km/h",
                                      "mph",
                                      "ft/s",
                                      "kn",
                                      "km/s",
                                      "m/min",
                                      "ft/min",
                                      "Pa",
                                      "hPa",
                                      "kPa",
                                      "MPa",
                                      "mbar",
                                      "bar",
                                      "atm",
                                      "mmHg",
                                      "psi",
                                      "inHg",
                                      "GPa",
                                      "kgf/cm2",
                                      "torr",
                                      "ksi",
                                      "J",
                                      "kJ",
                                      "MJ",
                                      "GJ",
                                      "Wh",
                                      "kWh",
                                      "MWh",
                                      "GWh",
                                      "cal",
                                      "kcal",
                                      "BTU",
                                      "mJ",
                                      "TJ",
                                      "TWh",
                                      "eV",
                                      "toe",
                                      "ft.lbf",
                                      "MMBtu",
                                      "therm_us",
                                      "therm_ec",
                                      "W",
                                      "mW",
                                      "kW",
                                      "MW",
                                      "GW",
                                      "PS",
                                      "hp",
                                      "BTU/h",
                                      "uW",
                                      "TW",
                                      "hp_e",
                                      "TR",
                                      "N",
                                      "kN",
                                      "kgf",
                                      "lbf",
                                      "mN",
                                      "MN",
                                      "dyn",
                                      "ozf",
                                      "kip",
                                      "s",
                                      "ms",
                                      "min",
                                      "h",
                                      "d",
                                      "wk",
                                      "ns",
                                      "us",
                                      "deg",
                                      "arcmin",
                                      "arcsec",
                                      "grad",
                                      "rad",
                                      "turn",
                                      "mrad",
                                      "Hz",
                                      "kHz",
                                      "MHz",
                                      "GHz",
                                      "rpm",
                                      "THz",
                                      "bpm",
                                      "B",
                                      "bit",
                                      "kB",
                                      "MB",
                                      "GB",
                                      "TB",
                                      "PB",
                                      "KiB",
                                      "MiB",
                                      "GiB",
                                      "TiB",
                                      "PiB",
                                      "kbit",
                                      "Mbit",
                                      "Gbit",
                                      "EB",
                                      "EiB",
                                      "bit/s",
                                      "kbit/s",
                                      "Mbit/s",
                                      "Gbit/s",
                                      "B/s",
                                      "kB/s",
                                      "MB/s",
                                      "Tbit/s",
                                      "GB/s",
                                      "KiB/s",
                                      "MiB/s",
                                      "A",
                                      "mA",
                                      "uA",
                                      "kA",
                                      "V",
                                      "mV",
                                      "kV",
                                      "uV",
                                      "MV",
                                      "C",
                                      "mAh",
                                      "Ah",
                                      "uC",
                                      "mC",
                                      "ratio",
                                      "percent",
                                      "permille",
                                      "ppm",
                                      "ppb",
                                      "bp",
                                      "ppt",
                                      "kg/m3",
                                      "g/L",
                                      "mg/L",
                                      "g/cm3",
                                      "g/mL",
                                      "kg/L",
                                      "t/m3",
                                      "lb/ft3",
                                      "lb/in3",
                                      "lb/gal_us",
                                      "m3/s",
                                      "m3/min",
                                      "m3/h",
                                      "L/s",
                                      "L/min",
                                      "L/h",
                                      "mL/min",
                                      "ft3/s",
                                      "ft3/min",
                                      "gal_us/min",
                                      "gal_imp/min",
                                      "bbl/d",
                                      "N.m",
                                      "mN.m",
                                      "kN.m",
                                      "kgf.m",
                                      "lbf.ft",
                                      "lbf.in",
                                      "ozf.in",
                                      "m/s2",
                                      "cm/s2",
                                      "km/h/s",
                                      "g0",
                                      "ft/s2",
                                      "in/s2",
                                      "ohm",
                                      "mohm",
                                      "kohm",
                                      "Mohm",
                                      "F",
                                      "mF",
                                      "uF",
                                      "nF",
                                      "pF",
                                      "lx",
                                      "klx",
                                      "fc",
                                      "mol",
                                      "nmol",
                                      "umol",
                                      "mmol",
                                      "kmol"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "unit"
                                ],
                                "type": "object"
                              }
                            ],
                            "description": "A text as a string, a number as a JSON number, a date as a string in the form of its property's precision and only that form: a year as \"2026\", a quarter as \"2026-Q4\", a month as \"2026-11\", a week as \"2026-W48\" (an ISO 8601 week, Monday to Sunday), a day as \"2026-11-25\", a time as \"2026-11-25T14:00:00+01:00\" (any offset, whole seconds; read back in UTC); any other form, such as a day in a month property, is value_not_representable, a boolean, an option as its identifier, a dump as its key (TASK-5; one that names no dump is reference_missing), a person as their usr_ identifier (one GET /projects/{p}/people lists when the value changes to them, or person_not_found), a geometry as a GeoJSON geometry object of the property's shape (a point a Point, a path a LineString, an area a Polygon with one ring; coordinates are rounded to 7 decimals, and a geometry that is not one is value_not_representable), a quantity as {\"amount\": 12.5, \"unit\": \"km\"} with the exact code of a unit of the property's domain (a bare number, another member, a unit that is not one, such as gal for gal_us, and an amount beyond the bounds of a number in the unit or the domain's base unit are value_not_representable, whose expected.allowed names the codes meant); null empties the value. A rich text is Markdown; a link to a dump or a dump schema is [text](dump:TASK-5) or [text](schema:TASK), by a key current or old, and one to a key that names nothing is link_target_missing. The text is stored as written; reads show each link by the key of the read. A mention of a person is [name](person:usr_5), never checked."
                          },
                          "description": "The values to change, keyed by property identifier; null empties one. Every other value stays as it is.",
                          "examples": [
                            {
                              "prp_22": 1300
                            }
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "strict": {
                          "description": "Conflict with any change to any value or list of the dump (its nested objects included) since the base (strict_changed), not only with changes to the values and items written.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "op",
                        "dump"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "op": {
                          "enum": [
                            "property.restore"
                          ],
                          "type": "string"
                        },
                        "property": {
                          "description": "The removed property, at any depth.",
                          "examples": [
                            "prp_21"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "property"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "description": {
                          "description": "The project's instruction for the schema. Write it for the people and agents who fill it in: what the schema means and which dumps belong in it. They read it before they write, and ask when a request disagrees with it.",
                          "maxLength": 2000,
                          "type": "string"
                        },
                        "key": {
                          "description": "The schema's key, which starts the keys of its dumps (INV for INV-1): 1 to 10 ASCII letters and digits, a letter first, stored in uppercase. It must be one no schema of the project has or had (schema_key_taken). Absent: one is made from the name (Bug report: BR; Invoices: INV), with a number added when that one is taken.",
                          "examples": [
                            "INV"
                          ],
                          "maxLength": 10,
                          "minLength": 1,
                          "pattern": "^[A-Za-z][A-Za-z0-9]*$",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "description": "The schema's name.",
                          "examples": [
                            "Invoice"
                          ],
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "op": {
                          "enum": [
                            "schema.create"
                          ],
                          "type": "string"
                        },
                        "properties": {
                          "description": "Its properties, in order.",
                          "items": {
                            "$ref": "#/components/schemas/NewProperty"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "ref": {
                          "description": "A local name for the new schema, for later operations (and for a reference property of this schema to itself) as \"$name\".",
                          "examples": [
                            "inv"
                          ],
                          "type": "string"
                        },
                        "singular": {
                          "description": "The name for one of its dumps, where a name reads as a count (Vessels: Vessel). Not unique, never derived from name; absent or \"\": none, and the app says dump.",
                          "examples": [
                            "Invoice"
                          ],
                          "maxLength": 200,
                          "type": "string"
                        },
                        "title": {
                          "description": "The title property: the one its dumps are labeled by, a live plain-text property of the schema itself (not nested) without a formula, by \"$name\" of a property of this operation (property_not_in_schema for another, wrong_type for another type or a formula). Stored only: the server labels nothing by it, and no read, filter or sort changes. Absent or \"\": none, and the app labels by the first plain-text property.",
                          "examples": [
                            "$number"
                          ],
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "op",
                        "name"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "op": {
                          "enum": [
                            "schema.remove"
                          ],
                          "type": "string"
                        },
                        "schema": {
                          "description": "The dump schema: its key, current or old, in any letter case (TASK).",
                          "examples": [
                            "TASK"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "schema"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "op": {
                          "enum": [
                            "schema.restore"
                          ],
                          "type": "string"
                        },
                        "schema": {
                          "description": "The dump schema: its key, current or old, in any letter case (TASK).",
                          "examples": [
                            "TASK"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "schema"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "add_properties": {
                          "description": "Properties to add, each at the end or after a sibling.",
                          "items": {
                            "$ref": "#/components/schemas/NewProperty"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "change_properties": {
                          "description": "Changes to existing properties, in order.",
                          "items": {
                            "$ref": "#/components/schemas/PropertyChange"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "change_sections": {
                          "description": "Changes to the page sections (linked_from, recent_changes), in order, applied after add_properties, change_properties and remove_properties, so that after sees the properties as the operation leaves them and may name one it adds (\"$name\").",
                          "items": {
                            "$ref": "#/components/schemas/SectionChange"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "description": {
                          "description": "A new description; \"\" removes it.",
                          "maxLength": 2000,
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "key": {
                          "description": "A new key for the schema, and so for its dumps (TASK-5 becomes TODO-5). Its old keys, and its dumps' old keys, keep naming them, and stay reserved by it: the schema can take an old key back, and no other schema can take one (schema_key_taken).",
                          "examples": [
                            "TODO"
                          ],
                          "maxLength": 10,
                          "minLength": 1,
                          "pattern": "^[A-Za-z][A-Za-z0-9]*$",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "description": "A new name.",
                          "maxLength": 200,
                          "minLength": 1,
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "op": {
                          "enum": [
                            "schema.update"
                          ],
                          "type": "string"
                        },
                        "remove_properties": {
                          "description": "Properties to remove. Removing hides a property and deletes nothing; property.restore brings it back with its values.",
                          "examples": [
                            [
                              "prp_21"
                            ]
                          ],
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "resolutions": {
                          "description": "Resolutions of the groups of values that a type change in this operation cannot convert, each naming its group as the resolution_required problem did. The whole change is checked again: a group without a resolution refuses it again, and a resolution for a group that no longer exists is ignored.",
                          "items": {
                            "$ref": "#/components/schemas/Resolution"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "schema": {
                          "description": "The dump schema to change: its key, current or old, in any letter case (TASK).",
                          "examples": [
                            "TASK"
                          ],
                          "type": "string"
                        },
                        "singular": {
                          "description": "A new name for one of its dumps (Vessels: Vessel); \"\" removes it. Not unique, never derived from name.",
                          "examples": [
                            "Vessel"
                          ],
                          "maxLength": 200,
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "description": "A new title property, checked after the rest of the operation: a live plain-text property of the schema itself (not nested) without a formula, by identifier or \"$name\" (property_not_in_schema for another, wrong_type for another type or a formula); \"\" removes it. Stored only: the server labels nothing by it. Removing the title property, or making it another type or computed, removes the choice in the same transaction; restoring the property does not bring it back.",
                          "examples": [
                            "prp_21"
                          ],
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "op",
                        "schema"
                      ],
                      "type": "object"
                    }
                  ],
                  "description": "One operation: \"op\" names it, and the other members are that operation's."
                },
                {
                  "type": "null"
                }
              ]
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "base",
          "operations"
        ],
        "type": "object"
      },
      "Invite": {
        "additionalProperties": false,
        "properties": {
          "can_withdraw": {
            "description": "Whether the caller may withdraw it: for an invite to the organization, whoever may remove an account of its privilege (DELETE /organizations/{o}/invites/{i}); for an invite to a project, whoever may give its tier there (DELETE /projects/{p}/invites/{i}).",
            "type": "boolean"
          },
          "created_at": {
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "description": "The address it is for, as it was given.",
            "examples": [
              "cas@example.com"
            ],
            "type": "string"
          },
          "expires_at": {
            "description": "It can be accepted until then: 14 days after it was made.",
            "examples": [
              "2026-12-04T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The invite's identifier.",
            "examples": [
              "inv_3"
            ],
            "type": "string"
          },
          "invited_by": {
            "description": "The account that invited them: a key of the page's actors.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "outside": {
            "description": "For an invite to a project: true when no member of the organization has the invite's address as their verified address (ignoring case). A test on the address only: it says nothing about whether the address has an account.",
            "type": "boolean"
          },
          "privilege": {
            "description": "For an invite to the organization: what the person becomes on accepting. Absent for an invite to a project.",
            "enum": [
              "administrator",
              "member"
            ],
            "type": "string"
          },
          "project": {
            "$ref": "#/components/schemas/Named",
            "description": "For an invite to a project (include projects): the project."
          },
          "tier": {
            "description": "For an invite to a project: the tier the person gets on it.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "email",
          "invited_by",
          "created_at",
          "expires_at",
          "can_withdraw"
        ],
        "type": "object"
      },
      "InvitesPage": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Who invited, keyed by account id: the invited_by of each invite of the page, once, named by the rules of the organization's pages.",
            "type": [
              "object",
              "null"
            ]
          },
          "cursor": {
            "description": "Send it alone in a QUERY to get the next page; absent on the last page.",
            "type": "string"
          },
          "invites": {
            "description": "Pending invites that have not expired, oldest first.",
            "items": {
              "$ref": "#/components/schemas/Invite"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "invites",
          "actors"
        ],
        "type": "object"
      },
      "InvitesQuery": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "The cursor of the previous page. It carries the page size and include too, so it can be sent alone.",
            "examples": [
              "eyJrIjoiaW52aXRlcyJ9"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "include": {
            "description": "projects adds the pending invites to the organization's projects where the caller is a Project Administrator (the Owner: every project), each with project, tier and outside.",
            "examples": [
              [
                "projects"
              ]
            ],
            "items": {
              "enum": [
                "projects"
              ],
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "limit": {
            "description": "How many items a page holds: 1 to 500, 50 when left out.",
            "examples": [
              100
            ],
            "maximum": 500,
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Issue": {
        "additionalProperties": false,
        "properties": {
          "property": {
            "examples": [
              "prp_country"
            ],
            "type": "string"
          },
          "reason": {
            "description": "Why it is errored.",
            "examples": [
              "required_missing"
            ],
            "type": "string"
          },
          "rule": {
            "description": "The message of the validation rule that failed, for reason rule_failed.",
            "type": "string"
          },
          "status": {
            "description": "errored or recalculating.",
            "examples": [
              "errored"
            ],
            "type": "string"
          }
        },
        "required": [
          "property",
          "status"
        ],
        "type": "object"
      },
      "IssueView": {
        "additionalProperties": false,
        "properties": {
          "message": {
            "description": "Why a formula or rule could not be evaluated, in one sentence (the formula_* reasons).",
            "type": "string"
          },
          "property": {
            "examples": [
              "prp_23"
            ],
            "type": "string"
          },
          "reason": {
            "description": "Why it is errored.",
            "examples": [
              "reference_wrong_schema"
            ],
            "type": "string"
          },
          "rule": {
            "description": "The message of the validation rule that failed (rule_failed) or could not be evaluated.",
            "type": "string"
          },
          "status": {
            "description": "errored or recalculating.",
            "examples": [
              "errored"
            ],
            "type": "string"
          },
          "stored": {
            "description": "An errored property's stored value, which values shows as null, so that it can be fixed. Absent when there is none.",
            "examples": [
              "SUP-55"
            ]
          }
        },
        "required": [
          "property",
          "status"
        ],
        "type": "object"
      },
      "ItemChange": {
        "additionalProperties": false,
        "properties": {
          "change": {
            "description": "added, moved or removed.",
            "examples": [
              "added"
            ],
            "type": "string"
          },
          "dump": {
            "description": "The dump, by its key as of the page's transaction.",
            "examples": [
              "INV-103"
            ],
            "type": "string"
          },
          "item": {
            "description": "The option, the dump (by its key as of the page's transaction) or the nested object.",
            "examples": [
              "opt_61"
            ],
            "type": "string"
          },
          "moved_from": {
            "$ref": "#/components/schemas/MovedFrom",
            "description": "Added by a move: the item it was copied from."
          },
          "nested_object": {
            "examples": [
              "nob_1"
            ],
            "type": "string"
          },
          "previous": {
            "description": "The transaction of the item's previous change; absent when it is new.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "property": {
            "examples": [
              "prp_24"
            ],
            "type": "string"
          }
        },
        "required": [
          "dump",
          "property",
          "item",
          "change"
        ],
        "type": "object"
      },
      "Key": {
        "additionalProperties": false,
        "properties": {
          "added_at": {
            "description": "When the agent registered it.",
            "examples": [
              "2026-11-20T10:05:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "added_by": {
            "description": "The person whose one-time code registered it, or, for a key the agent added itself, the person the key it proved that with belongs to. Holding a key is holding the agent's access: the key is removed when the agent comes to reach further than this person (a grant or group invite raised, the agent promoted, the person lowered or removed).",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "fingerprint": {
            "description": "Names the public key without being a secret: the first 80 bits of its SHA-256 in lower-case base32, in groups of four. The agent sees the same one (GET /me/keys). Show it with the key's id and added_at: a key made to look like another shares neither.",
            "examples": [
              "q2lk-mfrg-gzdf-mztw"
            ],
            "type": "string"
          },
          "id": {
            "description": "The key's identifier, as the agent names it in its sign-in statements.",
            "examples": [
              "key_34"
            ],
            "type": "string"
          },
          "in_use": {
            "description": "True while a session the agent signed in with this key is live (not expired, not ended).",
            "type": "boolean"
          },
          "last_used_at": {
            "description": "When the agent last signed in with this key (POST /agent-sign-ins). Absent: never. An ordinary request does not move it.",
            "examples": [
              "2026-11-20T10:06:00Z"
            ],
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "added_at",
          "added_by",
          "fingerprint",
          "in_use"
        ],
        "type": "object"
      },
      "KeyRegistration": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The one-time code a person gave the agent when they set it up: 32 letters and digits (base32), shown to them once. It works once, for 15 minutes. Required.",
            "examples": [
              "mfrggzdfmztwq2lknnwg23tpobyxe43u"
            ],
            "type": "string"
          },
          "public_key": {
            "description": "The agent's Ed25519 public key: its 32 raw bytes (RFC 8032) in base64url without padding, 43 characters. Nothing else is accepted: no PEM, no DER, no other curve. The private key never leaves the agent.",
            "examples": [
              "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo"
            ],
            "type": "string"
          }
        },
        "required": [
          "public_key"
        ],
        "type": "object"
      },
      "KeyRemoval": {
        "additionalProperties": false,
        "properties": {
          "signature": {
            "description": "The Ed25519 signature of the statement's bytes with the private key of the key this session signed in with: 64 bytes in base64url without padding, 86 characters.",
            "examples": [
              "Zm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYg"
            ],
            "type": "string"
          },
          "statement": {
            "description": "The proof that the caller holds the private key this session signed in with: eight lines separated by LF, with no LF at the end: 'purpose: brain-dump-agent-remove-key', 'version: 1', 'audience: <this server's public URL>', 'agent: <this agent>', 'key: <the key this session signed in with>', 'time: <now in UTC>', 'nonce: <16 or more fresh random bytes in base64url>', 'remove-key: <the key in the path>'.",
            "examples": [
              "purpose: brain-dump-agent-remove-key\nversion: 1\naudience: https://braindump.example\nagent: agt_12\nkey: key_51\ntime: 2026-11-20T10:05:00Z\nnonce: c2l4dGVlbiBtb3JlIGJ5dGVz\nremove-key: key_34"
            ],
            "type": "string"
          }
        },
        "required": [
          "statement",
          "signature"
        ],
        "type": "object"
      },
      "Keys": {
        "additionalProperties": false,
        "properties": {
          "keys": {
            "description": "The agent's live keys, the oldest first: none, one or two.",
            "items": {
              "$ref": "#/components/schemas/Key"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "keys"
        ],
        "type": "object"
      },
      "LastActivity": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "by": {
            "description": "Who sent it: a key of the page's actors.",
            "examples": [
              "agt_7"
            ],
            "type": "string"
          },
          "dump": {
            "description": "The dump's key now, for the dump kinds.",
            "examples": [
              "VSL-3"
            ],
            "type": "string"
          },
          "kind": {
            "description": "What it did to its subject, the lowest dump it wrote, or else the lowest dump schema it changed: dump_created, dump_changed (values or lists only), dump_deleted, dump_restored, dump_moved; schema_created, schema_changed, schema_removed; other when it touched neither (a saved view, a grant).",
            "enum": [
              "dump_created",
              "dump_changed",
              "dump_deleted",
              "dump_restored",
              "dump_moved",
              "schema_created",
              "schema_changed",
              "schema_removed",
              "other"
            ],
            "type": "string"
          },
          "schema": {
            "$ref": "#/components/schemas/ActivitySchema",
            "description": "The schema as it is now, for the schema kinds."
          }
        },
        "required": [
          "at",
          "by",
          "kind"
        ],
        "type": "object"
      },
      "LastChange": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When the transaction was recorded.",
            "examples": [
              "2026-11-20T10:06:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "dump": {
            "description": "The dump it changed, by its current key, when it changed one (a value, a list or the dump itself).",
            "examples": [
              "INV-103"
            ],
            "type": "string"
          },
          "project": {
            "$ref": "#/components/schemas/Named",
            "description": "The project the change was made in."
          },
          "property": {
            "$ref": "#/components/schemas/Named",
            "description": "The property whose value or definition it changed, when one."
          },
          "schema": {
            "description": "The dump schema of that dump, or the one whose definition it changed, by its current key; a nested schema counts as the dump schema it is in.",
            "examples": [
              "INV"
            ],
            "type": "string"
          }
        },
        "required": [
          "project",
          "at"
        ],
        "type": "object"
      },
      "LinkView": {
        "additionalProperties": false,
        "properties": {
          "property": {
            "examples": [
              "prp_21"
            ],
            "type": "string"
          },
          "reason": {
            "description": "dump_not_found, dump_deleted, schema_removed (the dump's schema or the linked one) or schema_not_found.",
            "examples": [
              "dump_deleted"
            ],
            "type": "string"
          },
          "target": {
            "description": "What the link points at: a dump or a dump schema, by key (TASK-5, TASK).",
            "examples": [
              "TASK-5"
            ],
            "type": "string"
          }
        },
        "required": [
          "property",
          "target",
          "reason"
        ],
        "type": "object"
      },
      "LinkedFrom": {
        "additionalProperties": false,
        "properties": {
          "dumps": {
            "description": "The live dumps, other than this one, that link to it as of the read, each once, ordered by schema key, then number.",
            "items": {
              "$ref": "#/components/schemas/LinkingDump"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "more": {
            "description": "There are more such dumps than dumps lists.",
            "type": "boolean"
          },
          "transaction": {
            "description": "The transaction the read reflects.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "dumps",
          "more"
        ],
        "type": "object"
      },
      "LinkingDump": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "description": "The dump's key as of the read.",
            "examples": [
              "INV-103"
            ],
            "type": "string"
          },
          "label": {
            "description": "The text of its schema's title property, else of the schema's first live plain-text property, as of the read. Absent when that property is empty or not valid, or the schema has none.",
            "examples": [
              "INV-0044"
            ],
            "type": "string"
          },
          "schema": {
            "description": "The key of its dump schema as of the read.",
            "examples": [
              "INV"
            ],
            "type": "string"
          }
        },
        "required": [
          "key",
          "schema"
        ],
        "type": "object"
      },
      "ListChange": {
        "additionalProperties": false,
        "properties": {
          "add": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "description": "An option identifier or a dump key, or \"$name\".",
                    "type": "string"
                  },
                  {
                    "additionalProperties": {},
                    "description": "A new nested object's values, keyed by property identifier, written like set.",
                    "type": "object"
                  }
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Add an item: an option by identifier, or a dump of a to-many reference by key (one that names no dump is reference_missing), or a person by usr_ identifier (one who is not in the list and not a person of the project is person_not_found); for a list of nested objects, a new nested object as an object of its values, keyed by property ({} for none). An option, dump or person already in the list changes nothing."
          },
          "after": {
            "description": "With add or move: the item to put it after. When that item is not in the list (any more), at the end.",
            "examples": [
              "opt_61"
            ],
            "type": "string"
          },
          "first": {
            "description": "With add or move: put it first. Without first or after, add and move put the item at the end.",
            "type": "boolean"
          },
          "move": {
            "description": "Move an item, by identifier, to after (or first). Conflicts with another reorder of the list since the base (list_reordered). An item no longer in the list changes nothing.",
            "examples": [
              "opt_62"
            ],
            "type": "string"
          },
          "object": {
            "description": "The nested object whose list it is (\"$name\" too); absent for a list of the dump itself.",
            "examples": [
              "nob_1"
            ],
            "type": "string"
          },
          "property": {
            "description": "The list: a multi-select, a to-many reference, a to-many person property or a list of nested objects (\"$name\" too).",
            "examples": [
              "prp_24"
            ],
            "type": "string"
          },
          "ref": {
            "description": "A local name for the nested object that add creates, for later operations as \"$name\".",
            "examples": [
              "line1"
            ],
            "type": "string"
          },
          "remove": {
            "description": "Remove an item, by identifier. An item that is not in the list (removed already) changes nothing.",
            "examples": [
              "opt_61"
            ],
            "type": "string"
          }
        },
        "required": [
          "property"
        ],
        "type": "object"
      },
      "Me": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The account's identifier: usr_ for a person, agt_ for an agent.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "agents": {
            "$ref": "#/components/schemas/MeAgents",
            "description": "A person's User Agents. Absent for an agent."
          },
          "authenticator": {
            "$ref": "#/components/schemas/MeAuthenticator",
            "description": "A person's authenticator app (2FA). Absent for an agent."
          },
          "consent": {
            "$ref": "#/components/schemas/MeConsent",
            "description": "Whether the account must agree to the current terms and privacy statement before anything else, and those documents."
          },
          "email": {
            "description": "A person's address, their sign-in name. Agents have none.",
            "examples": [
              "ann@example.com"
            ],
            "type": "string"
          },
          "invites": {
            "$ref": "#/components/schemas/MeInvites",
            "description": "A person's invitations. Absent for an agent."
          },
          "kind": {
            "description": "Whether the account is a person or an agent.",
            "enum": [
              "human",
              "agent"
            ],
            "type": "string"
          },
          "name": {
            "description": "The account's name. A person's is the part of their address before the @ until they change it.",
            "examples": [
              "ann"
            ],
            "type": "string"
          },
          "organizations": {
            "description": "Every organization the account is in, with its privilege there as it stands now, by identifier.",
            "items": {
              "$ref": "#/components/schemas/MemberOrganization"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "preferences": {
            "$ref": "#/components/schemas/Preferences",
            "description": "A person's preferences. Absent for an agent."
          }
        },
        "required": [
          "account",
          "kind",
          "name",
          "organizations",
          "consent"
        ],
        "type": "object"
      },
      "MeAgents": {
        "additionalProperties": false,
        "properties": {
          "live": {
            "description": "How many of the person's User Agents are not paused.",
            "examples": [
              1
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "live"
        ],
        "type": "object"
      },
      "MeAuthenticator": {
        "additionalProperties": false,
        "properties": {
          "enabled": {
            "description": "Whether signing in asks for a code from the authenticator app (or a recovery code).",
            "examples": [
              true
            ],
            "type": "boolean"
          },
          "recovery_codes_left": {
            "description": "How many of the person's recovery codes are unused; 0 while the authenticator is off. Make a new set with POST /me/recovery-codes.",
            "examples": [
              10
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "enabled",
          "recovery_codes_left"
        ],
        "type": "object"
      },
      "MeChange": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "description": "A new name, as the person types it: 1 to 200 characters after spaces at both ends are dropped, with a letter, digit or symbol and without control, invisible or direction-changing characters. Not unique and not verified.",
            "examples": [
              "Tinus Haring"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "string",
              "null"
            ]
          },
          "preferences": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PreferencesChange"
              },
              {
                "type": "null"
              }
            ],
            "description": "Preferences to change."
          }
        },
        "type": "object"
      },
      "MeConsent": {
        "additionalProperties": false,
        "properties": {
          "documents": {
            "description": "The current documents: the terms of use, then the privacy statement.",
            "items": {
              "$ref": "#/components/schemas/Document"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "needed": {
            "description": "True while the account must agree to the current documents before anything else: every operation but GET /me and POST /me/consents answers consent_needed. Always false for an agent and for an account from before consent was recorded.",
            "type": "boolean"
          }
        },
        "required": [
          "needed",
          "documents"
        ],
        "type": "object"
      },
      "MeInvites": {
        "additionalProperties": false,
        "properties": {
          "pending": {
            "description": "How many invitations wait for the person's answer: the invites GET /me/invites lists and the ownership transfers GET /me/ownership-transfers lists. Accepted, declined, revoked, canceled and lapsed ones are not counted.",
            "examples": [
              2
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "pending"
        ],
        "type": "object"
      },
      "Member": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The account's identifier: usr_ for a person, agt_ for an Organization Agent.",
            "examples": [
              "usr_2"
            ],
            "type": "string"
          },
          "address_hint": {
            "description": "A person's address redacted: the first two characters before the @ (one when there are one or two), three asterisks and the domain. Only in the Owner's read, for people with an address.",
            "examples": [
              "bo***@example.com"
            ],
            "type": "string"
          },
          "can_demote": {
            "description": "Whether the caller may make this Organization Administrator a member (PATCH with privilege member).",
            "type": "boolean"
          },
          "can_promote": {
            "description": "Whether the caller may make this member an Organization Administrator (PATCH with privilege administrator).",
            "type": "boolean"
          },
          "can_remove": {
            "description": "Whether the caller may remove this member (DELETE); for the caller itself, whether it may leave.",
            "type": "boolean"
          },
          "disabled": {
            "description": "True for an account that is disabled: it still holds its membership but can do nothing.",
            "type": "boolean"
          },
          "email": {
            "description": "A person's verified address. Every member of the organization sees it; agents have none.",
            "examples": [
              "bob@example.com"
            ],
            "type": "string"
          },
          "kind": {
            "description": "human for a person, agent for an Organization Agent. User Agents are never members: they act for their user.",
            "enum": [
              "human",
              "agent"
            ],
            "type": "string"
          },
          "name": {
            "examples": [
              "bob"
            ],
            "type": "string"
          },
          "privilege": {
            "description": "Its privilege in the organization.",
            "enum": [
              "member",
              "administrator",
              "owner"
            ],
            "type": "string"
          },
          "since": {
            "description": "When it became a member.",
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "account",
          "kind",
          "name",
          "privilege",
          "since",
          "disabled",
          "can_promote",
          "can_demote",
          "can_remove"
        ],
        "type": "object"
      },
      "MemberChange": {
        "additionalProperties": false,
        "properties": {
          "privilege": {
            "description": "The member's new privilege: administrator or member.",
            "enum": [
              "administrator",
              "member"
            ],
            "type": "string"
          }
        },
        "required": [
          "privilege"
        ],
        "type": "object"
      },
      "MemberOrganization": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The organization's identifier.",
            "examples": [
              "org_1"
            ],
            "type": "string"
          },
          "name": {
            "description": "The organization's name.",
            "examples": [
              "ann's organization"
            ],
            "type": "string"
          },
          "people": {
            "description": "How many people (human members) the organization has; agents are not counted.",
            "examples": [
              1
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "personal": {
            "description": "True while the organization is the private one made at sign-up: a second person has never joined it. It never turns true again, not when that person leaves.",
            "examples": [
              true
            ],
            "type": "boolean"
          },
          "privilege": {
            "description": "The account's privilege in the organization.",
            "enum": [
              "member",
              "administrator",
              "owner"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "privilege",
          "personal",
          "people"
        ],
        "type": "object"
      },
      "Members": {
        "additionalProperties": false,
        "properties": {
          "agents": {
            "description": "The Organization Agents that can open the project now, by a personal grant or the Organization Agents group invite, each once; paused ones are left out. Only for Project Administrators and the Owner, who can list them; left out for everyone else. User Agents act for a person and are not counted.",
            "examples": [
              2
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "humans": {
            "description": "The people of the project now: the Owner, each person with a personal grant, and every person the humans group invite reaches, each once. Disabled accounts and User Agents are left out. GET /projects/{p}/people lists them.",
            "examples": [
              4
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "humans"
        ],
        "type": "object"
      },
      "MembersPage": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "Send it alone in a QUERY to get the next page; absent on the last page.",
            "type": "string"
          },
          "members": {
            "description": "Members by account identifier, oldest account first.",
            "items": {
              "$ref": "#/components/schemas/Member"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "members"
        ],
        "type": "object"
      },
      "MovedFrom": {
        "additionalProperties": false,
        "properties": {
          "nested_object": {
            "description": "The nested object that held it, when it was not the dump itself.",
            "examples": [
              "nob_1"
            ],
            "type": "string"
          },
          "property": {
            "description": "The property of the schema the dump left.",
            "examples": [
              "prp_11"
            ],
            "type": "string"
          },
          "transaction": {
            "description": "The transaction that wrote the version it copies.",
            "examples": [
              640
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "property",
          "transaction"
        ],
        "type": "object"
      },
      "MyAgent": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The agent: a key of the page's actors too.",
            "examples": [
              "agt_12"
            ],
            "type": "string"
          },
          "level": {
            "description": "The tier the agent has on the project now: what its person delegated, capped at the person's tier.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          },
          "name": {
            "examples": [
              "Harbourmaster"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "level"
        ],
        "type": "object"
      },
      "MyInvite": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "description": "When it was sent.",
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "expires_at": {
            "examples": [
              "2026-12-04T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The invite's identifier.",
            "examples": [
              "inv_3"
            ],
            "type": "string"
          },
          "invited_by": {
            "description": "The account that sent it: a key of actors. A User Agent is named as its person's agent.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "inviter_address_hint": {
            "description": "The sender's address, redacted: the first two characters before the @ (one when there are one or two), three asterisks and the domain; for a User Agent, its person's. Absent when there is none (an Organization Agent). Never the full address.",
            "examples": [
              "an***@example.com"
            ],
            "type": "string"
          },
          "inviter_name": {
            "description": "The name of the person who invited them; for an invite a User Agent sent, the name of the person it acts for, never the agent's.",
            "examples": [
              "ann"
            ],
            "type": "string"
          },
          "kind": {
            "description": "Whether it is to an organization or to one of its projects.",
            "enum": [
              "organization",
              "project"
            ],
            "type": "string"
          },
          "organization": {
            "$ref": "#/components/schemas/Named",
            "description": "The organization it is to, or whose project it is to."
          },
          "privilege": {
            "description": "For an invite to an organization: what they become there.",
            "enum": [
              "administrator",
              "member"
            ],
            "type": "string"
          },
          "project": {
            "$ref": "#/components/schemas/Named",
            "description": "The project, for an invite to a project."
          },
          "tier": {
            "description": "For an invite to a project: the tier they get on it.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "organization",
          "inviter_name",
          "invited_by",
          "created_at",
          "expires_at"
        ],
        "type": "object"
      },
      "MyInvites": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "The senders of the page's invites, keyed by account id, named as for an invitation: a person and an Organization Agent by name, a User Agent as its person's agent, never by its own name.",
            "type": [
              "object",
              "null"
            ]
          },
          "cursor": {
            "description": "Send it alone in a QUERY /me/invites to get the next page; absent on the last page.",
            "type": "string"
          },
          "invites": {
            "description": "Pending invites to the caller's verified address that have not expired and whose inviter may still make them, the newest first. Agents have no address and so none.",
            "items": {
              "$ref": "#/components/schemas/MyInvite"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "invites",
          "actors"
        ],
        "type": "object"
      },
      "MyTransfer": {
        "additionalProperties": false,
        "properties": {
          "expires_at": {
            "description": "The caller can accept it until then: 14 days after it was started.",
            "examples": [
              "2026-12-07T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The transfer's identifier: accept or decline it with POST /me/ownership-transfers/{t}/accept or /decline.",
            "examples": [
              "trf_3"
            ],
            "type": "string"
          },
          "organization": {
            "$ref": "#/components/schemas/Named",
            "description": "The organization it would make the caller the Owner of, with its current name."
          },
          "owner": {
            "description": "The Owner who started it: a key of actors.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "owner_address_hint": {
            "description": "The Owner's address, redacted: the first two characters before the @ (one when there are one or two), three asterisks and the domain. Absent when the account has no address.",
            "examples": [
              "an***@example.com"
            ],
            "type": "string"
          },
          "started_at": {
            "examples": [
              "2026-11-23T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "organization",
          "owner",
          "started_at",
          "expires_at"
        ],
        "type": "object"
      },
      "MyTransfers": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "The Owners who started them, keyed by account id, named as for an invitation.",
            "type": [
              "object",
              "null"
            ]
          },
          "transfers": {
            "description": "The pending ownership transfers to the caller that still stand, the newest first. There is at most one per organization.",
            "items": {
              "$ref": "#/components/schemas/MyTransfer"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "transfers",
          "actors"
        ],
        "type": "object"
      },
      "Named": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "examples": [
              "org_1"
            ],
            "type": "string"
          },
          "name": {
            "examples": [
              "Acme"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "NestedSet": {
        "additionalProperties": false,
        "properties": {
          "object": {
            "description": "The nested object: an identifier, or \"$name\" of one added earlier in the transaction. With property, the object whose to-one nested property it is.",
            "examples": [
              "nob_1"
            ],
            "type": "string"
          },
          "property": {
            "description": "A to-one nested property (of the dump, or of object): write the fields of its nested object, which the first write creates.",
            "examples": [
              "prp_27"
            ],
            "type": "string"
          },
          "set": {
            "additionalProperties": {
              "anyOf": [
                {},
                {
                  "description": "A geo value: a GeoJSON geometry of the property's shape.",
                  "oneOf": [
                    {
                      "description": "A point.",
                      "properties": {
                        "coordinates": {
                          "description": "[longitude, latitude] in WGS84.",
                          "items": {
                            "type": "number"
                          },
                          "maxItems": 2,
                          "minItems": 2,
                          "type": "array"
                        },
                        "type": {
                          "const": "Point",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "coordinates"
                      ],
                      "type": "object"
                    },
                    {
                      "description": "A path: at least 2 different points.",
                      "properties": {
                        "coordinates": {
                          "items": {
                            "description": "[longitude, latitude] in WGS84.",
                            "items": {
                              "type": "number"
                            },
                            "maxItems": 2,
                            "minItems": 2,
                            "type": "array"
                          },
                          "maxItems": 1000,
                          "minItems": 2,
                          "type": "array"
                        },
                        "type": {
                          "const": "LineString",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "coordinates"
                      ],
                      "type": "object"
                    },
                    {
                      "description": "A path that crosses the antimeridian, and only such a path: cut there into lines that meet at longitude 180 and -180 at the same latitude (RFC 7946 §3.1.9).",
                      "properties": {
                        "coordinates": {
                          "items": {
                            "items": {
                              "description": "[longitude, latitude] in WGS84.",
                              "items": {
                                "type": "number"
                              },
                              "maxItems": 2,
                              "minItems": 2,
                              "type": "array"
                            },
                            "maxItems": 1000,
                            "minItems": 2,
                            "type": "array"
                          },
                          "minItems": 2,
                          "type": "array"
                        },
                        "type": {
                          "const": "MultiLineString",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "coordinates"
                      ],
                      "type": "object"
                    },
                    {
                      "description": "An area: one closed ring (the last position repeats the first), that does not cross or touch itself.",
                      "properties": {
                        "coordinates": {
                          "items": {
                            "items": {
                              "description": "[longitude, latitude] in WGS84.",
                              "items": {
                                "type": "number"
                              },
                              "maxItems": 2,
                              "minItems": 2,
                              "type": "array"
                            },
                            "maxItems": 1000,
                            "minItems": 4,
                            "type": "array"
                          },
                          "maxItems": 1,
                          "minItems": 1,
                          "type": "array"
                        },
                        "type": {
                          "const": "Polygon",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "coordinates"
                      ],
                      "type": "object"
                    },
                    {
                      "description": "An area that crosses the antimeridian, and only such an area: cut there into polygons of one ring each, each with an edge along longitude 180 or -180, that joined along the edges they share make one ring (RFC 7946 §3.1.9).",
                      "properties": {
                        "coordinates": {
                          "items": {
                            "items": {
                              "items": {
                                "description": "[longitude, latitude] in WGS84.",
                                "items": {
                                  "type": "number"
                                },
                                "maxItems": 2,
                                "minItems": 2,
                                "type": "array"
                              },
                              "maxItems": 1000,
                              "minItems": 4,
                              "type": "array"
                            },
                            "maxItems": 1,
                            "minItems": 1,
                            "type": "array"
                          },
                          "minItems": 2,
                          "type": "array"
                        },
                        "type": {
                          "const": "MultiPolygon",
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "coordinates"
                      ],
                      "type": "object"
                    }
                  ]
                },
                {
                  "additionalProperties": false,
                  "description": "A quantity: an amount and the exact code of a unit of the property's domain.",
                  "properties": {
                    "amount": {
                      "description": "As a number: at most 15 significant digits, within 1e-307 and 1e307, in the unit and in the domain's base unit. Stored and shown as written.",
                      "type": "number"
                    },
                    "unit": {
                      "description": "The code of a unit of the property's domain, case-sensitive (km, m2, degC, gal_us). One of another domain, or no code, is value_not_representable, and its expected.allowed names the codes of the domain that were meant.",
                      "enum": [
                        "m",
                        "nm",
                        "um",
                        "mm",
                        "cm",
                        "dm",
                        "km",
                        "in",
                        "ft",
                        "yd",
                        "mi",
                        "nmi",
                        "angstrom",
                        "thou",
                        "chain",
                        "fathom",
                        "furlong",
                        "au",
                        "ly",
                        "pc",
                        "m2",
                        "mm2",
                        "cm2",
                        "ha",
                        "km2",
                        "in2",
                        "ft2",
                        "yd2",
                        "ac",
                        "mi2",
                        "a",
                        "m3",
                        "mm3",
                        "cm3",
                        "mL",
                        "cL",
                        "dL",
                        "L",
                        "hL",
                        "in3",
                        "ft3",
                        "yd3",
                        "tsp_us",
                        "tbsp_us",
                        "floz_us",
                        "cup_us",
                        "pt_us",
                        "qt_us",
                        "gal_us",
                        "bbl",
                        "floz_imp",
                        "pt_imp",
                        "qt_imp",
                        "gal_imp",
                        "uL",
                        "dm3",
                        "tsp_metric",
                        "tbsp_metric",
                        "cup_metric",
                        "kg",
                        "ug",
                        "mg",
                        "g",
                        "t",
                        "oz",
                        "lb",
                        "st",
                        "ton_us",
                        "ton_imp",
                        "gr",
                        "ct",
                        "ozt",
                        "kt",
                        "Mt",
                        "K",
                        "degC",
                        "degF",
                        "degR",
                        "m/s",
                        "km/h",
                        "mph",
                        "ft/s",
                        "kn",
                        "km/s",
                        "m/min",
                        "ft/min",
                        "Pa",
                        "hPa",
                        "kPa",
                        "MPa",
                        "mbar",
                        "bar",
                        "atm",
                        "mmHg",
                        "psi",
                        "inHg",
                        "GPa",
                        "kgf/cm2",
                        "torr",
                        "ksi",
                        "J",
                        "kJ",
                        "MJ",
                        "GJ",
                        "Wh",
                        "kWh",
                        "MWh",
                        "GWh",
                        "cal",
                        "kcal",
                        "BTU",
                        "mJ",
                        "TJ",
                        "TWh",
                        "eV",
                        "toe",
                        "ft.lbf",
                        "MMBtu",
                        "therm_us",
                        "therm_ec",
                        "W",
                        "mW",
                        "kW",
                        "MW",
                        "GW",
                        "PS",
                        "hp",
                        "BTU/h",
                        "uW",
                        "TW",
                        "hp_e",
                        "TR",
                        "N",
                        "kN",
                        "kgf",
                        "lbf",
                        "mN",
                        "MN",
                        "dyn",
                        "ozf",
                        "kip",
                        "s",
                        "ms",
                        "min",
                        "h",
                        "d",
                        "wk",
                        "ns",
                        "us",
                        "deg",
                        "arcmin",
                        "arcsec",
                        "grad",
                        "rad",
                        "turn",
                        "mrad",
                        "Hz",
                        "kHz",
                        "MHz",
                        "GHz",
                        "rpm",
                        "THz",
                        "bpm",
                        "B",
                        "bit",
                        "kB",
                        "MB",
                        "GB",
                        "TB",
                        "PB",
                        "KiB",
                        "MiB",
                        "GiB",
                        "TiB",
                        "PiB",
                        "kbit",
                        "Mbit",
                        "Gbit",
                        "EB",
                        "EiB",
                        "bit/s",
                        "kbit/s",
                        "Mbit/s",
                        "Gbit/s",
                        "B/s",
                        "kB/s",
                        "MB/s",
                        "Tbit/s",
                        "GB/s",
                        "KiB/s",
                        "MiB/s",
                        "A",
                        "mA",
                        "uA",
                        "kA",
                        "V",
                        "mV",
                        "kV",
                        "uV",
                        "MV",
                        "C",
                        "mAh",
                        "Ah",
                        "uC",
                        "mC",
                        "ratio",
                        "percent",
                        "permille",
                        "ppm",
                        "ppb",
                        "bp",
                        "ppt",
                        "kg/m3",
                        "g/L",
                        "mg/L",
                        "g/cm3",
                        "g/mL",
                        "kg/L",
                        "t/m3",
                        "lb/ft3",
                        "lb/in3",
                        "lb/gal_us",
                        "m3/s",
                        "m3/min",
                        "m3/h",
                        "L/s",
                        "L/min",
                        "L/h",
                        "mL/min",
                        "ft3/s",
                        "ft3/min",
                        "gal_us/min",
                        "gal_imp/min",
                        "bbl/d",
                        "N.m",
                        "mN.m",
                        "kN.m",
                        "kgf.m",
                        "lbf.ft",
                        "lbf.in",
                        "ozf.in",
                        "m/s2",
                        "cm/s2",
                        "km/h/s",
                        "g0",
                        "ft/s2",
                        "in/s2",
                        "ohm",
                        "mohm",
                        "kohm",
                        "Mohm",
                        "F",
                        "mF",
                        "uF",
                        "nF",
                        "pF",
                        "lx",
                        "klx",
                        "fc",
                        "mol",
                        "nmol",
                        "umol",
                        "mmol",
                        "kmol"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "amount",
                    "unit"
                  ],
                  "type": "object"
                }
              ],
              "description": "A text as a string, a number as a JSON number, a date as a string in the form of its property's precision and only that form: a year as \"2026\", a quarter as \"2026-Q4\", a month as \"2026-11\", a week as \"2026-W48\" (an ISO 8601 week, Monday to Sunday), a day as \"2026-11-25\", a time as \"2026-11-25T14:00:00+01:00\" (any offset, whole seconds; read back in UTC); any other form, such as a day in a month property, is value_not_representable, a boolean, an option as its identifier, a dump as its key (TASK-5; one that names no dump is reference_missing), a person as their usr_ identifier (one GET /projects/{p}/people lists when the value changes to them, or person_not_found), a geometry as a GeoJSON geometry object of the property's shape (a point a Point, a path a LineString, an area a Polygon with one ring; coordinates are rounded to 7 decimals, and a geometry that is not one is value_not_representable), a quantity as {\"amount\": 12.5, \"unit\": \"km\"} with the exact code of a unit of the property's domain (a bare number, another member, a unit that is not one, such as gal for gal_us, and an amount beyond the bounds of a number in the unit or the domain's base unit are value_not_representable, whose expected.allowed names the codes meant); null empties the value. A rich text is Markdown; a link to a dump or a dump schema is [text](dump:TASK-5) or [text](schema:TASK), by a key current or old, and one to a key that names nothing is link_target_missing. The text is stored as written; reads show each link by the key of the read. A mention of a person is [name](person:usr_5), never checked."
            },
            "description": "The values to change, keyed by property of the nested schema; null empties one.",
            "examples": [
              {
                "prp_31": 1000
              }
            ],
            "type": [
              "object",
              "null"
            ]
          }
        },
        "required": [
          "set"
        ],
        "type": "object"
      },
      "NewDelegation": {
        "additionalProperties": false,
        "properties": {
          "level": {
            "description": "In an organization: member, administrator or owner. On a project: reader, writer, developer or administrator. At most what you hold there now.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator",
              "member",
              "owner"
            ],
            "type": "string"
          },
          "scope": {
            "description": "The organization (org_) or project (prj_) to delegate in.",
            "examples": [
              "prj_3"
            ],
            "type": "string"
          }
        },
        "required": [
          "scope",
          "level"
        ],
        "type": "object"
      },
      "NewGrant": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The Organization Agent: an agt_ identifier of an agent of the project's organization.",
            "examples": [
              "agt_7"
            ],
            "type": "string"
          },
          "tier": {
            "description": "Its tier: reader, writer, developer, or administrator, which only the Owner gives.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "account",
          "tier"
        ],
        "type": "object"
      },
      "NewInvite": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The address of the person to invite. Only someone signed in with exactly this verified address (ignoring case) can accept.",
            "examples": [
              "cas@example.com"
            ],
            "format": "email",
            "maxLength": 254,
            "type": "string"
          },
          "privilege": {
            "anyOf": [
              {
                "enum": [
                  "administrator",
                  "member"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "What they become on accepting: member (the default), or administrator, which only the Owner may give."
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "NewKey": {
        "additionalProperties": false,
        "properties": {
          "public_key": {
            "description": "The new Ed25519 public key: its 32 raw bytes in base64url without padding, 43 characters, as for POST /agent-keys.",
            "examples": [
              "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo"
            ],
            "type": "string"
          },
          "signature": {
            "description": "The Ed25519 signature of the statement's bytes with the private key of the key this session signed in with: 64 bytes in base64url without padding, 86 characters.",
            "examples": [
              "Zm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYg"
            ],
            "type": "string"
          },
          "statement": {
            "description": "The proof that the caller holds the private key this session signed in with: eight lines separated by LF, with no LF at the end: 'purpose: brain-dump-agent-add-key', 'version: 1', 'audience: <this server's public URL>', 'agent: <this agent>', 'key: <the key this session signed in with>', 'time: <now in UTC>', 'nonce: <16 or more fresh random bytes in base64url>', 'new-key: <public_key, exactly as in this body>'.",
            "examples": [
              "purpose: brain-dump-agent-add-key\nversion: 1\naudience: https://braindump.example\nagent: agt_12\nkey: key_34\ntime: 2026-11-20T10:00:00Z\nnonce: c2l4dGVlbiBieXRlcyEhIQ\nnew-key: 11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo"
            ],
            "type": "string"
          }
        },
        "required": [
          "public_key",
          "statement",
          "signature"
        ],
        "type": "object"
      },
      "NewOption": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "description": "Place it after this option; \"\" places it first. Absent: at the end.",
            "type": [
              "string",
              "null"
            ]
          },
          "color": {
            "anyOf": [
              {
                "enum": [
                  "gray",
                  "blue",
                  "teal",
                  "green",
                  "yellow",
                  "orange",
                  "red",
                  "purple"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "gray, blue, teal, green, yellow, orange, red or purple. Absent: the first of blue, teal, green, yellow, orange, red, purple, gray that no live option of the property has (counting the options added before it), else the one the fewest have. Two options may share a color.",
            "examples": [
              "red"
            ]
          },
          "label": {
            "description": "Unique among the live options of the property, ignoring case.",
            "examples": [
              "urgent"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "ref": {
            "description": "A local name for the new option.",
            "examples": [
              "urgent"
            ],
            "type": "string"
          }
        },
        "required": [
          "label"
        ],
        "type": "object"
      },
      "NewOrganizationAgent": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "description": "What the agent is for: at most 2,000 characters, without control characters other than line breaks and tabs; spaces around it are dropped. Left out: none.",
            "examples": [
              "Keeps the books."
            ],
            "maxLength": 2000,
            "type": "string"
          },
          "name": {
            "description": "The agent's name: 1 to 200 characters after spaces around it are dropped, with a letter, digit or symbol and without control, invisible or direction-changing characters.",
            "examples": [
              "ledger"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "privilege": {
            "anyOf": [
              {
                "enum": [
                  "administrator",
                  "member"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its privilege in the organization: member (the default), or administrator, which only the Owner may give."
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "NewProject": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "description": "What the project is for: at most 2,000 characters, without control characters other than line breaks and tabs; spaces around it are dropped. Left out: none.",
            "examples": [
              "The shipping ledger."
            ],
            "maxLength": 2000,
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "The project's name: 1 to 200 characters; spaces around it are dropped.",
            "examples": [
              "Books"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "NewProjectInvite": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The address of the person to invite. Only someone signed in with exactly this verified address (ignoring case) can accept.",
            "examples": [
              "cas@example.com"
            ],
            "format": "email",
            "maxLength": 254,
            "type": "string"
          },
          "tier": {
            "description": "The tier they get on accepting: reader, writer, developer, or administrator, which only the Owner gives.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "email",
          "tier"
        ],
        "type": "object"
      },
      "NewProperty": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "description": "Place it after this sibling (an identifier or \"$name\"); \"\" places it first. Absent: at the end.",
            "type": [
              "string",
              "null"
            ]
          },
          "card": {
            "anyOf": [
              {
                "enum": [
                  "always",
                  "detail",
                  "never"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Whether the property shows on cards: always, detail (only in the dump's detail) or never. Absent: detail. A new board, calendar or map view starts its card from the always properties; a saved view's own choice wins. Only a top-level property has an effect.",
            "examples": [
              "always"
            ]
          },
          "description": {
            "description": "The project's instruction for the property. Write it for the people and agents who fill it in: what the property means and what to put in it. They read it before they write, and ask when a request disagrees with it.",
            "maxLength": 2000,
            "type": "string"
          },
          "domain": {
            "anyOf": [
              {
                "enum": [
                  "length",
                  "area",
                  "volume",
                  "mass",
                  "temperature",
                  "speed",
                  "pressure",
                  "energy",
                  "power",
                  "force",
                  "duration",
                  "angle",
                  "frequency",
                  "data_size",
                  "data_rate",
                  "current",
                  "voltage",
                  "charge",
                  "ratio",
                  "density",
                  "flow",
                  "torque",
                  "acceleration",
                  "resistance",
                  "capacitance",
                  "illuminance",
                  "amount"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "For a quantity: what it measures, such as length, area, mass or temperature. Every value names a unit of this domain. Required for a quantity.",
            "examples": [
              "length"
            ]
          },
          "fill": {
            "description": "Only in add_properties of a dump schema: a value every live dump of the schema gets in the same transaction, written as a value of the new property is (options and dumps by identifier, key or \"$name\"; a list of identifiers for a multi-select or a to-many property). Deleted dumps, and dumps created by a later operation, are not filled. Not for a computed, nested or attachment property, or one of a nested schema (member_not_allowed). Refused for what refuses a write (a value of the wrong type, too long, an unknown option, a reference to a dump that does not exist or is of another schema) and above limits.ValuesPerTypeChange values and list items (too_many_values); never for a rule, which errors the filled values instead. null, \"\" or []: no fill.",
            "examples": [
              "opt_12"
            ]
          },
          "formula": {
            "description": "Makes the property computed: a formula in JavaScript syntax over the property names of its schema, which may continue through references and nested objects (supplier.rate * qty, sum(lines.amount)). Its value is calculated and stored, and cannot be written. Only plain text, number, date (of any precision; the result must have the property's precision, else the value is type_mismatch), boolean and quantity properties can be computed; a computed quantity must come out as a quantity of its domain, as quantity(in_unit(w, \"m\") * in_unit(l, \"m\"), \"m2\"). A formula that cannot be parsed or names an unknown property is formula_invalid; a circular one is accepted and makes its property errored.",
            "examples": [
              "qty * price"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "group": {
            "description": "The group the property is in, in the property table of a dump's page: a name of at most limits.GroupNameRunes characters. A group is the properties of a schema that share a name; groups are ordered by their first property. Absent or \"\": no group. Only a top-level property has an effect.",
            "examples": [
              "Identity"
            ],
            "maxLength": 100,
            "type": [
              "string",
              "null"
            ]
          },
          "many": {
            "description": "For a reference, nested objects or a person: a list instead of one.",
            "type": "boolean"
          },
          "name": {
            "description": "Unique among the live properties of its schema, ignoring case.",
            "examples": [
              "purchase order"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "options": {
            "description": "For a single or multi select: its options, in order.",
            "items": {
              "$ref": "#/components/schemas/NewOption"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "placement": {
            "anyOf": [
              {
                "enum": [
                  "table",
                  "body"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Where the property shows on a dump's page: table (in the property table) or body (as a body section). Absent: body for rich_text and nested, table otherwise. Only a top-level property has an effect.",
            "examples": [
              "table"
            ]
          },
          "precision": {
            "anyOf": [
              {
                "enum": [
                  "year",
                  "quarter",
                  "month",
                  "week",
                  "day",
                  "time"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "For a date: how fine its values are, year, quarter, month, week, day or time (a moment, to the second, with an offset). Absent: day. Every value is written in the form of this precision: 2026, 2026-Q4, 2026-11, 2026-W48 (an ISO 8601 week), 2026-11-25, or 2026-11-25T14:00:00+01:00; any other form is refused (value_not_representable).",
            "examples": [
              "day"
            ]
          },
          "properties": {
            "description": "For nested objects: the properties of the nested schema, in order.",
            "items": {
              "$ref": "#/components/schemas/NewProperty"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "ref": {
            "description": "A local name for the new property.",
            "examples": [
              "po"
            ],
            "type": "string"
          },
          "required": {
            "description": "A missing value makes the property errored; it never blocks a write.",
            "type": "boolean"
          },
          "rules": {
            "description": "Validation rules: each a formula that must come out true (or empty), with the message the property is errored with when it comes out false. A rule never blocks a write or a schema change.",
            "items": {
              "$ref": "#/components/schemas/Rule"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "shape": {
            "anyOf": [
              {
                "enum": [
                  "point",
                  "path",
                  "area"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "For a geo property: what it holds, a point (a GeoJSON Point), a path (a LineString) or an area (a Polygon with one ring). Required for a geo property.",
            "examples": [
              "point"
            ]
          },
          "target": {
            "description": "For a reference: the dump schema of this project it points into, by its key, current or old, in any letter case (TASK), or \"$name\" of a schema created earlier, this one included. Required for a reference.",
            "examples": [
              "TASK"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "description": "What a value of the property holds.",
            "enum": [
              "plain_text",
              "rich_text",
              "number",
              "date",
              "boolean",
              "single_select",
              "multi_select",
              "reference",
              "nested",
              "attachment",
              "person",
              "geo",
              "quantity"
            ],
            "examples": [
              "text"
            ],
            "type": "string"
          },
          "unit": {
            "anyOf": [
              {
                "enum": [
                  "m",
                  "nm",
                  "um",
                  "mm",
                  "cm",
                  "dm",
                  "km",
                  "in",
                  "ft",
                  "yd",
                  "mi",
                  "nmi",
                  "angstrom",
                  "thou",
                  "chain",
                  "fathom",
                  "furlong",
                  "au",
                  "ly",
                  "pc",
                  "m2",
                  "mm2",
                  "cm2",
                  "ha",
                  "km2",
                  "in2",
                  "ft2",
                  "yd2",
                  "ac",
                  "mi2",
                  "a",
                  "m3",
                  "mm3",
                  "cm3",
                  "mL",
                  "cL",
                  "dL",
                  "L",
                  "hL",
                  "in3",
                  "ft3",
                  "yd3",
                  "tsp_us",
                  "tbsp_us",
                  "floz_us",
                  "cup_us",
                  "pt_us",
                  "qt_us",
                  "gal_us",
                  "bbl",
                  "floz_imp",
                  "pt_imp",
                  "qt_imp",
                  "gal_imp",
                  "uL",
                  "dm3",
                  "tsp_metric",
                  "tbsp_metric",
                  "cup_metric",
                  "kg",
                  "ug",
                  "mg",
                  "g",
                  "t",
                  "oz",
                  "lb",
                  "st",
                  "ton_us",
                  "ton_imp",
                  "gr",
                  "ct",
                  "ozt",
                  "kt",
                  "Mt",
                  "K",
                  "degC",
                  "degF",
                  "degR",
                  "m/s",
                  "km/h",
                  "mph",
                  "ft/s",
                  "kn",
                  "km/s",
                  "m/min",
                  "ft/min",
                  "Pa",
                  "hPa",
                  "kPa",
                  "MPa",
                  "mbar",
                  "bar",
                  "atm",
                  "mmHg",
                  "psi",
                  "inHg",
                  "GPa",
                  "kgf/cm2",
                  "torr",
                  "ksi",
                  "J",
                  "kJ",
                  "MJ",
                  "GJ",
                  "Wh",
                  "kWh",
                  "MWh",
                  "GWh",
                  "cal",
                  "kcal",
                  "BTU",
                  "mJ",
                  "TJ",
                  "TWh",
                  "eV",
                  "toe",
                  "ft.lbf",
                  "MMBtu",
                  "therm_us",
                  "therm_ec",
                  "W",
                  "mW",
                  "kW",
                  "MW",
                  "GW",
                  "PS",
                  "hp",
                  "BTU/h",
                  "uW",
                  "TW",
                  "hp_e",
                  "TR",
                  "N",
                  "kN",
                  "kgf",
                  "lbf",
                  "mN",
                  "MN",
                  "dyn",
                  "ozf",
                  "kip",
                  "s",
                  "ms",
                  "min",
                  "h",
                  "d",
                  "wk",
                  "ns",
                  "us",
                  "deg",
                  "arcmin",
                  "arcsec",
                  "grad",
                  "rad",
                  "turn",
                  "mrad",
                  "Hz",
                  "kHz",
                  "MHz",
                  "GHz",
                  "rpm",
                  "THz",
                  "bpm",
                  "B",
                  "bit",
                  "kB",
                  "MB",
                  "GB",
                  "TB",
                  "PB",
                  "KiB",
                  "MiB",
                  "GiB",
                  "TiB",
                  "PiB",
                  "kbit",
                  "Mbit",
                  "Gbit",
                  "EB",
                  "EiB",
                  "bit/s",
                  "kbit/s",
                  "Mbit/s",
                  "Gbit/s",
                  "B/s",
                  "kB/s",
                  "MB/s",
                  "Tbit/s",
                  "GB/s",
                  "KiB/s",
                  "MiB/s",
                  "A",
                  "mA",
                  "uA",
                  "kA",
                  "V",
                  "mV",
                  "kV",
                  "uV",
                  "MV",
                  "C",
                  "mAh",
                  "Ah",
                  "uC",
                  "mC",
                  "ratio",
                  "percent",
                  "permille",
                  "ppm",
                  "ppb",
                  "bp",
                  "ppt",
                  "kg/m3",
                  "g/L",
                  "mg/L",
                  "g/cm3",
                  "g/mL",
                  "kg/L",
                  "t/m3",
                  "lb/ft3",
                  "lb/in3",
                  "lb/gal_us",
                  "m3/s",
                  "m3/min",
                  "m3/h",
                  "L/s",
                  "L/min",
                  "L/h",
                  "mL/min",
                  "ft3/s",
                  "ft3/min",
                  "gal_us/min",
                  "gal_imp/min",
                  "bbl/d",
                  "N.m",
                  "mN.m",
                  "kN.m",
                  "kgf.m",
                  "lbf.ft",
                  "lbf.in",
                  "ozf.in",
                  "m/s2",
                  "cm/s2",
                  "km/h/s",
                  "g0",
                  "ft/s2",
                  "in/s2",
                  "ohm",
                  "mohm",
                  "kohm",
                  "Mohm",
                  "F",
                  "mF",
                  "uF",
                  "nF",
                  "pF",
                  "lx",
                  "klx",
                  "fc",
                  "mol",
                  "nmol",
                  "umol",
                  "mmol",
                  "kmol"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "For a quantity: its unit, the code of a unit of its domain (case-sensitive: km, m2, degC). The editor offers it first, and sum and avg answer in it. Absent: the domain's base unit.",
            "examples": [
              "km"
            ]
          },
          "when_empty": {
            "anyOf": [
              {
                "enum": [
                  "show",
                  "hide"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "What a dump's page shows in Read of the property without a value: show (\"Empty\") or hide (nothing). A required property that is empty always shows. Absent: show. Only a top-level property has an effect.",
            "examples": [
              "show"
            ]
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "NewTransfer": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The person to make the Owner on accepting: a person who is a member of the organization already.",
            "examples": [
              "usr_2"
            ],
            "type": "string"
          }
        },
        "required": [
          "account"
        ],
        "type": "object"
      },
      "NewUserAgent": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "description": "What the agent is for: at most 2,000 characters, without control characters other than line breaks and tabs; spaces around it are dropped. Left out: none.",
            "examples": [
              "Files my receipts."
            ],
            "maxLength": 2000,
            "type": "string"
          },
          "name": {
            "description": "The agent's name: 1 to 200 characters after spaces around it are dropped, with a letter, digit or symbol and without control, invisible or direction-changing characters.",
            "examples": [
              "my laptop"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "NewView": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "table",
              "board",
              "timeline",
              "calendar",
              "map"
            ],
            "type": "string"
          },
          "layout": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "columns": {
                        "additionalProperties": {
                          "additionalProperties": false,
                          "properties": {
                            "truncate": {
                              "description": "line (the default), lines (up to three) or full.",
                              "enum": [
                                "line",
                                "lines",
                                "full"
                              ],
                              "type": "string"
                            },
                            "width": {
                              "description": "The column's width in CSS pixels.",
                              "maximum": 800,
                              "minimum": 60,
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        },
                        "description": "Settings per column, keyed by property identifier.",
                        "type": "object"
                      }
                    },
                    "title": "table",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "empty_lane": {
                        "description": "Whether a lane shows the dumps without a value (default true): \"No <property>\", \"Nobody\" or \"None\".",
                        "type": "boolean"
                      },
                      "group_by": {
                        "description": "The property whose values are the lanes: a single-select or a multi-select (a lane per option), or a person or a reference without many (a lane per value in use).",
                        "type": "string"
                      },
                      "hidden": {
                        "description": "The lanes shown collapsed, named as in lanes.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "lanes": {
                        "description": "The order of the lanes: option identifiers (opt_N) of a select, account identifiers (usr_N) of people of the project for a person, dump keys of the target type for a reference. Values left out follow.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "rows_by": {
                        "description": "The single-select property, other than group_by, whose options are swimlanes; absent: none.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "group_by"
                    ],
                    "title": "board",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the bars; absent: one color.",
                        "type": "string"
                      },
                      "end": {
                        "description": "The date property where a bar ends; absent: each bar is one zoom unit long.",
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property where a bar starts.",
                        "type": "string"
                      },
                      "zoom": {
                        "description": "day, week (the default), month, quarter or year.",
                        "enum": [
                          "day",
                          "week",
                          "month",
                          "quarter",
                          "year"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "timeline",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "end": {
                        "description": "The date property of a dump's last day; absent: one day.",
                        "type": "string"
                      },
                      "span": {
                        "description": "month (the default) or week: what the calendar shows at once.",
                        "enum": [
                          "month",
                          "week"
                        ],
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property of a dump's first day.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "calendar",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the features; absent: one color.",
                        "type": "string"
                      },
                      "geo": {
                        "description": "The geo properties to draw, of any shape.",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1,
                        "type": "array"
                      }
                    },
                    "required": [
                      "geo"
                    ],
                    "title": "map",
                    "type": "object"
                  }
                ],
                "description": "The settings of the view's kind, by property identifier (decision 10 of docs/decisions/0034-saved-views.md). Each property must be a live property of the view's dump schema of the type the setting needs (view_setting_invalid). Absent: {}."
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "description": "The view's name.",
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          },
          "query": {
            "$ref": "#/components/schemas/QueryInput",
            "description": "The saved filter: the where, sort and select of the dumps query, checked as the dumps query checks them. Absent: every dump, the default columns."
          },
          "schema": {
            "description": "The dump schema the view shows, by its key, current or old, in any letter case.",
            "examples": [
              "TASK"
            ],
            "type": "string"
          },
          "shared": {
            "description": "Share the view with the project, which needs the developer tier. Absent or false: a personal view, which only the caller sees. A view stays personal or shared for good.",
            "type": "boolean"
          }
        },
        "required": [
          "schema",
          "name",
          "kind"
        ],
        "type": "object"
      },
      "Omitted": {
        "additionalProperties": false,
        "properties": {
          "dumps": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "items": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "properties": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "schemas": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "values": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "OneTimeCode": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "description": "The agent the code is for.",
            "examples": [
              "agt_7"
            ],
            "type": "string"
          },
          "code": {
            "description": "The one-time code: 32 characters, shown this once and never stored. It works once, for 15 minutes, and replaces the agent's unused code. Absent only in the answer to a repeated request (the same retry key): ask again without the key.",
            "examples": [
              "mfrggzdfmztwq2lknnwg23tpobyxe43u"
            ],
            "type": "string"
          },
          "expires_at": {
            "description": "Until when the code works.",
            "examples": [
              "2026-11-20T10:15:00Z"
            ],
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "agent",
          "expires_at"
        ],
        "type": "object"
      },
      "OptionChange": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "description": "Move it after this option; \"\" moves it first.",
            "type": [
              "string",
              "null"
            ]
          },
          "color": {
            "anyOf": [
              {
                "enum": [
                  "gray",
                  "blue",
                  "teal",
                  "green",
                  "yellow",
                  "orange",
                  "red",
                  "purple"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new color: gray, blue, teal, green, yellow, orange, red or purple. Like a relabel, it changes no data."
          },
          "label": {
            "description": "A new label.",
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "string",
              "null"
            ]
          },
          "option": {
            "examples": [
              "opt_61"
            ],
            "type": "string"
          }
        },
        "required": [
          "option"
        ],
        "type": "object"
      },
      "OptionView": {
        "additionalProperties": false,
        "properties": {
          "color": {
            "description": "gray, blue, teal, green, yellow, orange, red or purple; as of the read.",
            "enum": [
              "gray",
              "blue",
              "teal",
              "green",
              "yellow",
              "orange",
              "red",
              "purple"
            ],
            "examples": [
              "red"
            ],
            "type": "string"
          },
          "id": {
            "description": "The option's identifier, which a value of a select property names.",
            "examples": [
              "opt_61"
            ],
            "type": "string"
          },
          "label": {
            "description": "The option's label, as of the read.",
            "examples": [
              "urgent"
            ],
            "type": "string"
          },
          "removed": {
            "description": "The option is removed (shown only when removed ones are asked for).",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "label",
          "color"
        ],
        "type": "object"
      },
      "Organization": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Present with transfer: its owner and target, keyed by account id, named by the rules of the organization's pages.",
            "type": "object"
          },
          "agents": {
            "description": "How many Organization Agents are members, paused ones included. Only for the Owner and Organization Administrators.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "id": {
            "description": "The organization's identifier.",
            "examples": [
              "org_1"
            ],
            "type": "string"
          },
          "members": {
            "description": "How many accounts are members, the Owner and Organization Agents included, disabled ones too: the length of the members list.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "name": {
            "description": "The organization's name.",
            "examples": [
              "Acme"
            ],
            "type": "string"
          },
          "owner": {
            "description": "The Owner's account identifier: always a person.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "pending_invites": {
            "description": "How many pending invites that have not expired the caller's invites list shows with include projects: the organization's own, and those to its projects where the caller is a Project Administrator (the Owner: all). Only for the Owner and Organization Administrators.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "people": {
            "description": "How many of the members are people, the Owner and disabled ones included.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "privilege": {
            "description": "The caller's privilege in it, as it stands now.",
            "enum": [
              "member",
              "administrator",
              "owner"
            ],
            "type": "string"
          },
          "projects": {
            "description": "How many of the organization's projects the caller may open: the length of its organizations.projects.list.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "transfer": {
            "$ref": "#/components/schemas/PendingTransfer",
            "description": "The pending ownership transfer, while one stands: only for the Owner, the person it would make the Owner, and Organization Administrators."
          }
        },
        "required": [
          "id",
          "name",
          "privilege",
          "owner",
          "members",
          "people",
          "projects"
        ],
        "type": "object"
      },
      "OrganizationAgents": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Who the accounts on this page are (created_by, the keys' added_by and, with include=grants, granted_by), keyed by account id, under the organization's scope (0037).",
            "type": [
              "object",
              "null"
            ]
          },
          "agents": {
            "description": "The agents, by identifier, oldest first.",
            "items": {
              "$ref": "#/components/schemas/Agent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "can_create": {
            "description": "Whether the caller may create an Organization Agent as a member now: the Owner always; an Organization Administrator while it holds at least the tier the group invite for Organization Agents gives on every live project, which a new agent would get at once.",
            "type": "boolean"
          },
          "group_invites": {
            "description": "Only with include=grants: the group invites for Organization Agents on the live projects of the organization that the caller can open, by project, once for all agents (each of them gets it). [] when none.",
            "items": {
              "$ref": "#/components/schemas/AgentGroupInvite"
            },
            "type": "array"
          }
        },
        "required": [
          "agents",
          "can_create",
          "actors"
        ],
        "type": "object"
      },
      "OrganizationCapabilities": {
        "additionalProperties": false,
        "properties": {
          "operations": {
            "description": "The operations about this organization (/organizations/{o}/...) that the caller may use, by name.",
            "items": {
              "$ref": "#/components/schemas/AllowedOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "organization": {
            "$ref": "#/components/schemas/Named"
          },
          "privilege": {
            "description": "The caller's privilege there, as it stands now.",
            "enum": [
              "member",
              "administrator",
              "owner"
            ],
            "type": "string"
          }
        },
        "required": [
          "organization",
          "privilege",
          "operations"
        ],
        "type": "object"
      },
      "OrganizationChange": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "description": "The new name: 1 to 200 characters; spaces around it are dropped.",
            "examples": [
              "Acme Research"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "OrganizationTotal": {
        "additionalProperties": false,
        "properties": {
          "organization": {
            "$ref": "#/components/schemas/Named",
            "description": "The organization, with its name."
          },
          "projects": {
            "examples": [
              3
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "organization",
          "projects"
        ],
        "type": "object"
      },
      "OwnKey": {
        "additionalProperties": false,
        "properties": {
          "added_at": {
            "description": "When the key was registered.",
            "examples": [
              "2026-11-20T09:55:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "current": {
            "description": "True for the key this session signed in with. Removing it ends this session.",
            "type": "boolean"
          },
          "fingerprint": {
            "description": "Names the public key without being a secret: the first 80 bits of its SHA-256 in lower-case base32, in groups of four. The person who manages the agent sees the same one, with the key's id and added_at.",
            "examples": [
              "q2lk-mfrg-gzdf-mztw"
            ],
            "type": "string"
          },
          "id": {
            "description": "The key's identifier.",
            "examples": [
              "key_34"
            ],
            "type": "string"
          },
          "last_used_at": {
            "description": "When a session was last made with the key (POST /agent-sign-ins). Absent: never. An ordinary request does not move it.",
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "added_at",
          "fingerprint",
          "current"
        ],
        "type": "object"
      },
      "OwnKeys": {
        "additionalProperties": false,
        "properties": {
          "keys": {
            "description": "The agent's live keys, the oldest first: one or two.",
            "items": {
              "$ref": "#/components/schemas/OwnKey"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "keys"
        ],
        "type": "object"
      },
      "Owner": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "A User Agent's person.",
            "examples": [
              "usr_3"
            ],
            "type": "string"
          },
          "kind": {
            "description": "human: the person a User Agent acts for; organization: an Organization Agent's organization.",
            "enum": [
              "human",
              "organization"
            ],
            "type": "string"
          },
          "name": {
            "description": "The person's name, when the caller may see it (the person rule of the scope); the organization's name.",
            "examples": [
              "Hans Pannekoek"
            ],
            "type": "string"
          },
          "organization": {
            "description": "An Organization Agent's organization.",
            "examples": [
              "org_1"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "Page": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Who acted, keyed by account id: the by of each transaction of the page, once (system for background work). A User Agent has its name only for its owner; to everyone else it is its owner's agent.",
            "type": [
              "object",
              "null"
            ]
          },
          "cursor": {
            "description": "Send it alone for the next page (older transactions); absent on the last page.",
            "examples": [
              "eyJwIjoxfQ"
            ],
            "type": "string"
          },
          "transaction": {
            "description": "The transaction the page is read as of: the project's current one for a first page, the first page's for the pages after it. Dumps and schemas are named by their keys as of it.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "transactions": {
            "description": "The transactions, newest first.",
            "items": {
              "$ref": "#/components/schemas/Transaction"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "transaction",
          "transactions",
          "actors"
        ],
        "type": "object"
      },
      "PageQuery": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "The cursor of the previous page. It carries the page size too, so it can be sent alone.",
            "examples": [
              "eyJrIjoibWVtYmVycyJ9"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "limit": {
            "description": "How many items a page holds: 1 to 500, 50 when left out.",
            "examples": [
              100
            ],
            "maximum": 500,
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "PasswordChange": {
        "additionalProperties": false,
        "properties": {
          "current_password": {
            "description": "The person's current password.",
            "examples": [
              "correct horse battery staple"
            ],
            "type": "string"
          },
          "password": {
            "description": "The new password: at least 12 characters of any kind, at most 1 KB.",
            "examples": [
              "another long passphrase"
            ],
            "format": "password",
            "minLength": 12,
            "type": "string"
          }
        },
        "required": [
          "current_password",
          "password"
        ],
        "type": "object"
      },
      "PasswordReset": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The address of the account whose password is forgotten.",
            "examples": [
              "ann@example.com"
            ],
            "format": "email",
            "maxLength": 254,
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "PasswordResetConfirm": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The six-digit code sent to the address.",
            "examples": [
              "042917"
            ],
            "type": "string"
          },
          "email": {
            "description": "The address the code was sent to.",
            "examples": [
              "ann@example.com"
            ],
            "format": "email",
            "maxLength": 254,
            "type": "string"
          },
          "password": {
            "description": "The new password: at least 12 characters of any kind, at most 1 KB.",
            "examples": [
              "another long passphrase"
            ],
            "format": "password",
            "minLength": 12,
            "type": "string"
          }
        },
        "required": [
          "email",
          "code",
          "password"
        ],
        "type": "object"
      },
      "PendingInvite": {
        "additionalProperties": false,
        "properties": {
          "can_withdraw": {
            "description": "Whether the caller may withdraw it: whoever may give its tier.",
            "type": "boolean"
          },
          "created_at": {
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "description": "The address it is for, as it was given.",
            "examples": [
              "cas@example.com"
            ],
            "type": "string"
          },
          "expires_at": {
            "description": "It can be accepted until then: 14 days after it was made.",
            "examples": [
              "2026-12-04T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The invite's identifier.",
            "examples": [
              "inv_3"
            ],
            "type": "string"
          },
          "invited_by": {
            "description": "The account that invited them: in a list, a key of the page's actors.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "tier": {
            "description": "The tier the person gets on accepting.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "email",
          "tier",
          "invited_by",
          "created_at",
          "expires_at",
          "can_withdraw"
        ],
        "type": "object"
      },
      "PendingInvitesPage": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Who invited, keyed by account id: the invited_by of each invite of the page, once. A User Agent has its name only for its owner; to everyone else it is its owner's agent.",
            "type": [
              "object",
              "null"
            ]
          },
          "cursor": {
            "description": "Send it alone in a QUERY to get the next page; absent on the last page.",
            "type": "string"
          },
          "invites": {
            "description": "Pending invites that have not expired, oldest first.",
            "items": {
              "$ref": "#/components/schemas/PendingInvite"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "invites",
          "actors"
        ],
        "type": "object"
      },
      "PendingTransfer": {
        "additionalProperties": false,
        "properties": {
          "expires_at": {
            "description": "The target can accept it until then: 14 days after it was started.",
            "examples": [
              "2026-12-07T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "description": "The transfer's identifier.",
            "examples": [
              "trf_3"
            ],
            "type": "string"
          },
          "owner": {
            "description": "The Owner who started it: a key of actors.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "owner_address_hint": {
            "description": "The Owner's address, redacted: the first two characters before the @ (one when there are one or two), three asterisks and the domain. Absent when the account has no address.",
            "examples": [
              "an***@example.com"
            ],
            "type": "string"
          },
          "started_at": {
            "examples": [
              "2026-11-23T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "target": {
            "description": "The person it makes the Owner on accepting: a key of actors.",
            "examples": [
              "usr_2"
            ],
            "type": "string"
          },
          "target_address_hint": {
            "description": "The target's address, redacted the same way. Absent when the account has no address.",
            "examples": [
              "bo***@example.com"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "owner",
          "target",
          "started_at",
          "expires_at"
        ],
        "type": "object"
      },
      "PeoplePage": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "Send it alone (or with limit) in a QUERY to get the next page; absent on the last page.",
            "type": "string"
          },
          "people": {
            "description": "The people of the project by account identifier, oldest account first.",
            "items": {
              "$ref": "#/components/schemas/Person"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "people"
        ],
        "type": "object"
      },
      "PeopleQuery": {
        "additionalProperties": false,
        "properties": {
          "accounts": {
            "description": "Only these people: up to 100 usr_ identifiers to resolve to names. One that is not a person of the project gives no row, whether or not the account exists.",
            "examples": [
              [
                "usr_2",
                "usr_9"
              ]
            ],
            "items": {
              "pattern": "^usr_[1-9][0-9]*$",
              "type": "string"
            },
            "maxItems": 100,
            "type": [
              "array",
              "null"
            ]
          },
          "cursor": {
            "description": "The cursor of the previous page. It carries the page size, q and accounts too, so it is sent alone or with limit.",
            "examples": [
              "eyJrIjoicGVvcGxlIn0"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "limit": {
            "description": "How many people a page holds: 1 to 500, 50 when left out.",
            "examples": [
              100
            ],
            "maximum": 500,
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "q": {
            "description": "Only people whose name contains this text, ignoring case.",
            "examples": [
              "bo"
            ],
            "maxLength": 200,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Person": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The person's identifier, as a person property names them.",
            "examples": [
              "usr_2"
            ],
            "type": "string"
          },
          "email": {
            "description": "The person's verified address; only Project Administrators and the Owner see it.",
            "examples": [
              "bob@example.com"
            ],
            "type": "string"
          },
          "name": {
            "examples": [
              "bob"
            ],
            "type": "string"
          }
        },
        "required": [
          "account",
          "name"
        ],
        "type": "object"
      },
      "Preferences": {
        "additionalProperties": false,
        "properties": {
          "theme": {
            "description": "The theme the app shows: system (follow the device, the default), day, dusk, night, contrast-day or contrast-night.",
            "enum": [
              "system",
              "day",
              "dusk",
              "night",
              "contrast-day",
              "contrast-night"
            ],
            "type": "string"
          },
          "units": {
            "$ref": "#/components/schemas/UnitsPreference",
            "description": "How quantity values are shown (decision 0049): as entered or converted, the measurement system, and a fixed unit per domain."
          }
        },
        "required": [
          "theme",
          "units"
        ],
        "type": "object"
      },
      "PreferencesChange": {
        "additionalProperties": false,
        "properties": {
          "theme": {
            "anyOf": [
              {
                "enum": [
                  "system",
                  "day",
                  "dusk",
                  "night",
                  "contrast-day",
                  "contrast-night"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new theme. Left out: unchanged."
          },
          "units": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UnitsPreferenceChange"
              },
              {
                "type": "null"
              }
            ],
            "description": "Changes to how quantity values are shown. A member left out is unchanged; the theme is not touched."
          }
        },
        "type": "object"
      },
      "Preview": {
        "additionalProperties": false,
        "properties": {
          "checked": {
            "description": "true: the statuses after the transaction were worked out, as the background work would settle them, and every property has errored, errored_before and rules. false: they were not, and no property has those: the light preview was asked (statuses: false), or the work exceeds what a dry run checks: the schemas of the changed properties hold more than limits.PreviewDumps dumps, or the statuses to settle, those reached through formulas and rules in other schemas included, are more, or the type changes, fills and statuses to mark together come to more than limits.PreviewTypeChangeValues values (from there on, type changes and fills are worked out, their conversions, groups and filled counts included, but not written), or settling would hold the project's lock longer than limits.PreviewLockHold.",
            "type": "boolean"
          },
          "dumps_affected": {
            "description": "How many dumps the transaction itself would change a stored value of (created, deleted, moved, or a value written or converted). What the background work changes afterwards (computed values) is not counted.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "properties": {
            "description": "Per property the transaction changes in a way that can change values or statuses: a type change, a new or changed requirement, formula or rules, a new property with a fill, a restore, or a group of resolutions. Ordered by identifier.",
            "items": {
              "$ref": "#/components/schemas/PropertyPreview"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "versions": {
            "description": "Per dump schema the transaction changes (itself or anything inside it, nested schemas included), the version number a write of the same operations would make now, as SchemaView.version counts it. Ordered by the schema's identifier; empty when no schema changes.",
            "items": {
              "$ref": "#/components/schemas/SchemaVersion"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "dumps_affected",
          "checked",
          "properties",
          "versions"
        ],
        "type": "object"
      },
      "PreviewAgent": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "examples": [
              "agt_7"
            ],
            "type": "string"
          },
          "name": {
            "examples": [
              "Purser"
            ],
            "type": "string"
          }
        },
        "required": [
          "account",
          "name"
        ],
        "type": "object"
      },
      "PreviewDescription": {
        "additionalProperties": false,
        "properties": {
          "changed": {
            "description": "For a property whose type, domain, unit or precision the transaction changes: which of type, domain, unit and precision. Check that the description still fits, and change it in the same transaction when it does not.",
            "examples": [
              [
                "type",
                "unit"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": {
            "description": "Its description: what the people who own the project wrote it is for and what to put in it, after the transaction (before it, for one the transaction removes). Follow it; when it disagrees with what you are about to write, say so and ask rather than pick one. Absent only when omitted.",
            "examples": [
              "The amount due, in euros, VAT included."
            ],
            "type": "string"
          },
          "name": {
            "description": "The schema's or property's name, after the transaction (before it, for one the transaction removes).",
            "examples": [
              "total"
            ],
            "type": "string"
          },
          "omitted": {
            "description": "true: the description was left out, because the descriptions together pass limits.PreviewDescriptionBytes. Read it in GET /projects/{p}/schemas/{s}.",
            "type": "boolean"
          },
          "path": {
            "description": "For a property of a nested schema: the nested properties from the dump schema down to the property's own schema, as in history. Absent for the dump schema itself and its own properties.",
            "examples": [
              [
                "prp_31"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "property": {
            "description": "The property. Absent in the entry of the dump schema itself.",
            "examples": [
              "prp_22"
            ],
            "type": "string"
          },
          "schema": {
            "description": "The dump schema, by its key after the transaction; for a property, the dump schema it is in, at any depth.",
            "examples": [
              "INV"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "name"
        ],
        "type": "object"
      },
      "PreviewInput": {
        "additionalProperties": false,
        "properties": {
          "base": {
            "description": "The transaction the caller based every operation on: the one its reads reflected. A caller who read things at different moments sends its oldest. 0 for a project without transactions.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "operations": {
            "description": "The operations, applied in order, all or none: 1 to 500. A later operation sees what an earlier one wrote and can use the local names (ref) it defined as \"$name\".",
            "items": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "list": {
                          "description": "Items to add to its lists (multi-selects, to-many references, lists of nested objects), in order.",
                          "items": {
                            "$ref": "#/components/schemas/ListChange"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "op": {
                          "enum": [
                            "dump.create"
                          ],
                          "type": "string"
                        },
                        "ref": {
                          "description": "A local name for the new dump, for later operations as \"$name\" (in a reference, or as the dump to change).",
                          "examples": [
                            "sup"
                          ],
                          "type": "string"
                        },
                        "schema": {
                          "description": "The dump schema the dump is in: its key, current or old, in any letter case (TASK), or \"$name\" of a schema created earlier in the transaction.",
                          "examples": [
                            "TASK"
                          ],
                          "type": "string"
                        },
                        "set": {
                          "additionalProperties": {
                            "anyOf": [
                              {},
                              {
                                "description": "A geo value: a GeoJSON geometry of the property's shape.",
                                "oneOf": [
                                  {
                                    "description": "A point.",
                                    "properties": {
                                      "coordinates": {
                                        "description": "[longitude, latitude] in WGS84.",
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Point",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path: at least 2 different points.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "description": "[longitude, latitude] in WGS84.",
                                          "items": {
                                            "type": "number"
                                          },
                                          "maxItems": 2,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "maxItems": 1000,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "LineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path that crosses the antimeridian, and only such a path: cut there into lines that meet at longitude 180 and -180 at the same latitude (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiLineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area: one closed ring (the last position repeats the first), that does not cross or touch itself.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 4,
                                          "type": "array"
                                        },
                                        "maxItems": 1,
                                        "minItems": 1,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Polygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area that crosses the antimeridian, and only such an area: cut there into polygons of one ring each, each with an edge along longitude 180 or -180, that joined along the edges they share make one ring (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "items": {
                                              "description": "[longitude, latitude] in WGS84.",
                                              "items": {
                                                "type": "number"
                                              },
                                              "maxItems": 2,
                                              "minItems": 2,
                                              "type": "array"
                                            },
                                            "maxItems": 1000,
                                            "minItems": 4,
                                            "type": "array"
                                          },
                                          "maxItems": 1,
                                          "minItems": 1,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiPolygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              {
                                "additionalProperties": false,
                                "description": "A quantity: an amount and the exact code of a unit of the property's domain.",
                                "properties": {
                                  "amount": {
                                    "description": "As a number: at most 15 significant digits, within 1e-307 and 1e307, in the unit and in the domain's base unit. Stored and shown as written.",
                                    "type": "number"
                                  },
                                  "unit": {
                                    "description": "The code of a unit of the property's domain, case-sensitive (km, m2, degC, gal_us). One of another domain, or no code, is value_not_representable, and its expected.allowed names the codes of the domain that were meant.",
                                    "enum": [
                                      "m",
                                      "nm",
                                      "um",
                                      "mm",
                                      "cm",
                                      "dm",
                                      "km",
                                      "in",
                                      "ft",
                                      "yd",
                                      "mi",
                                      "nmi",
                                      "angstrom",
                                      "thou",
                                      "chain",
                                      "fathom",
                                      "furlong",
                                      "au",
                                      "ly",
                                      "pc",
                                      "m2",
                                      "mm2",
                                      "cm2",
                                      "ha",
                                      "km2",
                                      "in2",
                                      "ft2",
                                      "yd2",
                                      "ac",
                                      "mi2",
                                      "a",
                                      "m3",
                                      "mm3",
                                      "cm3",
                                      "mL",
                                      "cL",
                                      "dL",
                                      "L",
                                      "hL",
                                      "in3",
                                      "ft3",
                                      "yd3",
                                      "tsp_us",
                                      "tbsp_us",
                                      "floz_us",
                                      "cup_us",
                                      "pt_us",
                                      "qt_us",
                                      "gal_us",
                                      "bbl",
                                      "floz_imp",
                                      "pt_imp",
                                      "qt_imp",
                                      "gal_imp",
                                      "uL",
                                      "dm3",
                                      "tsp_metric",
                                      "tbsp_metric",
                                      "cup_metric",
                                      "kg",
                                      "ug",
                                      "mg",
                                      "g",
                                      "t",
                                      "oz",
                                      "lb",
                                      "st",
                                      "ton_us",
                                      "ton_imp",
                                      "gr",
                                      "ct",
                                      "ozt",
                                      "kt",
                                      "Mt",
                                      "K",
                                      "degC",
                                      "degF",
                                      "degR",
                                      "m/s",
                                      "km/h",
                                      "mph",
                                      "ft/s",
                                      "kn",
                                      "km/s",
                                      "m/min",
                                      "ft/min",
                                      "Pa",
                                      "hPa",
                                      "kPa",
                                      "MPa",
                                      "mbar",
                                      "bar",
                                      "atm",
                                      "mmHg",
                                      "psi",
                                      "inHg",
                                      "GPa",
                                      "kgf/cm2",
                                      "torr",
                                      "ksi",
                                      "J",
                                      "kJ",
                                      "MJ",
                                      "GJ",
                                      "Wh",
                                      "kWh",
                                      "MWh",
                                      "GWh",
                                      "cal",
                                      "kcal",
                                      "BTU",
                                      "mJ",
                                      "TJ",
                                      "TWh",
                                      "eV",
                                      "toe",
                                      "ft.lbf",
                                      "MMBtu",
                                      "therm_us",
                                      "therm_ec",
                                      "W",
                                      "mW",
                                      "kW",
                                      "MW",
                                      "GW",
                                      "PS",
                                      "hp",
                                      "BTU/h",
                                      "uW",
                                      "TW",
                                      "hp_e",
                                      "TR",
                                      "N",
                                      "kN",
                                      "kgf",
                                      "lbf",
                                      "mN",
                                      "MN",
                                      "dyn",
                                      "ozf",
                                      "kip",
                                      "s",
                                      "ms",
                                      "min",
                                      "h",
                                      "d",
                                      "wk",
                                      "ns",
                                      "us",
                                      "deg",
                                      "arcmin",
                                      "arcsec",
                                      "grad",
                                      "rad",
                                      "turn",
                                      "mrad",
                                      "Hz",
                                      "kHz",
                                      "MHz",
                                      "GHz",
                                      "rpm",
                                      "THz",
                                      "bpm",
                                      "B",
                                      "bit",
                                      "kB",
                                      "MB",
                                      "GB",
                                      "TB",
                                      "PB",
                                      "KiB",
                                      "MiB",
                                      "GiB",
                                      "TiB",
                                      "PiB",
                                      "kbit",
                                      "Mbit",
                                      "Gbit",
                                      "EB",
                                      "EiB",
                                      "bit/s",
                                      "kbit/s",
                                      "Mbit/s",
                                      "Gbit/s",
                                      "B/s",
                                      "kB/s",
                                      "MB/s",
                                      "Tbit/s",
                                      "GB/s",
                                      "KiB/s",
                                      "MiB/s",
                                      "A",
                                      "mA",
                                      "uA",
                                      "kA",
                                      "V",
                                      "mV",
                                      "kV",
                                      "uV",
                                      "MV",
                                      "C",
                                      "mAh",
                                      "Ah",
                                      "uC",
                                      "mC",
                                      "ratio",
                                      "percent",
                                      "permille",
                                      "ppm",
                                      "ppb",
                                      "bp",
                                      "ppt",
                                      "kg/m3",
                                      "g/L",
                                      "mg/L",
                                      "g/cm3",
                                      "g/mL",
                                      "kg/L",
                                      "t/m3",
                                      "lb/ft3",
                                      "lb/in3",
                                      "lb/gal_us",
                                      "m3/s",
                                      "m3/min",
                                      "m3/h",
                                      "L/s",
                                      "L/min",
                                      "L/h",
                                      "mL/min",
                                      "ft3/s",
                                      "ft3/min",
                                      "gal_us/min",
                                      "gal_imp/min",
                                      "bbl/d",
                                      "N.m",
                                      "mN.m",
                                      "kN.m",
                                      "kgf.m",
                                      "lbf.ft",
                                      "lbf.in",
                                      "ozf.in",
                                      "m/s2",
                                      "cm/s2",
                                      "km/h/s",
                                      "g0",
                                      "ft/s2",
                                      "in/s2",
                                      "ohm",
                                      "mohm",
                                      "kohm",
                                      "Mohm",
                                      "F",
                                      "mF",
                                      "uF",
                                      "nF",
                                      "pF",
                                      "lx",
                                      "klx",
                                      "fc",
                                      "mol",
                                      "nmol",
                                      "umol",
                                      "mmol",
                                      "kmol"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "unit"
                                ],
                                "type": "object"
                              }
                            ],
                            "description": "A text as a string, a number as a JSON number, a date as a string in the form of its property's precision and only that form: a year as \"2026\", a quarter as \"2026-Q4\", a month as \"2026-11\", a week as \"2026-W48\" (an ISO 8601 week, Monday to Sunday), a day as \"2026-11-25\", a time as \"2026-11-25T14:00:00+01:00\" (any offset, whole seconds; read back in UTC); any other form, such as a day in a month property, is value_not_representable, a boolean, an option as its identifier, a dump as its key (TASK-5; one that names no dump is reference_missing), a person as their usr_ identifier (one GET /projects/{p}/people lists when the value changes to them, or person_not_found), a geometry as a GeoJSON geometry object of the property's shape (a point a Point, a path a LineString, an area a Polygon with one ring; coordinates are rounded to 7 decimals, and a geometry that is not one is value_not_representable), a quantity as {\"amount\": 12.5, \"unit\": \"km\"} with the exact code of a unit of the property's domain (a bare number, another member, a unit that is not one, such as gal for gal_us, and an amount beyond the bounds of a number in the unit or the domain's base unit are value_not_representable, whose expected.allowed names the codes meant); null empties the value. A rich text is Markdown; a link to a dump or a dump schema is [text](dump:TASK-5) or [text](schema:TASK), by a key current or old, and one to a key that names nothing is link_target_missing. The text is stored as written; reads show each link by the key of the read. A mention of a person is [name](person:usr_5), never checked."
                          },
                          "description": "Its values, keyed by property identifier. A property left out is empty; a required one is then errored (required_missing).",
                          "examples": [
                            {
                              "prp_11": "Acme"
                            }
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "op",
                        "schema"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dump": {
                          "description": "The dump: its key, current or old, in any letter case (TASK-5), or \"$name\".",
                          "examples": [
                            "TASK-5"
                          ],
                          "type": "string"
                        },
                        "op": {
                          "enum": [
                            "dump.delete"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "dump"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dump": {
                          "description": "The dump to move: its key, current or old, in any letter case (TASK-5), or \"$name\".",
                          "examples": [
                            "TASK-5"
                          ],
                          "type": "string"
                        },
                        "map": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "description": "Which property of the target schema each property of the dump's schema becomes, by identifier. A field of a nested object maps to a field of the nested property its own nested property maps to. A property left out is not carried; a required property of the target that nothing fills is errored (required_missing). A value that cannot be the target's type is a group to resolve (resolution_required).",
                          "examples": [
                            {
                              "prp_11": "prp_51"
                            }
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "op": {
                          "enum": [
                            "dump.move"
                          ],
                          "type": "string"
                        },
                        "resolutions": {
                          "description": "A resolution for each group a rejection named (resolution_required): its property (of the target schema) and kind, as for a type change.",
                          "items": {
                            "$ref": "#/components/schemas/Resolution"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "schema": {
                          "description": "The dump schema to move it to: its key, current or old, in any letter case (TASK), or \"$name\" of a schema created earlier in the transaction.",
                          "examples": [
                            "BUG"
                          ],
                          "type": "string"
                        },
                        "set": {
                          "additionalProperties": {
                            "anyOf": [
                              {},
                              {
                                "description": "A geo value: a GeoJSON geometry of the property's shape.",
                                "oneOf": [
                                  {
                                    "description": "A point.",
                                    "properties": {
                                      "coordinates": {
                                        "description": "[longitude, latitude] in WGS84.",
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Point",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path: at least 2 different points.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "description": "[longitude, latitude] in WGS84.",
                                          "items": {
                                            "type": "number"
                                          },
                                          "maxItems": 2,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "maxItems": 1000,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "LineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path that crosses the antimeridian, and only such a path: cut there into lines that meet at longitude 180 and -180 at the same latitude (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiLineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area: one closed ring (the last position repeats the first), that does not cross or touch itself.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 4,
                                          "type": "array"
                                        },
                                        "maxItems": 1,
                                        "minItems": 1,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Polygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area that crosses the antimeridian, and only such an area: cut there into polygons of one ring each, each with an edge along longitude 180 or -180, that joined along the edges they share make one ring (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "items": {
                                              "description": "[longitude, latitude] in WGS84.",
                                              "items": {
                                                "type": "number"
                                              },
                                              "maxItems": 2,
                                              "minItems": 2,
                                              "type": "array"
                                            },
                                            "maxItems": 1000,
                                            "minItems": 4,
                                            "type": "array"
                                          },
                                          "maxItems": 1,
                                          "minItems": 1,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiPolygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              {
                                "additionalProperties": false,
                                "description": "A quantity: an amount and the exact code of a unit of the property's domain.",
                                "properties": {
                                  "amount": {
                                    "description": "As a number: at most 15 significant digits, within 1e-307 and 1e307, in the unit and in the domain's base unit. Stored and shown as written.",
                                    "type": "number"
                                  },
                                  "unit": {
                                    "description": "The code of a unit of the property's domain, case-sensitive (km, m2, degC, gal_us). One of another domain, or no code, is value_not_representable, and its expected.allowed names the codes of the domain that were meant.",
                                    "enum": [
                                      "m",
                                      "nm",
                                      "um",
                                      "mm",
                                      "cm",
                                      "dm",
                                      "km",
                                      "in",
                                      "ft",
                                      "yd",
                                      "mi",
                                      "nmi",
                                      "angstrom",
                                      "thou",
                                      "chain",
                                      "fathom",
                                      "furlong",
                                      "au",
                                      "ly",
                                      "pc",
                                      "m2",
                                      "mm2",
                                      "cm2",
                                      "ha",
                                      "km2",
                                      "in2",
                                      "ft2",
                                      "yd2",
                                      "ac",
                                      "mi2",
                                      "a",
                                      "m3",
                                      "mm3",
                                      "cm3",
                                      "mL",
                                      "cL",
                                      "dL",
                                      "L",
                                      "hL",
                                      "in3",
                                      "ft3",
                                      "yd3",
                                      "tsp_us",
                                      "tbsp_us",
                                      "floz_us",
                                      "cup_us",
                                      "pt_us",
                                      "qt_us",
                                      "gal_us",
                                      "bbl",
                                      "floz_imp",
                                      "pt_imp",
                                      "qt_imp",
                                      "gal_imp",
                                      "uL",
                                      "dm3",
                                      "tsp_metric",
                                      "tbsp_metric",
                                      "cup_metric",
                                      "kg",
                                      "ug",
                                      "mg",
                                      "g",
                                      "t",
                                      "oz",
                                      "lb",
                                      "st",
                                      "ton_us",
                                      "ton_imp",
                                      "gr",
                                      "ct",
                                      "ozt",
                                      "kt",
                                      "Mt",
                                      "K",
                                      "degC",
                                      "degF",
                                      "degR",
                                      "m/s",
                                      "km/h",
                                      "mph",
                                      "ft/s",
                                      "kn",
                                      "km/s",
                                      "m/min",
                                      "ft/min",
                                      "Pa",
                                      "hPa",
                                      "kPa",
                                      "MPa",
                                      "mbar",
                                      "bar",
                                      "atm",
                                      "mmHg",
                                      "psi",
                                      "inHg",
                                      "GPa",
                                      "kgf/cm2",
                                      "torr",
                                      "ksi",
                                      "J",
                                      "kJ",
                                      "MJ",
                                      "GJ",
                                      "Wh",
                                      "kWh",
                                      "MWh",
                                      "GWh",
                                      "cal",
                                      "kcal",
                                      "BTU",
                                      "mJ",
                                      "TJ",
                                      "TWh",
                                      "eV",
                                      "toe",
                                      "ft.lbf",
                                      "MMBtu",
                                      "therm_us",
                                      "therm_ec",
                                      "W",
                                      "mW",
                                      "kW",
                                      "MW",
                                      "GW",
                                      "PS",
                                      "hp",
                                      "BTU/h",
                                      "uW",
                                      "TW",
                                      "hp_e",
                                      "TR",
                                      "N",
                                      "kN",
                                      "kgf",
                                      "lbf",
                                      "mN",
                                      "MN",
                                      "dyn",
                                      "ozf",
                                      "kip",
                                      "s",
                                      "ms",
                                      "min",
                                      "h",
                                      "d",
                                      "wk",
                                      "ns",
                                      "us",
                                      "deg",
                                      "arcmin",
                                      "arcsec",
                                      "grad",
                                      "rad",
                                      "turn",
                                      "mrad",
                                      "Hz",
                                      "kHz",
                                      "MHz",
                                      "GHz",
                                      "rpm",
                                      "THz",
                                      "bpm",
                                      "B",
                                      "bit",
                                      "kB",
                                      "MB",
                                      "GB",
                                      "TB",
                                      "PB",
                                      "KiB",
                                      "MiB",
                                      "GiB",
                                      "TiB",
                                      "PiB",
                                      "kbit",
                                      "Mbit",
                                      "Gbit",
                                      "EB",
                                      "EiB",
                                      "bit/s",
                                      "kbit/s",
                                      "Mbit/s",
                                      "Gbit/s",
                                      "B/s",
                                      "kB/s",
                                      "MB/s",
                                      "Tbit/s",
                                      "GB/s",
                                      "KiB/s",
                                      "MiB/s",
                                      "A",
                                      "mA",
                                      "uA",
                                      "kA",
                                      "V",
                                      "mV",
                                      "kV",
                                      "uV",
                                      "MV",
                                      "C",
                                      "mAh",
                                      "Ah",
                                      "uC",
                                      "mC",
                                      "ratio",
                                      "percent",
                                      "permille",
                                      "ppm",
                                      "ppb",
                                      "bp",
                                      "ppt",
                                      "kg/m3",
                                      "g/L",
                                      "mg/L",
                                      "g/cm3",
                                      "g/mL",
                                      "kg/L",
                                      "t/m3",
                                      "lb/ft3",
                                      "lb/in3",
                                      "lb/gal_us",
                                      "m3/s",
                                      "m3/min",
                                      "m3/h",
                                      "L/s",
                                      "L/min",
                                      "L/h",
                                      "mL/min",
                                      "ft3/s",
                                      "ft3/min",
                                      "gal_us/min",
                                      "gal_imp/min",
                                      "bbl/d",
                                      "N.m",
                                      "mN.m",
                                      "kN.m",
                                      "kgf.m",
                                      "lbf.ft",
                                      "lbf.in",
                                      "ozf.in",
                                      "m/s2",
                                      "cm/s2",
                                      "km/h/s",
                                      "g0",
                                      "ft/s2",
                                      "in/s2",
                                      "ohm",
                                      "mohm",
                                      "kohm",
                                      "Mohm",
                                      "F",
                                      "mF",
                                      "uF",
                                      "nF",
                                      "pF",
                                      "lx",
                                      "klx",
                                      "fc",
                                      "mol",
                                      "nmol",
                                      "umol",
                                      "mmol",
                                      "kmol"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "unit"
                                ],
                                "type": "object"
                              }
                            ],
                            "description": "A text as a string, a number as a JSON number, a date as a string in the form of its property's precision and only that form: a year as \"2026\", a quarter as \"2026-Q4\", a month as \"2026-11\", a week as \"2026-W48\" (an ISO 8601 week, Monday to Sunday), a day as \"2026-11-25\", a time as \"2026-11-25T14:00:00+01:00\" (any offset, whole seconds; read back in UTC); any other form, such as a day in a month property, is value_not_representable, a boolean, an option as its identifier, a dump as its key (TASK-5; one that names no dump is reference_missing), a person as their usr_ identifier (one GET /projects/{p}/people lists when the value changes to them, or person_not_found), a geometry as a GeoJSON geometry object of the property's shape (a point a Point, a path a LineString, an area a Polygon with one ring; coordinates are rounded to 7 decimals, and a geometry that is not one is value_not_representable), a quantity as {\"amount\": 12.5, \"unit\": \"km\"} with the exact code of a unit of the property's domain (a bare number, another member, a unit that is not one, such as gal for gal_us, and an amount beyond the bounds of a number in the unit or the domain's base unit are value_not_representable, whose expected.allowed names the codes meant); null empties the value. A rich text is Markdown; a link to a dump or a dump schema is [text](dump:TASK-5) or [text](schema:TASK), by a key current or old, and one to a key that names nothing is link_target_missing. The text is stored as written; reads show each link by the key of the read. A mention of a person is [name](person:usr_5), never checked."
                          },
                          "description": "Values for properties of the target schema itself, written as dump.create writes them; a property set here is not filled from the mapping.",
                          "examples": [
                            {
                              "prp_52": "NL"
                            }
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "op",
                        "dump",
                        "schema"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dump": {
                          "description": "The dump: its key, current or old, in any letter case (TASK-5), or \"$name\".",
                          "examples": [
                            "TASK-5"
                          ],
                          "type": "string"
                        },
                        "op": {
                          "enum": [
                            "dump.undelete"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "dump"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dump": {
                          "description": "The dump to change: its key, current or old, in any letter case (TASK-5), or \"$name\".",
                          "examples": [
                            "TASK-5"
                          ],
                          "type": "string"
                        },
                        "force": {
                          "description": "Overwrite despite value conflicts (value_changed, list_reordered, strict_changed). The overwrite is recorded with the transaction. It never overrides a deleted dump or a property outside the dump's schema.",
                          "type": "boolean"
                        },
                        "list": {
                          "description": "Changes to its lists, item by item, in order: add, remove or move one item each. The item is the unit of conflict, not the list.",
                          "items": {
                            "$ref": "#/components/schemas/ListChange"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "nested": {
                          "description": "Values to change on its nested objects, one entry per object; each value conflicts like a value of the dump.",
                          "items": {
                            "$ref": "#/components/schemas/NestedSet"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "op": {
                          "enum": [
                            "dump.update"
                          ],
                          "type": "string"
                        },
                        "set": {
                          "additionalProperties": {
                            "anyOf": [
                              {},
                              {
                                "description": "A geo value: a GeoJSON geometry of the property's shape.",
                                "oneOf": [
                                  {
                                    "description": "A point.",
                                    "properties": {
                                      "coordinates": {
                                        "description": "[longitude, latitude] in WGS84.",
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Point",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path: at least 2 different points.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "description": "[longitude, latitude] in WGS84.",
                                          "items": {
                                            "type": "number"
                                          },
                                          "maxItems": 2,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "maxItems": 1000,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "LineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "A path that crosses the antimeridian, and only such a path: cut there into lines that meet at longitude 180 and -180 at the same latitude (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 2,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiLineString",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area: one closed ring (the last position repeats the first), that does not cross or touch itself.",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "description": "[longitude, latitude] in WGS84.",
                                            "items": {
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "maxItems": 1000,
                                          "minItems": 4,
                                          "type": "array"
                                        },
                                        "maxItems": 1,
                                        "minItems": 1,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "Polygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "description": "An area that crosses the antimeridian, and only such an area: cut there into polygons of one ring each, each with an edge along longitude 180 or -180, that joined along the edges they share make one ring (RFC 7946 §3.1.9).",
                                    "properties": {
                                      "coordinates": {
                                        "items": {
                                          "items": {
                                            "items": {
                                              "description": "[longitude, latitude] in WGS84.",
                                              "items": {
                                                "type": "number"
                                              },
                                              "maxItems": 2,
                                              "minItems": 2,
                                              "type": "array"
                                            },
                                            "maxItems": 1000,
                                            "minItems": 4,
                                            "type": "array"
                                          },
                                          "maxItems": 1,
                                          "minItems": 1,
                                          "type": "array"
                                        },
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "type": {
                                        "const": "MultiPolygon",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "coordinates"
                                    ],
                                    "type": "object"
                                  }
                                ]
                              },
                              {
                                "additionalProperties": false,
                                "description": "A quantity: an amount and the exact code of a unit of the property's domain.",
                                "properties": {
                                  "amount": {
                                    "description": "As a number: at most 15 significant digits, within 1e-307 and 1e307, in the unit and in the domain's base unit. Stored and shown as written.",
                                    "type": "number"
                                  },
                                  "unit": {
                                    "description": "The code of a unit of the property's domain, case-sensitive (km, m2, degC, gal_us). One of another domain, or no code, is value_not_representable, and its expected.allowed names the codes of the domain that were meant.",
                                    "enum": [
                                      "m",
                                      "nm",
                                      "um",
                                      "mm",
                                      "cm",
                                      "dm",
                                      "km",
                                      "in",
                                      "ft",
                                      "yd",
                                      "mi",
                                      "nmi",
                                      "angstrom",
                                      "thou",
                                      "chain",
                                      "fathom",
                                      "furlong",
                                      "au",
                                      "ly",
                                      "pc",
                                      "m2",
                                      "mm2",
                                      "cm2",
                                      "ha",
                                      "km2",
                                      "in2",
                                      "ft2",
                                      "yd2",
                                      "ac",
                                      "mi2",
                                      "a",
                                      "m3",
                                      "mm3",
                                      "cm3",
                                      "mL",
                                      "cL",
                                      "dL",
                                      "L",
                                      "hL",
                                      "in3",
                                      "ft3",
                                      "yd3",
                                      "tsp_us",
                                      "tbsp_us",
                                      "floz_us",
                                      "cup_us",
                                      "pt_us",
                                      "qt_us",
                                      "gal_us",
                                      "bbl",
                                      "floz_imp",
                                      "pt_imp",
                                      "qt_imp",
                                      "gal_imp",
                                      "uL",
                                      "dm3",
                                      "tsp_metric",
                                      "tbsp_metric",
                                      "cup_metric",
                                      "kg",
                                      "ug",
                                      "mg",
                                      "g",
                                      "t",
                                      "oz",
                                      "lb",
                                      "st",
                                      "ton_us",
                                      "ton_imp",
                                      "gr",
                                      "ct",
                                      "ozt",
                                      "kt",
                                      "Mt",
                                      "K",
                                      "degC",
                                      "degF",
                                      "degR",
                                      "m/s",
                                      "km/h",
                                      "mph",
                                      "ft/s",
                                      "kn",
                                      "km/s",
                                      "m/min",
                                      "ft/min",
                                      "Pa",
                                      "hPa",
                                      "kPa",
                                      "MPa",
                                      "mbar",
                                      "bar",
                                      "atm",
                                      "mmHg",
                                      "psi",
                                      "inHg",
                                      "GPa",
                                      "kgf/cm2",
                                      "torr",
                                      "ksi",
                                      "J",
                                      "kJ",
                                      "MJ",
                                      "GJ",
                                      "Wh",
                                      "kWh",
                                      "MWh",
                                      "GWh",
                                      "cal",
                                      "kcal",
                                      "BTU",
                                      "mJ",
                                      "TJ",
                                      "TWh",
                                      "eV",
                                      "toe",
                                      "ft.lbf",
                                      "MMBtu",
                                      "therm_us",
                                      "therm_ec",
                                      "W",
                                      "mW",
                                      "kW",
                                      "MW",
                                      "GW",
                                      "PS",
                                      "hp",
                                      "BTU/h",
                                      "uW",
                                      "TW",
                                      "hp_e",
                                      "TR",
                                      "N",
                                      "kN",
                                      "kgf",
                                      "lbf",
                                      "mN",
                                      "MN",
                                      "dyn",
                                      "ozf",
                                      "kip",
                                      "s",
                                      "ms",
                                      "min",
                                      "h",
                                      "d",
                                      "wk",
                                      "ns",
                                      "us",
                                      "deg",
                                      "arcmin",
                                      "arcsec",
                                      "grad",
                                      "rad",
                                      "turn",
                                      "mrad",
                                      "Hz",
                                      "kHz",
                                      "MHz",
                                      "GHz",
                                      "rpm",
                                      "THz",
                                      "bpm",
                                      "B",
                                      "bit",
                                      "kB",
                                      "MB",
                                      "GB",
                                      "TB",
                                      "PB",
                                      "KiB",
                                      "MiB",
                                      "GiB",
                                      "TiB",
                                      "PiB",
                                      "kbit",
                                      "Mbit",
                                      "Gbit",
                                      "EB",
                                      "EiB",
                                      "bit/s",
                                      "kbit/s",
                                      "Mbit/s",
                                      "Gbit/s",
                                      "B/s",
                                      "kB/s",
                                      "MB/s",
                                      "Tbit/s",
                                      "GB/s",
                                      "KiB/s",
                                      "MiB/s",
                                      "A",
                                      "mA",
                                      "uA",
                                      "kA",
                                      "V",
                                      "mV",
                                      "kV",
                                      "uV",
                                      "MV",
                                      "C",
                                      "mAh",
                                      "Ah",
                                      "uC",
                                      "mC",
                                      "ratio",
                                      "percent",
                                      "permille",
                                      "ppm",
                                      "ppb",
                                      "bp",
                                      "ppt",
                                      "kg/m3",
                                      "g/L",
                                      "mg/L",
                                      "g/cm3",
                                      "g/mL",
                                      "kg/L",
                                      "t/m3",
                                      "lb/ft3",
                                      "lb/in3",
                                      "lb/gal_us",
                                      "m3/s",
                                      "m3/min",
                                      "m3/h",
                                      "L/s",
                                      "L/min",
                                      "L/h",
                                      "mL/min",
                                      "ft3/s",
                                      "ft3/min",
                                      "gal_us/min",
                                      "gal_imp/min",
                                      "bbl/d",
                                      "N.m",
                                      "mN.m",
                                      "kN.m",
                                      "kgf.m",
                                      "lbf.ft",
                                      "lbf.in",
                                      "ozf.in",
                                      "m/s2",
                                      "cm/s2",
                                      "km/h/s",
                                      "g0",
                                      "ft/s2",
                                      "in/s2",
                                      "ohm",
                                      "mohm",
                                      "kohm",
                                      "Mohm",
                                      "F",
                                      "mF",
                                      "uF",
                                      "nF",
                                      "pF",
                                      "lx",
                                      "klx",
                                      "fc",
                                      "mol",
                                      "nmol",
                                      "umol",
                                      "mmol",
                                      "kmol"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "amount",
                                  "unit"
                                ],
                                "type": "object"
                              }
                            ],
                            "description": "A text as a string, a number as a JSON number, a date as a string in the form of its property's precision and only that form: a year as \"2026\", a quarter as \"2026-Q4\", a month as \"2026-11\", a week as \"2026-W48\" (an ISO 8601 week, Monday to Sunday), a day as \"2026-11-25\", a time as \"2026-11-25T14:00:00+01:00\" (any offset, whole seconds; read back in UTC); any other form, such as a day in a month property, is value_not_representable, a boolean, an option as its identifier, a dump as its key (TASK-5; one that names no dump is reference_missing), a person as their usr_ identifier (one GET /projects/{p}/people lists when the value changes to them, or person_not_found), a geometry as a GeoJSON geometry object of the property's shape (a point a Point, a path a LineString, an area a Polygon with one ring; coordinates are rounded to 7 decimals, and a geometry that is not one is value_not_representable), a quantity as {\"amount\": 12.5, \"unit\": \"km\"} with the exact code of a unit of the property's domain (a bare number, another member, a unit that is not one, such as gal for gal_us, and an amount beyond the bounds of a number in the unit or the domain's base unit are value_not_representable, whose expected.allowed names the codes meant); null empties the value. A rich text is Markdown; a link to a dump or a dump schema is [text](dump:TASK-5) or [text](schema:TASK), by a key current or old, and one to a key that names nothing is link_target_missing. The text is stored as written; reads show each link by the key of the read. A mention of a person is [name](person:usr_5), never checked."
                          },
                          "description": "The values to change, keyed by property identifier; null empties one. Every other value stays as it is.",
                          "examples": [
                            {
                              "prp_22": 1300
                            }
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "strict": {
                          "description": "Conflict with any change to any value or list of the dump (its nested objects included) since the base (strict_changed), not only with changes to the values and items written.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "op",
                        "dump"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "op": {
                          "enum": [
                            "property.restore"
                          ],
                          "type": "string"
                        },
                        "property": {
                          "description": "The removed property, at any depth.",
                          "examples": [
                            "prp_21"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "property"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "description": {
                          "description": "The project's instruction for the schema. Write it for the people and agents who fill it in: what the schema means and which dumps belong in it. They read it before they write, and ask when a request disagrees with it.",
                          "maxLength": 2000,
                          "type": "string"
                        },
                        "key": {
                          "description": "The schema's key, which starts the keys of its dumps (INV for INV-1): 1 to 10 ASCII letters and digits, a letter first, stored in uppercase. It must be one no schema of the project has or had (schema_key_taken). Absent: one is made from the name (Bug report: BR; Invoices: INV), with a number added when that one is taken.",
                          "examples": [
                            "INV"
                          ],
                          "maxLength": 10,
                          "minLength": 1,
                          "pattern": "^[A-Za-z][A-Za-z0-9]*$",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "description": "The schema's name.",
                          "examples": [
                            "Invoice"
                          ],
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "op": {
                          "enum": [
                            "schema.create"
                          ],
                          "type": "string"
                        },
                        "properties": {
                          "description": "Its properties, in order.",
                          "items": {
                            "$ref": "#/components/schemas/NewProperty"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "ref": {
                          "description": "A local name for the new schema, for later operations (and for a reference property of this schema to itself) as \"$name\".",
                          "examples": [
                            "inv"
                          ],
                          "type": "string"
                        },
                        "singular": {
                          "description": "The name for one of its dumps, where a name reads as a count (Vessels: Vessel). Not unique, never derived from name; absent or \"\": none, and the app says dump.",
                          "examples": [
                            "Invoice"
                          ],
                          "maxLength": 200,
                          "type": "string"
                        },
                        "title": {
                          "description": "The title property: the one its dumps are labeled by, a live plain-text property of the schema itself (not nested) without a formula, by \"$name\" of a property of this operation (property_not_in_schema for another, wrong_type for another type or a formula). Stored only: the server labels nothing by it, and no read, filter or sort changes. Absent or \"\": none, and the app labels by the first plain-text property.",
                          "examples": [
                            "$number"
                          ],
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "op",
                        "name"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "op": {
                          "enum": [
                            "schema.remove"
                          ],
                          "type": "string"
                        },
                        "schema": {
                          "description": "The dump schema: its key, current or old, in any letter case (TASK).",
                          "examples": [
                            "TASK"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "schema"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "op": {
                          "enum": [
                            "schema.restore"
                          ],
                          "type": "string"
                        },
                        "schema": {
                          "description": "The dump schema: its key, current or old, in any letter case (TASK).",
                          "examples": [
                            "TASK"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "op",
                        "schema"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "add_properties": {
                          "description": "Properties to add, each at the end or after a sibling.",
                          "items": {
                            "$ref": "#/components/schemas/NewProperty"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "change_properties": {
                          "description": "Changes to existing properties, in order.",
                          "items": {
                            "$ref": "#/components/schemas/PropertyChange"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "change_sections": {
                          "description": "Changes to the page sections (linked_from, recent_changes), in order, applied after add_properties, change_properties and remove_properties, so that after sees the properties as the operation leaves them and may name one it adds (\"$name\").",
                          "items": {
                            "$ref": "#/components/schemas/SectionChange"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "description": {
                          "description": "A new description; \"\" removes it.",
                          "maxLength": 2000,
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "key": {
                          "description": "A new key for the schema, and so for its dumps (TASK-5 becomes TODO-5). Its old keys, and its dumps' old keys, keep naming them, and stay reserved by it: the schema can take an old key back, and no other schema can take one (schema_key_taken).",
                          "examples": [
                            "TODO"
                          ],
                          "maxLength": 10,
                          "minLength": 1,
                          "pattern": "^[A-Za-z][A-Za-z0-9]*$",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "description": "A new name.",
                          "maxLength": 200,
                          "minLength": 1,
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "op": {
                          "enum": [
                            "schema.update"
                          ],
                          "type": "string"
                        },
                        "remove_properties": {
                          "description": "Properties to remove. Removing hides a property and deletes nothing; property.restore brings it back with its values.",
                          "examples": [
                            [
                              "prp_21"
                            ]
                          ],
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "resolutions": {
                          "description": "Resolutions of the groups of values that a type change in this operation cannot convert, each naming its group as the resolution_required problem did. The whole change is checked again: a group without a resolution refuses it again, and a resolution for a group that no longer exists is ignored.",
                          "items": {
                            "$ref": "#/components/schemas/Resolution"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "schema": {
                          "description": "The dump schema to change: its key, current or old, in any letter case (TASK).",
                          "examples": [
                            "TASK"
                          ],
                          "type": "string"
                        },
                        "singular": {
                          "description": "A new name for one of its dumps (Vessels: Vessel); \"\" removes it. Not unique, never derived from name.",
                          "examples": [
                            "Vessel"
                          ],
                          "maxLength": 200,
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "description": "A new title property, checked after the rest of the operation: a live plain-text property of the schema itself (not nested) without a formula, by identifier or \"$name\" (property_not_in_schema for another, wrong_type for another type or a formula); \"\" removes it. Stored only: the server labels nothing by it. Removing the title property, or making it another type or computed, removes the choice in the same transaction; restoring the property does not bring it back.",
                          "examples": [
                            "prp_21"
                          ],
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "op",
                        "schema"
                      ],
                      "type": "object"
                    }
                  ],
                  "description": "One operation: \"op\" names it, and the other members are that operation's."
                },
                {
                  "type": "null"
                }
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "statuses": {
            "description": "false: the light preview. The statuses are not worked out (checked: false; no errored, errored_before, rules or recalculating), so it holds the project's lock only as long as the operations take; results, groups of resolutions, conversions, affected, filled, dumps_affected and versions are as ever. Ask it while a person types, and the full preview (true, the default) when they pause or review.",
            "examples": [
              false
            ],
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "base",
          "operations"
        ],
        "type": "object"
      },
      "PreviewResponse": {
        "additionalProperties": false,
        "properties": {
          "descriptions": {
            "description": "The project's instructions for what this transaction touches: the description of each dump schema it creates, changes, removes or restores or holds a dump it creates, updates, deletes, undeletes or moves (a move: both schemas), and of each property it writes a value to, changes, adds, removes or restores, nested ones included. Only those with a description, as of after the transaction (before it, for one it removes); ordered by dump schema and then property, the schema's own entry first. Read them before you send the write; when one disagrees with what you are about to do, say so and ask rather than pick one. Empty when nothing it touches has a description.",
            "items": {
              "$ref": "#/components/schemas/PreviewDescription"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "preview": {
            "$ref": "#/components/schemas/Preview",
            "description": "What the transaction would do to the project's dumps."
          },
          "results": {
            "description": "One result per operation, in the order sent, as the write would answer now. Nothing they name as created exists or is reserved: a new dump or schema has the key the write would give it now, but a new property, option or nested object has an identifier the write will not give it.",
            "items": {
              "$ref": "#/components/schemas/Result"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "transaction": {
            "description": "The project's current transaction: the base a write of the same operations would need now. A dry run uses no number.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "descriptions",
          "results",
          "preview"
        ],
        "type": "object"
      },
      "Problem": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "type": "string"
          },
          "errors": {
            "items": {
              "$ref": "#/components/schemas/ProblemEntry"
            },
            "type": "array"
          },
          "request_id": {
            "type": "string"
          },
          "status": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "transaction": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "type": {
            "description": "The kind of rejection; its last part is the kind's name.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "type",
          "status",
          "title",
          "errors"
        ],
        "type": "object"
      },
      "ProblemChange": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "type": "string"
          },
          "recorded_at": {
            "format": "date-time",
            "type": "string"
          },
          "transaction": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "account",
          "recorded_at"
        ],
        "type": "object"
      },
      "ProblemEntry": {
        "additionalProperties": false,
        "properties": {
          "actual": {},
          "base": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "changed": {
            "$ref": "#/components/schemas/ProblemChange"
          },
          "code": {
            "description": "A stable code. New codes are added as endpoints are specified; a code is never renamed or reused.",
            "enum": [
              "token_missing",
              "token_expired",
              "token_invalid",
              "one_time_code_invalid",
              "audience_mismatch",
              "statement_outside_window",
              "statement_replayed",
              "signature_invalid",
              "credentials_invalid",
              "totp_required",
              "totp_invalid",
              "malformed_json",
              "unknown_field",
              "wrong_type",
              "base_missing",
              "retry_key_missing",
              "operator_not_allowed",
              "path_through_list",
              "path_too_deep",
              "sort_not_allowed",
              "property_unknown",
              "formula_invalid",
              "statement_malformed",
              "signature_malformed",
              "public_key_invalid",
              "statement_mismatch",
              "field_missing",
              "name_invalid",
              "email_invalid",
              "cursor_invalid",
              "operation_unknown",
              "operations_empty",
              "ref_taken",
              "base_invalid",
              "member_not_allowed",
              "description_invalid",
              "transaction_invalid",
              "search_text_invalid",
              "property_mapped_twice",
              "schema_key_invalid",
              "password_too_short",
              "password_too_long",
              "tier_too_low",
              "humans_only",
              "origin_not_allowed",
              "account_disabled",
              "agents_only",
              "owner_invite_required",
              "consent_needed",
              "password_wrong",
              "project_not_found",
              "dump_not_found",
              "schema_not_found",
              "path_not_found",
              "key_not_found",
              "organization_not_found",
              "member_not_found",
              "invite_not_found",
              "grant_not_found",
              "agent_not_found",
              "delegation_not_found",
              "property_not_found",
              "nested_object_not_found",
              "view_not_found",
              "view_event_not_found",
              "transfer_not_found",
              "value_changed",
              "dump_changed",
              "schema_changed",
              "list_reordered",
              "strict_changed",
              "view_changed",
              "value_not_representable",
              "option_unknown",
              "dump_deleted",
              "property_not_in_schema",
              "project_boundary",
              "resolution_required",
              "too_many_values",
              "key_limit_reached",
              "public_key_taken",
              "target_is_owner",
              "target_is_self",
              "target_not_human",
              "target_not_agent",
              "ref_unknown",
              "name_taken",
              "schema_removed",
              "same_schema",
              "schema_key_taken",
              "reference_missing",
              "link_target_missing",
              "person_not_found",
              "view_setting_invalid",
              "document_not_current",
              "transfer_pending",
              "transfer_not_pending",
              "email_taken",
              "code_invalid",
              "authenticator_on",
              "authenticator_off",
              "authenticator_not_started",
              "retry_key_reused",
              "retry_in_progress",
              "too_many_operations",
              "request_too_large",
              "value_too_large",
              "too_many_projects",
              "too_many_organization_agents",
              "too_many_user_agents",
              "too_many_pending_invites",
              "query_too_large",
              "too_many_rules",
              "view_limit_reached",
              "rate_limited",
              "busy",
              "account_locked"
            ],
            "type": "string"
          },
          "count": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "current": {},
          "current_omitted": {
            "type": "boolean"
          },
          "detail": {
            "type": "string"
          },
          "dump": {
            "type": "string"
          },
          "expected": {
            "$ref": "#/components/schemas/ProblemExpected"
          },
          "find": {
            "$ref": "#/components/schemas/ProblemFind"
          },
          "header": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "next": {
            "items": {
              "$ref": "#/components/schemas/ProblemNext"
            },
            "type": "array"
          },
          "pointer": {
            "type": "string"
          },
          "property": {
            "type": "string"
          },
          "sample": {
            "items": {
              "$ref": "#/components/schemas/ProblemSample"
            },
            "type": "array"
          },
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "detail"
        ],
        "type": "object"
      },
      "ProblemExpected": {
        "additionalProperties": false,
        "properties": {
          "allowed": {
            "items": {},
            "type": "array"
          },
          "format": {
            "type": "string"
          },
          "max": {},
          "min": {},
          "tier": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ProblemFind": {
        "additionalProperties": false,
        "properties": {
          "schema": {
            "type": "string"
          },
          "where": {}
        },
        "required": [
          "schema",
          "where"
        ],
        "type": "object"
      },
      "ProblemNext": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "type": "string"
          },
          "after_seconds": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "base": {
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "dump": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "pointer": {
            "type": "string"
          },
          "resolve": {
            "type": "string"
          }
        },
        "required": [
          "action"
        ],
        "type": "object"
      },
      "ProblemSample": {
        "additionalProperties": false,
        "properties": {
          "dump": {
            "type": "string"
          },
          "stored": {}
        },
        "required": [
          "dump",
          "stored"
        ],
        "type": "object"
      },
      "Project": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "examples": [
              "2026-11-20T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "description": "What the project is for: at most 2,000 characters; empty when it has none. Everyone who can open the project reads it.",
            "examples": [
              "The shipping ledger."
            ],
            "type": "string"
          },
          "group_invites": {
            "$ref": "#/components/schemas/GroupInvites",
            "description": "The tier every human member of the organization gets, and the tier every Organization Agent gets."
          },
          "id": {
            "description": "The project's identifier.",
            "examples": [
              "prj_1"
            ],
            "type": "string"
          },
          "members": {
            "$ref": "#/components/schemas/Members",
            "description": "How many accounts can open the project. Access is not versioned: the numbers are as of now."
          },
          "name": {
            "examples": [
              "Books"
            ],
            "type": "string"
          },
          "organization": {
            "$ref": "#/components/schemas/Named",
            "description": "The organization that owns it, for good."
          },
          "owner": {
            "description": "Whether the caller acts with the Owner's rights here: deleting it, setting its group invites, granting the Project Administrator tier.",
            "type": "boolean"
          },
          "owner_account": {
            "description": "The account of the Owner of the project's organization, who has the Owner's rights here without a grant. Shown to everyone who can open the project, non-members included, so a grants list can say which row is the Owner's.",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "recalculating": {
            "description": "How many properties a current read shows as recalculating: statuses that trail behind a change and that the background worker has not settled yet. 0 when all are settled. Only in GET /projects/{p}.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "summary": {
            "$ref": "#/components/schemas/ProjectSummary",
            "description": "What a card on the all-projects page shows: only with include [\"summary\"] on QUERY /projects."
          },
          "tier": {
            "description": "The caller's tier on it, as it stands now: the highest of its personal grant and the group invite that covers it; for a User Agent, what its user delegated, capped at the user's tier. The Owner holds administrator.",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          },
          "transaction": {
            "description": "The project's latest transaction (0 before its first write).",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "organization",
          "tier",
          "owner",
          "owner_account",
          "group_invites",
          "created_at",
          "transaction",
          "members"
        ],
        "type": "object"
      },
      "ProjectCapabilities": {
        "additionalProperties": false,
        "properties": {
          "operations": {
            "description": "The operations about this project (/projects/{p}/...) that the caller may use, by name.",
            "items": {
              "$ref": "#/components/schemas/AllowedOperation"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "owner": {
            "description": "Whether the caller acts with the Owner's rights here.",
            "type": "boolean"
          },
          "project": {
            "description": "The project's identifier.",
            "examples": [
              "prj_1"
            ],
            "type": "string"
          },
          "tier": {
            "description": "The caller's tier on it, as it stands now (the Owner holds administrator).",
            "enum": [
              "reader",
              "writer",
              "developer",
              "administrator"
            ],
            "type": "string"
          }
        },
        "required": [
          "project",
          "tier",
          "owner",
          "operations"
        ],
        "type": "object"
      },
      "ProjectChange": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "description": "The new description, at most 2,000 characters; \"\" removes it. Left out: unchanged.",
            "examples": [
              "The shipping ledger."
            ],
            "maxLength": 2000,
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "The new name: 1 to 200 characters; spaces around it are dropped. Left out: unchanged.",
            "examples": [
              "Books"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "ProjectSummary": {
        "additionalProperties": false,
        "properties": {
          "dumps": {
            "description": "The dumps that are not deleted, in live dump schemas, now: what every Reader can list.",
            "examples": [
              776
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "last_activity": {
            "$ref": "#/components/schemas/LastActivity",
            "description": "The project's newest transaction a caller sent; background work never counts. Absent when no caller ever wrote."
          },
          "my_agents": {
            "description": "The caller's own User Agents that are enabled and can open the project now, with their tier there. Empty for an agent caller.",
            "items": {
              "$ref": "#/components/schemas/MyAgent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "people": {
            "description": "Up to 5 accounts, people and agents alike, that sent the project's most recent caller transactions (of its newest 1,000), most recently active first: keys of the page's actors. Two agents of one person are two entries.",
            "examples": [
              [
                "agt_7",
                "usr_5"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "schema_keys": {
            "description": "The keys of the live dump schemas, oldest schema first, at most 6; schemas says how many there are. Everyone who can open the project lists them.",
            "examples": [
              [
                "VSL",
                "VOY"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "schemas": {
            "description": "How many live dump schemas the project has.",
            "examples": [
              2
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "schema_keys",
          "schemas",
          "dumps",
          "people",
          "my_agents"
        ],
        "type": "object"
      },
      "ProjectTotals": {
        "additionalProperties": false,
        "properties": {
          "by_organization": {
            "description": "How many match in each organization, by organization identifier; they add up to projects.",
            "items": {
              "$ref": "#/components/schemas/OrganizationTotal"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "organizations": {
            "description": "In how many organizations: the entries of by_organization.",
            "examples": [
              3
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "projects": {
            "description": "How many projects match.",
            "examples": [
              6
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "projects",
          "organizations",
          "by_organization"
        ],
        "type": "object"
      },
      "ProjectsPage": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "With include [\"summary\"] only: every account the summaries name (last_activity.by, people, my_agents), keyed by account id, once for the page; absent when they name nobody. A person is named where they are a person of a project they appear in; a User Agent has its name only for its owner, to everyone else it is its owner's agent; an Organization Agent is named.",
            "type": "object"
          },
          "cursor": {
            "description": "Send it alone in a QUERY to get the next page; absent on the last page.",
            "type": "string"
          },
          "projects": {
            "description": "The live projects the caller may open, in the order asked for: by identifier, oldest first, unless sort says otherwise.",
            "items": {
              "$ref": "#/components/schemas/Project"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "totals": {
            "$ref": "#/components/schemas/ProjectTotals",
            "description": "How many projects the query matches over all its pages, not what this page holds; only projects the caller can open count."
          }
        },
        "required": [
          "projects",
          "totals"
        ],
        "type": "object"
      },
      "ProjectsQuery": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "The cursor of the previous page. It carries the page size, include, the filters and the sort too, so it can be sent alone; a filter or sort sent with it must be the one it carries (cursor_invalid otherwise).",
            "examples": [
              "eyJrIjoicHJvamVjdHMifQ"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "include": {
            "description": "summary gives each project its summary (type keys, the dump count, the last activity, the people most recently active, the caller's agents there) and the page its actors.",
            "examples": [
              [
                "summary"
              ]
            ],
            "items": {
              "enum": [
                "summary"
              ],
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "limit": {
            "description": "How many projects a page holds: 1 to 500, 50 when left out.",
            "examples": [
              100
            ],
            "maximum": 500,
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "organization": {
            "description": "Only this organization's projects. An organization the caller can open no project of gives an empty page, never an error.",
            "examples": [
              "org_1"
            ],
            "pattern": "^org_[1-9][0-9]*$",
            "type": [
              "string",
              "null"
            ]
          },
          "q": {
            "description": "Only projects whose name or description contains this text, ignoring case.",
            "examples": [
              "ledger"
            ],
            "maxLength": 200,
            "type": [
              "string",
              "null"
            ]
          },
          "sort": {
            "anyOf": [
              {
                "enum": [
                  "created",
                  "name",
                  "last_activity"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "created (the default): by identifier, oldest first. name: by name ignoring case, then identifier. last_activity: the newest caller transaction first (background work never counts), a project without one last."
          },
          "with_my_agents": {
            "description": "true: only projects that one of the caller's own enabled User Agents can open (summary.my_agents not empty).",
            "examples": [
              true
            ],
            "type": [
              "boolean",
              "null"
            ]
          },
          "writable": {
            "description": "true: only projects where the caller's tier is writer or above.",
            "examples": [
              true
            ],
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "PropertyChange": {
        "additionalProperties": false,
        "properties": {
          "add_options": {
            "description": "For a select: options to add, each at the end or after a sibling.",
            "items": {
              "$ref": "#/components/schemas/NewOption"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "add_properties": {
            "description": "For nested objects: properties to add to the nested schema.",
            "items": {
              "$ref": "#/components/schemas/NewProperty"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "after": {
            "description": "Move it after this sibling; \"\" moves it first.",
            "type": [
              "string",
              "null"
            ]
          },
          "card": {
            "anyOf": [
              {
                "enum": [
                  "always",
                  "detail",
                  "never"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new card setting: always, detail or never. A change is a schema change; no saved view changes with it."
          },
          "change_options": {
            "description": "For a select: relabel, recolor or move options. A relabel or a new color changes no data.",
            "items": {
              "$ref": "#/components/schemas/OptionChange"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "change_properties": {
            "description": "For nested objects: changes to properties of the nested schema.",
            "items": {
              "$ref": "#/components/schemas/PropertyChange"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "description": {
            "description": "A new description, written for the people and agents who fill the property in (what it means and what to put in it); \"\" removes it. When you change the property's type, domain or unit, update its description in the same transaction.",
            "maxLength": 2000,
            "type": [
              "string",
              "null"
            ]
          },
          "domain": {
            "anyOf": [
              {
                "enum": [
                  "length",
                  "area",
                  "volume",
                  "mass",
                  "temperature",
                  "speed",
                  "pressure",
                  "energy",
                  "power",
                  "force",
                  "duration",
                  "angle",
                  "frequency",
                  "data_size",
                  "data_rate",
                  "current",
                  "voltage",
                  "charge",
                  "ratio",
                  "density",
                  "flow",
                  "torque",
                  "acceleration",
                  "resistance",
                  "capacitance",
                  "illuminance",
                  "amount"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "For a quantity: a new domain. A change is a type change, and no domain converts into another: the values need a resolution. Required when a property becomes a quantity."
          },
          "formula": {
            "description": "A new formula, which makes the property computed; \"\" removes it, and the property keeps its last value and can be written again. Its values are recalculated in the background.",
            "type": [
              "string",
              "null"
            ]
          },
          "group": {
            "description": "A new group in the property table of a dump's page; \"\" takes it out of its group. Renaming a group is a change of the group of each of its properties. A change is a schema change.",
            "examples": [
              "Identity"
            ],
            "maxLength": 100,
            "type": [
              "string",
              "null"
            ]
          },
          "many": {
            "description": "For a reference, nested objects or a person: one or many. A change is a type change.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "name": {
            "description": "A new name.",
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "string",
              "null"
            ]
          },
          "placement": {
            "anyOf": [
              {
                "enum": [
                  "table",
                  "body"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new placement: table or body. A change is a schema change; a type change leaves the placement as it is."
          },
          "precision": {
            "anyOf": [
              {
                "enum": [
                  "year",
                  "quarter",
                  "month",
                  "week",
                  "day",
                  "time"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "For a date: a new precision. A change is a type change: a value converts when it lies wholly inside one period of the new precision (the day 2026-11-25 becomes the month 2026-11, a moment its UTC day). The rest need a resolution: to time the group time_missing (resolved with a time of day, or start: midnight UTC of the first day), otherwise not_in_one_period (resolved with start: the period of the new precision that holds the value's first day, so 2026-W53 becomes the month 2026-12). When a property becomes a date and none is given: day.",
            "examples": [
              "time"
            ]
          },
          "property": {
            "description": "The property, a live one of this schema (or of the nested schema the change is inside).",
            "examples": [
              "prp_22"
            ],
            "type": "string"
          },
          "remove_options": {
            "description": "For a select: options to remove. Removing hides an option and deletes nothing; values that hold it become errored.",
            "examples": [
              [
                "opt_62"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "remove_properties": {
            "description": "For nested objects: properties of the nested schema to remove.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "required": {
            "description": "Whether a missing value makes the property errored; it never blocks a write.",
            "type": [
              "boolean",
              "null"
            ]
          },
          "restore_options": {
            "description": "For a select: removed options to bring back.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rules": {
            "description": "The property's validation rules, replacing the ones it has; [] removes them all. Adding a stricter rule is never refused: values that break it become errored in the background.",
            "items": {
              "$ref": "#/components/schemas/Rule"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "shape": {
            "anyOf": [
              {
                "enum": [
                  "point",
                  "path",
                  "area"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "For a geo property: a new shape, point, path or area. A change is a type change, and no shape converts into another: the values need a resolution. Required when a property becomes geo."
          },
          "target": {
            "description": "For a reference: a new target schema, by its key, current or old, in any letter case (TASK), or \"$name\". Values that point elsewhere become errored; nothing is refused.",
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "enum": [
                  "plain_text",
                  "rich_text",
                  "number",
                  "date",
                  "boolean",
                  "single_select",
                  "multi_select",
                  "reference",
                  "nested",
                  "attachment",
                  "person",
                  "geo",
                  "quantity"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new type. Every value that converts is converted (to text from any value but a reference, a nested object or an attachment, a person as their name at the time of the change (a former member as their usr_ identifier), people as their names joined with \", \"; a text that reads as a number, a date in the form of the date's precision (2026-Q4 for a quarter, 2026-11-19 for a day, a moment with an offset) or a boolean; a date to text in the form of its precision; a date to another precision when it lies wholly inside one period of it; a select to the other kind, a list of one item to one, and one to a list; a number to a quantity of that amount in the new unit, a quantity to a number in the old property's unit (5 ft in m: 1.524), a plain text that reads as a quantity of the new domain (12.5 km, 12.5km) to it, and a quantity to plain text as its amount and unit code (12.5 km); nothing else becomes a person). The values that do not convert are refused as one resolution_required group per property, resolved by resubmitting with resolutions. More than 100,000 values is too_many_values."
          },
          "unit": {
            "anyOf": [
              {
                "enum": [
                  "m",
                  "nm",
                  "um",
                  "mm",
                  "cm",
                  "dm",
                  "km",
                  "in",
                  "ft",
                  "yd",
                  "mi",
                  "nmi",
                  "angstrom",
                  "thou",
                  "chain",
                  "fathom",
                  "furlong",
                  "au",
                  "ly",
                  "pc",
                  "m2",
                  "mm2",
                  "cm2",
                  "ha",
                  "km2",
                  "in2",
                  "ft2",
                  "yd2",
                  "ac",
                  "mi2",
                  "a",
                  "m3",
                  "mm3",
                  "cm3",
                  "mL",
                  "cL",
                  "dL",
                  "L",
                  "hL",
                  "in3",
                  "ft3",
                  "yd3",
                  "tsp_us",
                  "tbsp_us",
                  "floz_us",
                  "cup_us",
                  "pt_us",
                  "qt_us",
                  "gal_us",
                  "bbl",
                  "floz_imp",
                  "pt_imp",
                  "qt_imp",
                  "gal_imp",
                  "uL",
                  "dm3",
                  "tsp_metric",
                  "tbsp_metric",
                  "cup_metric",
                  "kg",
                  "ug",
                  "mg",
                  "g",
                  "t",
                  "oz",
                  "lb",
                  "st",
                  "ton_us",
                  "ton_imp",
                  "gr",
                  "ct",
                  "ozt",
                  "kt",
                  "Mt",
                  "K",
                  "degC",
                  "degF",
                  "degR",
                  "m/s",
                  "km/h",
                  "mph",
                  "ft/s",
                  "kn",
                  "km/s",
                  "m/min",
                  "ft/min",
                  "Pa",
                  "hPa",
                  "kPa",
                  "MPa",
                  "mbar",
                  "bar",
                  "atm",
                  "mmHg",
                  "psi",
                  "inHg",
                  "GPa",
                  "kgf/cm2",
                  "torr",
                  "ksi",
                  "J",
                  "kJ",
                  "MJ",
                  "GJ",
                  "Wh",
                  "kWh",
                  "MWh",
                  "GWh",
                  "cal",
                  "kcal",
                  "BTU",
                  "mJ",
                  "TJ",
                  "TWh",
                  "eV",
                  "toe",
                  "ft.lbf",
                  "MMBtu",
                  "therm_us",
                  "therm_ec",
                  "W",
                  "mW",
                  "kW",
                  "MW",
                  "GW",
                  "PS",
                  "hp",
                  "BTU/h",
                  "uW",
                  "TW",
                  "hp_e",
                  "TR",
                  "N",
                  "kN",
                  "kgf",
                  "lbf",
                  "mN",
                  "MN",
                  "dyn",
                  "ozf",
                  "kip",
                  "s",
                  "ms",
                  "min",
                  "h",
                  "d",
                  "wk",
                  "ns",
                  "us",
                  "deg",
                  "arcmin",
                  "arcsec",
                  "grad",
                  "rad",
                  "turn",
                  "mrad",
                  "Hz",
                  "kHz",
                  "MHz",
                  "GHz",
                  "rpm",
                  "THz",
                  "bpm",
                  "B",
                  "bit",
                  "kB",
                  "MB",
                  "GB",
                  "TB",
                  "PB",
                  "KiB",
                  "MiB",
                  "GiB",
                  "TiB",
                  "PiB",
                  "kbit",
                  "Mbit",
                  "Gbit",
                  "EB",
                  "EiB",
                  "bit/s",
                  "kbit/s",
                  "Mbit/s",
                  "Gbit/s",
                  "B/s",
                  "kB/s",
                  "MB/s",
                  "Tbit/s",
                  "GB/s",
                  "KiB/s",
                  "MiB/s",
                  "A",
                  "mA",
                  "uA",
                  "kA",
                  "V",
                  "mV",
                  "kV",
                  "uV",
                  "MV",
                  "C",
                  "mAh",
                  "Ah",
                  "uC",
                  "mC",
                  "ratio",
                  "percent",
                  "permille",
                  "ppm",
                  "ppb",
                  "bp",
                  "ppt",
                  "kg/m3",
                  "g/L",
                  "mg/L",
                  "g/cm3",
                  "g/mL",
                  "kg/L",
                  "t/m3",
                  "lb/ft3",
                  "lb/in3",
                  "lb/gal_us",
                  "m3/s",
                  "m3/min",
                  "m3/h",
                  "L/s",
                  "L/min",
                  "L/h",
                  "mL/min",
                  "ft3/s",
                  "ft3/min",
                  "gal_us/min",
                  "gal_imp/min",
                  "bbl/d",
                  "N.m",
                  "mN.m",
                  "kN.m",
                  "kgf.m",
                  "lbf.ft",
                  "lbf.in",
                  "ozf.in",
                  "m/s2",
                  "cm/s2",
                  "km/h/s",
                  "g0",
                  "ft/s2",
                  "in/s2",
                  "ohm",
                  "mohm",
                  "kohm",
                  "Mohm",
                  "F",
                  "mF",
                  "uF",
                  "nF",
                  "pF",
                  "lx",
                  "klx",
                  "fc",
                  "mol",
                  "nmol",
                  "umol",
                  "mmol",
                  "kmol"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "For a quantity: a new unit, the code of a unit of its domain. A plain change: no value changes with it. When the domain changes and no unit is given, the unit becomes the new domain's base unit.",
            "examples": [
              "km"
            ]
          },
          "when_empty": {
            "anyOf": [
              {
                "enum": [
                  "show",
                  "hide"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new setting for an empty value in Read: show or hide. A change is a schema change."
          }
        },
        "required": [
          "property"
        ],
        "type": "object"
      },
      "PropertyDefinitionChange": {
        "additionalProperties": false,
        "properties": {
          "fields": {
            "description": "What changed, worked out from this version and the previous one: name, type, required, description, formula, rules, card, group, placement, when_empty, target, many, shape, precision, domain, unit, one option entry per option the transaction wrote, and order for a move. Absent when added.",
            "items": {
              "$ref": "#/components/schemas/FieldChange"
            },
            "type": "array"
          },
          "kind": {
            "description": "added (its first version), removed, restored (removed before, live now) or changed.",
            "examples": [
              "changed"
            ],
            "type": "string"
          },
          "path": {
            "description": "For a property of a nested schema: the nested properties from the dump schema down to the property's own schema. Absent for a property of the dump schema itself.",
            "examples": [
              [
                "prp_31"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "previous": {
            "description": "The transaction of the property's previous version.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "property": {
            "examples": [
              "prp_44"
            ],
            "type": "string"
          },
          "schema": {
            "description": "The dump schema the property is in, at any depth, by its key as of the page's transaction.",
            "examples": [
              "INV"
            ],
            "type": "string"
          },
          "version": {
            "description": "The version number of the dump schema (at the root of the property's own schema) that this transaction made, as SchemaView.version counts it.",
            "examples": [
              7
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "property",
          "schema",
          "version",
          "kind"
        ],
        "type": "object"
      },
      "PropertyIssues": {
        "additionalProperties": false,
        "properties": {
          "checked": {
            "description": "The issues were counted. False when the schema holds more live dumps than limits.IssueCountDumps (10,000): then there are no numbers, rather than wrong ones.",
            "type": "boolean"
          },
          "errored": {
            "description": "When checked: how many live dumps have the property errored on a holder that shows (the dump, or a nested object it shows), as the system field issues finds them.",
            "examples": [
              1
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "reasons": {
            "additionalProperties": {
              "maximum": 9223372036854775807,
              "minimum": -9223372036854775808,
              "type": "integer"
            },
            "description": "When checked: the errored dumps by reason code (required_missing, rule_failed, formula_error, ...), each dump once per reason; a dump errored for two reasons counts under both. Absent: none errored.",
            "examples": [
              {
                "required_missing": 1
              }
            ],
            "type": "object"
          },
          "recalculating": {
            "description": "When checked: how many live dumps have the property recalculating on a holder that shows.",
            "examples": [
              0
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "checked"
        ],
        "type": "object"
      },
      "PropertyPreview": {
        "additionalProperties": false,
        "properties": {
          "affected": {
            "description": "How many dumps hold a value of the property that its type change rewrites; 0 without a type change.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "converted": {
            "description": "How many of those convert as they are: none of their values is in a group of resolutions.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "errored": {
            "additionalProperties": {
              "maximum": 9223372036854775807,
              "minimum": -9223372036854775808,
              "type": "integer"
            },
            "description": "Per reason (the reasons of a value status, such as required_missing and rule_failed), how many current holders of the property (live dumps, or their nested objects) would be errored. Present when checked; empty when none.",
            "type": "object"
          },
          "errored_before": {
            "additionalProperties": {
              "maximum": 9223372036854775807,
              "minimum": -9223372036854775808,
              "type": "integer"
            },
            "description": "Per reason, how many of the same holders are errored now, before the transaction (a new property has none). errored minus errored_before is how many more would be errored. Present when checked; empty when none.",
            "type": "object"
          },
          "filled": {
            "description": "How many dumps a new property's fill gives its value: the live dumps of the schema (docs/decisions/0042-schema-details.md, decision 6). Absent without a fill, or when the schema has no live dumps.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "property": {
            "description": "The property.",
            "examples": [
              "prp_22"
            ],
            "type": "string"
          },
          "recalculating": {
            "description": "How many current holders of the property are still recalculating after the dry run's work: their job is held by a worker, or reached only through propagation. They are not counted in errored or rules. Present when checked and above 0.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "resolutions": {
            "description": "The groups of values that do not convert and have no resolution yet: the resolution_required entries, with count, sample, find and next, exactly as a write of the same operations would be refused with. Send the write with a resolution for each.",
            "items": {
              "$ref": "#/components/schemas/ProblemEntry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "rules": {
            "description": "Per validation rule of the property after the transaction, in order, how many holders would fail it: each rule is evaluated on its own, so a holder that fails several rules counts under each, and rules that share a message count apart. A holder whose rule an errored or recalculating input keeps from being evaluated counts under none. Present when checked.",
            "items": {
              "$ref": "#/components/schemas/RulePreview"
            },
            "type": "array"
          }
        },
        "required": [
          "property",
          "affected",
          "converted",
          "resolutions"
        ],
        "type": "object"
      },
      "PropertyUser": {
        "additionalProperties": false,
        "properties": {
          "in": {
            "description": "formula: its formula reads the property; rule: one of its rules does.",
            "enum": [
              "formula",
              "rule"
            ],
            "examples": [
              "formula"
            ],
            "type": "string"
          },
          "path": {
            "description": "For a reader in a nested schema: the nested properties from the dump schema down to the reader's own schema, as in history. Absent for a property of the dump schema itself.",
            "examples": [
              [
                "prp_25"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "property": {
            "description": "The reader.",
            "examples": [
              "prp_26"
            ],
            "type": "string"
          },
          "schema": {
            "description": "The reader's dump schema, by its key as of the read.",
            "examples": [
              "INV"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "property",
          "in"
        ],
        "type": "object"
      },
      "PropertyView": {
        "additionalProperties": false,
        "properties": {
          "card": {
            "description": "always, detail or never: whether the property shows on cards, as of the read. Only a top-level property has an effect.",
            "enum": [
              "always",
              "detail",
              "never"
            ],
            "examples": [
              "detail"
            ],
            "type": "string"
          },
          "description": {
            "description": "The project's instruction for the property, written by the people who own the project for the people and agents who fill it in: what the property means and what to put in it. Read it before you write a value or change the property; when a request disagrees with it, say so and ask. When you change a property's type, domain or unit, update its description in the same transaction.",
            "examples": [
              "The invoice total in euros, VAT included."
            ],
            "type": "string"
          },
          "domain": {
            "description": "A quantity: what it measures, such as length or mass. Always present on a quantity.",
            "enum": [
              "length",
              "area",
              "volume",
              "mass",
              "temperature",
              "speed",
              "pressure",
              "energy",
              "power",
              "force",
              "duration",
              "angle",
              "frequency",
              "data_size",
              "data_rate",
              "current",
              "voltage",
              "charge",
              "ratio",
              "density",
              "flow",
              "torque",
              "acceleration",
              "resistance",
              "capacitance",
              "illuminance",
              "amount"
            ],
            "examples": [
              "length"
            ],
            "type": "string"
          },
          "formula": {
            "description": "A computed property: its formula, with the current names of the properties it reads. A property that no longer exists shows as [\"#prp_...\"].",
            "examples": [
              "qty * price"
            ],
            "type": "string"
          },
          "group": {
            "description": "The group the property is in, in the property table of a dump's page, as of the read; absent for none. Only a top-level property has an effect.",
            "examples": [
              "Identity"
            ],
            "type": "string"
          },
          "issues": {
            "$ref": "#/components/schemas/PropertyIssues",
            "description": "With include=issues (schemas.get): what is wrong with its values over the schema's live dumps as of the read. Never on a schema list."
          },
          "many": {
            "description": "A reference, nested objects or a person: a list.",
            "type": "boolean"
          },
          "name": {
            "description": "The property's name, as of the read.",
            "examples": [
              "total"
            ],
            "type": "string"
          },
          "options": {
            "description": "A select: its options, in order.",
            "items": {
              "$ref": "#/components/schemas/OptionView"
            },
            "type": "array"
          },
          "order": {
            "description": "Nested objects: the identifiers of the nested schema's properties, in order.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "placement": {
            "description": "table or body: where the property shows on a dump's page, as of the read. Only a top-level property has an effect.",
            "enum": [
              "table",
              "body"
            ],
            "examples": [
              "table"
            ],
            "type": "string"
          },
          "precision": {
            "description": "A date: how fine its values are, year, quarter, month, week, day or time (a moment). Always present on a date.",
            "enum": [
              "year",
              "quarter",
              "month",
              "week",
              "day",
              "time"
            ],
            "examples": [
              "day"
            ],
            "type": "string"
          },
          "properties": {
            "additionalProperties": {
              "$ref": "#/components/schemas/PropertyView"
            },
            "description": "Nested objects: the properties of the nested schema, keyed by identifier.",
            "type": "object"
          },
          "removed": {
            "description": "The property is removed (shown only when removed ones are asked for); property.restore brings it back.",
            "type": "boolean"
          },
          "required": {
            "description": "A missing value makes the property errored; it never blocks a write.",
            "type": "boolean"
          },
          "required_since": {
            "description": "A required property: the version number of the schema in which it last became required, as of the read: the version that added it when it was required from the start, else the version that made it required, or set it again after it was unset. Absent while not required.",
            "examples": [
              3
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "rules": {
            "description": "Its validation rules, in order.",
            "items": {
              "$ref": "#/components/schemas/RuleView"
            },
            "type": "array"
          },
          "shape": {
            "description": "A geo property: what it holds, point, path or area.",
            "enum": [
              "point",
              "path",
              "area"
            ],
            "type": "string"
          },
          "target": {
            "description": "A reference: the key of the dump schema it points into, as of the read.",
            "examples": [
              "SUP"
            ],
            "type": "string"
          },
          "transaction": {
            "description": "The latest transaction that changed the property, its options or its nested schema.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "type": {
            "description": "The property's type, as of the read: what a value of it holds.",
            "enum": [
              "plain_text",
              "rich_text",
              "number",
              "date",
              "boolean",
              "single_select",
              "multi_select",
              "reference",
              "nested",
              "attachment",
              "person",
              "geo",
              "quantity"
            ],
            "examples": [
              "number"
            ],
            "type": "string"
          },
          "unit": {
            "description": "A quantity: its unit, a unit code of its domain; the domain's base unit when none was given. Always present on a quantity.",
            "enum": [
              "m",
              "nm",
              "um",
              "mm",
              "cm",
              "dm",
              "km",
              "in",
              "ft",
              "yd",
              "mi",
              "nmi",
              "angstrom",
              "thou",
              "chain",
              "fathom",
              "furlong",
              "au",
              "ly",
              "pc",
              "m2",
              "mm2",
              "cm2",
              "ha",
              "km2",
              "in2",
              "ft2",
              "yd2",
              "ac",
              "mi2",
              "a",
              "m3",
              "mm3",
              "cm3",
              "mL",
              "cL",
              "dL",
              "L",
              "hL",
              "in3",
              "ft3",
              "yd3",
              "tsp_us",
              "tbsp_us",
              "floz_us",
              "cup_us",
              "pt_us",
              "qt_us",
              "gal_us",
              "bbl",
              "floz_imp",
              "pt_imp",
              "qt_imp",
              "gal_imp",
              "uL",
              "dm3",
              "tsp_metric",
              "tbsp_metric",
              "cup_metric",
              "kg",
              "ug",
              "mg",
              "g",
              "t",
              "oz",
              "lb",
              "st",
              "ton_us",
              "ton_imp",
              "gr",
              "ct",
              "ozt",
              "kt",
              "Mt",
              "K",
              "degC",
              "degF",
              "degR",
              "m/s",
              "km/h",
              "mph",
              "ft/s",
              "kn",
              "km/s",
              "m/min",
              "ft/min",
              "Pa",
              "hPa",
              "kPa",
              "MPa",
              "mbar",
              "bar",
              "atm",
              "mmHg",
              "psi",
              "inHg",
              "GPa",
              "kgf/cm2",
              "torr",
              "ksi",
              "J",
              "kJ",
              "MJ",
              "GJ",
              "Wh",
              "kWh",
              "MWh",
              "GWh",
              "cal",
              "kcal",
              "BTU",
              "mJ",
              "TJ",
              "TWh",
              "eV",
              "toe",
              "ft.lbf",
              "MMBtu",
              "therm_us",
              "therm_ec",
              "W",
              "mW",
              "kW",
              "MW",
              "GW",
              "PS",
              "hp",
              "BTU/h",
              "uW",
              "TW",
              "hp_e",
              "TR",
              "N",
              "kN",
              "kgf",
              "lbf",
              "mN",
              "MN",
              "dyn",
              "ozf",
              "kip",
              "s",
              "ms",
              "min",
              "h",
              "d",
              "wk",
              "ns",
              "us",
              "deg",
              "arcmin",
              "arcsec",
              "grad",
              "rad",
              "turn",
              "mrad",
              "Hz",
              "kHz",
              "MHz",
              "GHz",
              "rpm",
              "THz",
              "bpm",
              "B",
              "bit",
              "kB",
              "MB",
              "GB",
              "TB",
              "PB",
              "KiB",
              "MiB",
              "GiB",
              "TiB",
              "PiB",
              "kbit",
              "Mbit",
              "Gbit",
              "EB",
              "EiB",
              "bit/s",
              "kbit/s",
              "Mbit/s",
              "Gbit/s",
              "B/s",
              "kB/s",
              "MB/s",
              "Tbit/s",
              "GB/s",
              "KiB/s",
              "MiB/s",
              "A",
              "mA",
              "uA",
              "kA",
              "V",
              "mV",
              "kV",
              "uV",
              "MV",
              "C",
              "mAh",
              "Ah",
              "uC",
              "mC",
              "ratio",
              "percent",
              "permille",
              "ppm",
              "ppb",
              "bp",
              "ppt",
              "kg/m3",
              "g/L",
              "mg/L",
              "g/cm3",
              "g/mL",
              "kg/L",
              "t/m3",
              "lb/ft3",
              "lb/in3",
              "lb/gal_us",
              "m3/s",
              "m3/min",
              "m3/h",
              "L/s",
              "L/min",
              "L/h",
              "mL/min",
              "ft3/s",
              "ft3/min",
              "gal_us/min",
              "gal_imp/min",
              "bbl/d",
              "N.m",
              "mN.m",
              "kN.m",
              "kgf.m",
              "lbf.ft",
              "lbf.in",
              "ozf.in",
              "m/s2",
              "cm/s2",
              "km/h/s",
              "g0",
              "ft/s2",
              "in/s2",
              "ohm",
              "mohm",
              "kohm",
              "Mohm",
              "F",
              "mF",
              "uF",
              "nF",
              "pF",
              "lx",
              "klx",
              "fc",
              "mol",
              "nmol",
              "umol",
              "mmol",
              "kmol"
            ],
            "examples": [
              "km"
            ],
            "type": "string"
          },
          "used_by": {
            "description": "With include=used_by (schemas.get): the live properties of the project whose formula, or one of whose rules, reads this property as of the read, directly or through a reference or a nested object; one entry per reader and in, its own rules left out. Empty: nothing reads it. Saved views are not listed. Never on a schema list.",
            "items": {
              "$ref": "#/components/schemas/PropertyUser"
            },
            "type": "array"
          },
          "when_empty": {
            "description": "show or hide: whether a dump's page shows the property in Read without a value, as of the read. Only a top-level property has an effect.",
            "enum": [
              "show",
              "hide"
            ],
            "examples": [
              "show"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "description",
          "type",
          "required",
          "card",
          "placement",
          "when_empty",
          "transaction"
        ],
        "type": "object"
      },
      "Pulse": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Who by and each entry of present are, keyed by account id. A User Agent has its name only for its owner; to everyone else it is its owner's agent.",
            "type": [
              "object",
              "null"
            ]
          },
          "by": {
            "description": "The account of the project's latest caller transaction (never a recalculation), a key of actors; absent when the project has none.",
            "examples": [
              "usr_7"
            ],
            "type": "string"
          },
          "present": {
            "description": "Who else is here, without the caller: the people whose page sent a heartbeat in the last 60 seconds, newest first, then each agent that wrote in the last 5 minutes, newest first; at most 50 entries. Only accounts that can open the project now.",
            "items": {
              "$ref": "#/components/schemas/Entry"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "recalculating": {
            "description": "How many live dumps of the project have a property that is recalculating now, over every dump schema.",
            "examples": [
              0
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "transaction": {
            "description": "The project's latest transaction, of any kind (a recalculation too). It is not a base: a write still sends the transaction its own read was made at.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "recalculating",
          "present",
          "actors"
        ],
        "type": "object"
      },
      "Query": {
        "additionalProperties": false,
        "properties": {
          "select": {
            "description": "The properties the view shows, in order, as the select of the dumps query: a table's columns, a card's fields.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sort": {
            "description": "The order, as the sort of the dumps query.",
            "items": {
              "$ref": "#/components/schemas/SortEntry"
            },
            "type": "array"
          },
          "where": {
            "$ref": "#/components/schemas/Filter",
            "description": "Which dumps the view shows, as the where of the dumps query. Absent: every dump of the schema."
          }
        },
        "type": "object"
      },
      "Query.history": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "Only the transactions of this account in this project.",
            "examples": [
              "usr_7"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "cursor": {
            "description": "The cursor of the previous page, sent alone: it carries the query and where the page ends.",
            "examples": [
              "eyJwIjoxfQ"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "dump": {
            "description": "Only the transactions that changed this dump (by its key, current or old, in any letter case), its values or its lists, and only those changes.",
            "examples": [
              "INV-103"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "include_background": {
            "description": "Include background transactions (recalculations); left out by default.",
            "type": "boolean"
          },
          "include_dumps": {
            "description": "With schema: also the transactions that changed a dump that was in that schema at the time (created, deleted, undeleted, moved in or out, its values and its lists), with those changes. A moved dump's changes before the move stay under its old schema; the move shows under both.",
            "type": "boolean"
          },
          "limit": {
            "description": "How many transactions a page holds: 1 to 100, 25 when left out.",
            "examples": [
              25
            ],
            "maximum": 100,
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "property": {
            "description": "Only the transactions that changed this property: its values (of one dump, with dump) and its definition (without).",
            "examples": [
              "prp_21"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "schema": {
            "description": "Only the transactions that changed this dump schema (its key, current or old, in any letter case (TASK)), its properties or its nested schemas, at any depth. Not together with dump or property.",
            "examples": [
              "INV"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "since": {
            "description": "Only the transactions after this one (0 to the current transaction). Absent: all of them.",
            "examples": [
              812
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Query.query": {
        "additionalProperties": false,
        "properties": {
          "aggregate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Aggregate"
              },
              {
                "type": "null"
              }
            ],
            "description": "Groups instead of dumps: count, sum, min, max and avg over the dumps where keeps, in one group or one per value of a property. Errored and recalculating values are left out of the sums and reported in skipped. Not together with select, include, sort or limit."
          },
          "at": {
            "description": "Read as of the last transaction recorded at or before this time. Not together with transaction.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "counts": {
            "description": "Add counts to every page: how many dumps the query keeps over all its pages, and how many of those have an errored or a recalculating property. Not together with aggregate.",
            "type": "boolean"
          },
          "cursor": {
            "description": "The cursor of the previous page, sent alone: it carries the query, the page size and the transaction the first page reflected.",
            "examples": [
              "eyJwIjoxfQ"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "include": {
            "description": "Extra sections: schema adds schemas, describing each dump schema the response reaches once, trimmed to what is selected of it.",
            "examples": [
              [
                "schema"
              ]
            ],
            "items": {
              "enum": [
                "schema"
              ],
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "limit": {
            "description": "How many dumps a page holds: 1 to 500, 50 when left out.",
            "examples": [
              2
            ],
            "maximum": 500,
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "schema": {
            "description": "The dump schema whose dumps to read: its key, current or old, in any letter case (TASK). Required, unless cursor or view is sent.",
            "examples": [
              "TASK"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "select": {
            "description": "The properties to return, by identifier. A path of identifiers joined by dots continues through a reference (the referenced dumps go into referenced) or into nested objects (shown inside their parent), at most 4 steps. Nothing selected: empty values.",
            "examples": [
              [
                "prp_21",
                "prp_23.prp_11",
                "prp_25.prp_31"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sort": {
            "description": "The order: entries applied in turn, ties broken by the order of creation; empty, errored and recalculating values last. Absent: the order of creation.",
            "items": {
              "$ref": "#/components/schemas/SortEntryInput"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "transaction": {
            "description": "Read as of this transaction (0 to the current one). Absent: now.",
            "examples": [
              812
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": [
              "integer",
              "null"
            ]
          },
          "view": {
            "description": "A saved view (viw_3) to run: it supplies schema, select, where and sort. A where sent with it narrows the view's (both must hold). Not together with schema, select or sort. A view the caller does not see is view_not_found.",
            "examples": [
              "viw_3"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "where": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FilterInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Which dumps: a tree of conditions combined with and, or and not; any, all, none and count over lists. Deleted dumps come back only through a condition on the field status. A dump is never kept on the strength of an errored or recalculating value; skipped reports those left out."
          }
        },
        "type": "object"
      },
      "QueryInput": {
        "additionalProperties": false,
        "properties": {
          "select": {
            "description": "The properties the view shows, in order, as the select of the dumps query: a table's columns, a card's fields.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "sort": {
            "description": "The order, as the sort of the dumps query.",
            "items": {
              "$ref": "#/components/schemas/SortEntryInput"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "where": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FilterInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Which dumps the view shows, as the where of the dumps query. Absent: every dump of the schema."
          }
        },
        "type": "object"
      },
      "RecoveryCodes": {
        "additionalProperties": false,
        "properties": {
          "recovery_codes": {
            "description": "The person's recovery codes, shown this once: each signs in once in place of an authenticator code. Only their hashes are kept, so they cannot be shown again.",
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "recovery_codes"
        ],
        "type": "object"
      },
      "RecoveryCodesCreate": {
        "additionalProperties": false,
        "properties": {
          "password": {
            "description": "The person's current password.",
            "examples": [
              "correct horse battery staple"
            ],
            "type": "string"
          },
          "recovery_code": {
            "description": "An unused recovery code, in place of totp_code. The new set replaces it with all the others.",
            "examples": [
              "7k2mq-x9d4r"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "totp_code": {
            "description": "The six digits the authenticator app shows now. Send this or recovery_code.",
            "examples": [
              "287082"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "password"
        ],
        "type": "object"
      },
      "RegisteredKey": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "description": "The agent's identifier, for the agent line of every sign-in statement.",
            "examples": [
              "agt_12"
            ],
            "type": "string"
          },
          "key": {
            "description": "The key's identifier, for the key line of every sign-in statement made with it.",
            "examples": [
              "key_34"
            ],
            "type": "string"
          }
        },
        "required": [
          "agent",
          "key"
        ],
        "type": "object"
      },
      "Registration": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The address, as stored.",
            "examples": [
              "ann@example.com"
            ],
            "type": "string"
          },
          "expires_at": {
            "description": "With the confirmation email on: until when the code sent to the address works. Send it to POST /registrations/confirmation. Absent when the account was made at once.",
            "format": "date-time",
            "type": "string"
          },
          "me": {
            "$ref": "#/components/schemas/Me",
            "description": "With the confirmation email off: the new account, signed in (the session cookie is set), as GET /me gives it. Absent while the registration waits for its code."
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "RegistrationConfirm": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The six-digit code sent to the address.",
            "examples": [
              "042917"
            ],
            "type": "string"
          },
          "email": {
            "description": "The address that registered.",
            "examples": [
              "ann@example.com"
            ],
            "format": "email",
            "maxLength": 254,
            "type": "string"
          },
          "name": {
            "description": "The name of the new account, as for POST /registrations: 1 to 200 characters. Left out: the part of the address before the @.",
            "examples": [
              "Ann"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "string",
              "null"
            ]
          },
          "password": {
            "description": "The password of the new account, as for POST /registrations: at least 12 characters of any kind, at most 1 KB. Never stored or shown; only its hash is kept.",
            "examples": [
              "correct horse battery staple"
            ],
            "format": "password",
            "minLength": 12,
            "type": "string"
          }
        },
        "required": [
          "email",
          "code",
          "password"
        ],
        "type": "object"
      },
      "RegistrationCreate": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The person's email address, as they type it: their sign-in name. Compared ignoring case; stored as typed.",
            "examples": [
              "ann@example.com"
            ],
            "format": "email",
            "maxLength": 254,
            "type": "string"
          },
          "name": {
            "description": "The person's name, as others see it: 1 to 200 characters, checked like PATCH /me's. Left out: the part of the address before the @. With the confirmation email on it is not kept, and comes again with the code.",
            "examples": [
              "Ann"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "string",
              "null"
            ]
          },
          "password": {
            "description": "The password the person chooses: at least 12 characters of any kind, at most 1 KB. Checked here so that the form fails early; with the confirmation email on it is not kept, and comes again with the code to POST /registrations/confirmation. Never stored or shown; only its hash is kept.",
            "examples": [
              "correct horse battery staple"
            ],
            "format": "password",
            "minLength": 12,
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "type": "object"
      },
      "RegistrationResend": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The address that registered.",
            "examples": [
              "ann@example.com"
            ],
            "format": "email",
            "maxLength": 254,
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "type": "object"
      },
      "Resolution": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "description": "The kind of the group, as the problem names it.",
            "examples": [
              "not_a_number"
            ],
            "type": "string"
          },
          "property": {
            "description": "The property of the group, as the problem names it.",
            "examples": [
              "prp_22"
            ],
            "type": "string"
          },
          "resolve": {
            "description": "clear: the values become empty (and errored where the property is required); replace: every value becomes value; per_dump: the dumps in values get theirs, the rest is resolved by rest; time: every date gets the time of day in time, on its first day (time_missing only); start: every date becomes the period of the new precision that holds its first day, so the year 2026 becomes the day 2026-01-01 and the week 2026-W53 the month 2026-12, and to the precision time midnight UTC (not_in_one_period and time_missing only).",
            "enum": [
              "clear",
              "replace",
              "per_dump",
              "time",
              "start"
            ],
            "type": "string"
          },
          "rest": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RestResolution"
              },
              {
                "type": "null"
              }
            ],
            "description": "With per_dump: how the values of the group that values does not cover are resolved."
          },
          "time": {
            "description": "With time: a time of day with an offset, such as 09:00:00+01:00 or 12:00:00Z.",
            "examples": [
              "09:00:00+01:00"
            ],
            "type": "string"
          },
          "value": {
            "description": "With replace: the value every value of the group becomes, written as a value of the new type is (a list of identifiers for a multi-select or a to-many reference); null clears.",
            "examples": [
              0
            ]
          },
          "values": {
            "additionalProperties": {},
            "description": "With per_dump: a value per dump, by its key (or per nested object identifier, for a property of nested objects; a dump's key then covers each of its nested objects in the group). A dump that is not in the group is ignored; a key that names no dump is dump_not_found. Two spellings of one dump's key name it twice.",
            "examples": [
              {
                "INV-103": 1250
              }
            ],
            "type": [
              "object",
              "null"
            ]
          }
        },
        "required": [
          "property",
          "kind",
          "resolve"
        ],
        "type": "object"
      },
      "Response": {
        "additionalProperties": false,
        "properties": {
          "results": {
            "description": "One result per operation, in the order sent.",
            "items": {
              "$ref": "#/components/schemas/Result"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "transaction": {
            "description": "The number of the new transaction: the base for the caller's next change.",
            "examples": [
              816
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "results"
        ],
        "type": "object"
      },
      "RestResolution": {
        "additionalProperties": false,
        "properties": {
          "resolve": {
            "description": "clear, replace, time or start.",
            "enum": [
              "clear",
              "replace",
              "per_dump",
              "time",
              "start"
            ],
            "type": "string"
          },
          "time": {
            "description": "With time: the time of day.",
            "type": "string"
          },
          "value": {
            "description": "With replace: the value."
          }
        },
        "required": [
          "resolve"
        ],
        "type": "object"
      },
      "Result": {
        "additionalProperties": false,
        "properties": {
          "created": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Each local name (ref) the operation defined, with what it created: a dump's or dump schema's key as the transaction leaves it, a property's identifier.",
            "examples": [
              {
                "sup": "SUP-240"
              }
            ],
            "type": "object"
          },
          "dump": {
            "description": "The key of the dump the operation acted on, as the transaction leaves it.",
            "examples": [
              "SUP-240"
            ],
            "type": "string"
          },
          "inbound_errored": {
            "description": "dump.move only: how many references to the dump are typed to the schema it left and so become errored (reference_wrong_schema). They show as recalculating until the background work has checked them.",
            "examples": [
              2
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "issues": {
            "description": "The properties that ended up errored or recalculating, and why. The write is stored; these say what is not valid yet.",
            "items": {
              "$ref": "#/components/schemas/Issue"
            },
            "type": "array"
          },
          "op": {
            "description": "The operation, as sent.",
            "type": "string"
          },
          "schema": {
            "description": "The key of the dump schema the operation acted on, as the transaction leaves it.",
            "examples": [
              "SUP"
            ],
            "type": "string"
          }
        },
        "required": [
          "op"
        ],
        "type": "object"
      },
      "Rule": {
        "additionalProperties": false,
        "properties": {
          "formula": {
            "description": "A formula in JavaScript syntax that must come out true. It may read the property itself and anything a formula can read.",
            "examples": [
              "total < 1000"
            ],
            "type": "string"
          },
          "message": {
            "description": "What the property is errored with when the rule comes out false.",
            "examples": [
              "total must be below 1000"
            ],
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "formula",
          "message"
        ],
        "type": "object"
      },
      "RulePreview": {
        "additionalProperties": false,
        "properties": {
          "failing": {
            "description": "How many current holders would fail this rule, whatever the other rules say.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "message": {
            "description": "The rule's message.",
            "examples": [
              "total must be below 1000"
            ],
            "type": "string"
          }
        },
        "required": [
          "message",
          "failing"
        ],
        "type": "object"
      },
      "RuleView": {
        "additionalProperties": false,
        "properties": {
          "formula": {
            "description": "The rule, with the current names of the properties it reads.",
            "examples": [
              "total < 1000"
            ],
            "type": "string"
          },
          "message": {
            "description": "What the property is errored with when the rule comes out false.",
            "examples": [
              "total must be below 1000"
            ],
            "type": "string"
          }
        },
        "required": [
          "formula",
          "message"
        ],
        "type": "object"
      },
      "SavedView": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The view's identifier.",
            "examples": [
              "viw_3"
            ],
            "type": "string"
          },
          "kind": {
            "enum": [
              "table",
              "board",
              "timeline",
              "calendar",
              "map"
            ],
            "type": "string"
          },
          "layout": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "columns": {
                        "additionalProperties": {
                          "additionalProperties": false,
                          "properties": {
                            "truncate": {
                              "description": "line (the default), lines (up to three) or full.",
                              "enum": [
                                "line",
                                "lines",
                                "full"
                              ],
                              "type": "string"
                            },
                            "width": {
                              "description": "The column's width in CSS pixels.",
                              "maximum": 800,
                              "minimum": 60,
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        },
                        "description": "Settings per column, keyed by property identifier.",
                        "type": "object"
                      }
                    },
                    "title": "table",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "empty_lane": {
                        "description": "Whether a lane shows the dumps without a value (default true): \"No <property>\", \"Nobody\" or \"None\".",
                        "type": "boolean"
                      },
                      "group_by": {
                        "description": "The property whose values are the lanes: a single-select or a multi-select (a lane per option), or a person or a reference without many (a lane per value in use).",
                        "type": "string"
                      },
                      "hidden": {
                        "description": "The lanes shown collapsed, named as in lanes.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "lanes": {
                        "description": "The order of the lanes: option identifiers (opt_N) of a select, account identifiers (usr_N) of people of the project for a person, dump keys of the target type for a reference. Values left out follow.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "rows_by": {
                        "description": "The single-select property, other than group_by, whose options are swimlanes; absent: none.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "group_by"
                    ],
                    "title": "board",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the bars; absent: one color.",
                        "type": "string"
                      },
                      "end": {
                        "description": "The date property where a bar ends; absent: each bar is one zoom unit long.",
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property where a bar starts.",
                        "type": "string"
                      },
                      "zoom": {
                        "description": "day, week (the default), month, quarter or year.",
                        "enum": [
                          "day",
                          "week",
                          "month",
                          "quarter",
                          "year"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "timeline",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "end": {
                        "description": "The date property of a dump's last day; absent: one day.",
                        "type": "string"
                      },
                      "span": {
                        "description": "month (the default) or week: what the calendar shows at once.",
                        "enum": [
                          "month",
                          "week"
                        ],
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property of a dump's first day.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "calendar",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the features; absent: one color.",
                        "type": "string"
                      },
                      "geo": {
                        "description": "The geo properties to draw, of any shape.",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1,
                        "type": "array"
                      }
                    },
                    "required": [
                      "geo"
                    ],
                    "title": "map",
                    "type": "object"
                  }
                ],
                "description": "The settings of the view's kind, by property identifier (decision 10 of docs/decisions/0034-saved-views.md). Each property must be a live property of the view's dump schema of the type the setting needs (view_setting_invalid). Absent: {}."
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "description": "The view's name: its tab's label.",
            "examples": [
              "Open tasks"
            ],
            "type": "string"
          },
          "position": {
            "description": "Orders the view among the shared views of its schema, or among its owner's: compare positions byte by byte. Change it with after.",
            "examples": [
              "V"
            ],
            "type": "string"
          },
          "query": {
            "$ref": "#/components/schemas/Query",
            "description": "The saved filter: the where, sort and select of the dumps query."
          },
          "revision": {
            "description": "Counts the saves of the view; send it with a change.",
            "examples": [
              1
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "saved_at": {
            "description": "When the view was saved last.",
            "examples": [
              "2026-11-22T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "saved_by": {
            "description": "The account that saved the view last: a person (usr_N) or an agent (agt_N).",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "schema": {
            "description": "The key of the dump schema the view shows, as it is now.",
            "examples": [
              "TASK"
            ],
            "type": "string"
          },
          "shared": {
            "description": "Shared with the project: everyone in it sees the view, and only Project Developers and Administrators change it. Otherwise only its owner sees it.",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "schema",
          "name",
          "kind",
          "shared",
          "query",
          "layout",
          "position",
          "revision",
          "saved_by",
          "saved_at"
        ],
        "type": "object"
      },
      "SavedViews": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "The accounts of saved_by, keyed by account id, once. A User Agent has its name only for its owner; to everyone else it is its owner's agent.",
            "type": [
              "object",
              "null"
            ]
          },
          "views": {
            "description": "The views, per schema (oldest schema first): the shared ones, then the caller's own, each group by position.",
            "items": {
              "$ref": "#/components/schemas/SavedView"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "views",
          "actors"
        ],
        "type": "object"
      },
      "SchemaChange": {
        "additionalProperties": false,
        "properties": {
          "fields": {
            "description": "What changed, worked out from this version and the previous one: key, name, description, singular and title. Absent when added, and for a version written only because something inside the schema changed (its property entries say what).",
            "items": {
              "$ref": "#/components/schemas/FieldChange"
            },
            "type": "array"
          },
          "kind": {
            "description": "added (its first version), removed, restored (removed before, live now) or changed.",
            "examples": [
              "changed"
            ],
            "type": "string"
          },
          "previous": {
            "description": "The transaction of the schema's previous version.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "schema": {
            "description": "The dump schema, by its key as of the page's transaction.",
            "examples": [
              "INV"
            ],
            "type": "string"
          },
          "version": {
            "description": "The dump schema's version number that this transaction made, as SchemaView.version counts it.",
            "examples": [
              7
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "schema",
          "version",
          "kind"
        ],
        "type": "object"
      },
      "SchemaRead": {
        "additionalProperties": false,
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/SchemaView"
          },
          "transaction": {
            "description": "The transaction the read reflects: the base for a change.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "schema"
        ],
        "type": "object"
      },
      "SchemaVersion": {
        "additionalProperties": false,
        "properties": {
          "schema": {
            "description": "The dump schema, by its key after the transaction.",
            "examples": [
              "INV"
            ],
            "type": "string"
          },
          "version": {
            "description": "Its version number after the transaction.",
            "examples": [
              8
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "schema",
          "version"
        ],
        "type": "object"
      },
      "SchemaView": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "description": "The project's instruction for the schema, written by the people who own the project for the people and agents who fill it in: what the schema means and which dumps belong in it. Read it before you write a dump to it; when a request disagrees with it, say so and ask.",
            "examples": [
              "Invoices we send to customers. Not for quotes."
            ],
            "type": "string"
          },
          "dumps": {
            "description": "With counts (schemas.query): how many dumps that are not deleted the schema held as of the read.",
            "examples": [
              12
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "key": {
            "description": "The schema's key, which starts the keys of its dumps (INV-1), as of the read. It can change; an old key still names the schema.",
            "examples": [
              "INV"
            ],
            "type": "string"
          },
          "last_number": {
            "description": "With counts (schemas.query): the highest number a dump was given in the schema as of the read, deleted dumps and dumps moved in included, so its keys run from INV-1 to INV-<last_number>; 0 before its first dump.",
            "examples": [
              14
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "name": {
            "description": "The schema's name, as of the read.",
            "examples": [
              "Invoice"
            ],
            "type": "string"
          },
          "order": {
            "description": "The identifiers of its properties, in order.",
            "examples": [
              [
                "prp_21",
                "prp_22"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "properties": {
            "additionalProperties": {
              "$ref": "#/components/schemas/PropertyView"
            },
            "description": "Its properties, keyed by identifier, as in the dumps query's include.",
            "type": [
              "object",
              "null"
            ]
          },
          "removed": {
            "description": "The schema is removed: it and its dumps are out of current reads until it is restored.",
            "type": "boolean"
          },
          "sections": {
            "description": "Its page sections, linked_from and recent_changes, always both on a schema read: the fixed parts of a dump's page, placed like its top-level properties (a placement, a group and a place among them), in their order on the page. Not properties: no values, and not in order. Only a dump schema has them.",
            "items": {
              "$ref": "#/components/schemas/SectionView"
            },
            "type": "array"
          },
          "singular": {
            "description": "The name for one of its dumps (Vessels: Vessel), as of the read. Absent: none was given (the app says dump); a count reads name in lower case.",
            "examples": [
              "Invoice"
            ],
            "type": "string"
          },
          "title": {
            "description": "The title property, as of the read: the live plain-text property of the schema itself, without a formula, that its dumps are labeled by. Stored only: the server labels nothing by it. Absent: none (the app labels by the first plain-text property).",
            "examples": [
              "prp_21"
            ],
            "type": "string"
          },
          "transaction": {
            "description": "The latest transaction that changed the schema or anything inside it, as of the read.",
            "examples": [
              640
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "version": {
            "description": "The type's version number as of the read: 1 when it was created, one more for every transaction that changed it or anything inside it (its properties, options, nested schemas, a removal or a restore). Derived, never stored; it equals the number of transactions the history's schema filter finds for it.",
            "examples": [
              7
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "key",
          "name",
          "description",
          "transaction",
          "version",
          "properties",
          "order"
        ],
        "type": "object"
      },
      "SchemasPage": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "description": "With counts: how many dump schemas the project had as of the read that were not removed, whichever schemas the page holds.",
            "examples": [
              4
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "schemas": {
            "description": "The dump schemas, oldest first (or in the order asked for).",
            "items": {
              "$ref": "#/components/schemas/SchemaView"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "transaction": {
            "description": "The transaction the read reflects: the base for a change.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "transaction",
          "schemas"
        ],
        "type": "object"
      },
      "SchemasQuery": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "Read the schemas as of the last transaction recorded at or before this time. Not together with transaction.",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "counts": {
            "description": "Add counts as of the read: dumps and last_number on each schema, and count on the page.",
            "type": "boolean"
          },
          "removed": {
            "description": "Include removed schemas, properties and options, marked removed, so that they can be restored.",
            "type": "boolean"
          },
          "schemas": {
            "description": "Only these dump schemas, each by its key, current or old, in any letter case (TASK), in this order, removed ones included. Absent: every one.",
            "examples": [
              [
                "TASK"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "transaction": {
            "description": "Read the schemas as of this transaction (0 to the current one). Absent: now.",
            "examples": [
              812
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "SearchMatch": {
        "additionalProperties": false,
        "properties": {
          "marks": {
            "description": "The matching words of text: [start, end) offsets in characters (code points).",
            "examples": [
              [
                [
                  0,
                  7
                ],
                [
                  12,
                  16
                ]
              ]
            ],
            "items": {
              "items": {
                "maximum": 9223372036854775807,
                "minimum": -9223372036854775808,
                "type": "integer"
              },
              "maxItems": 2,
              "minItems": 2,
              "type": "array"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "property": {
            "description": "The property that holds the value, on the dump or on one of its nested objects.",
            "examples": [
              "prp_21"
            ],
            "type": "string"
          },
          "text": {
            "description": "Plain text, never HTML: at most 160 characters of the value around its first matching word, white space read as one space, an ellipsis (…) where it is cut; rich text as its Markdown, links naming current keys.",
            "examples": [
              "Invoice for ACME, March"
            ],
            "type": "string"
          }
        },
        "required": [
          "property",
          "text",
          "marks"
        ],
        "type": "object"
      },
      "SearchPage": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "Send it alone for the next page; absent on the last page. A later page reads the project as it is then.",
            "examples": [
              "eyJwIjoxfQ"
            ],
            "type": "string"
          },
          "results": {
            "description": "The dumps found, best first. A dump whose key is exactly q comes first, whether or not its text matches.",
            "items": {
              "$ref": "#/components/schemas/SearchResult"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "transaction": {
            "description": "The transaction the search read: the project as it was then.",
            "examples": [
              815
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "results",
          "transaction"
        ],
        "type": "object"
      },
      "SearchQuery": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "Not allowed: search reads the project as it is now (member_not_allowed).",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "cursor": {
            "description": "The cursor of the previous page, sent alone: it carries the query.",
            "examples": [
              "eyJwIjoxfQ"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "limit": {
            "description": "How many results a page holds: 1 to 50, 20 when left out.",
            "examples": [
              10
            ],
            "maximum": 50,
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "q": {
            "description": "The words to find, in any letter case: every word must be in one text value, the last as the start of a word. Punctuation separates words and is otherwise ignored. At least 2 characters of words, at most 8 words and 200 characters. Required, unless cursor is sent.",
            "examples": [
              "invoice acm"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "schemas": {
            "description": "Only dumps of these dump schemas, by key, current or old, in any letter case. Absent: every dump schema.",
            "examples": [
              [
                "INV"
              ]
            ],
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "transaction": {
            "description": "Not allowed: search reads the project as it is now (member_not_allowed).",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "SearchResult": {
        "additionalProperties": false,
        "properties": {
          "dump": {
            "description": "The dump's key.",
            "examples": [
              "INV-103"
            ],
            "type": "string"
          },
          "matches": {
            "description": "At most 3 of its matching text values, its own before its nested objects', in the order of the properties. Empty for a dump found by its key alone.",
            "items": {
              "$ref": "#/components/schemas/SearchMatch"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "schema": {
            "description": "The key of the dump's schema.",
            "examples": [
              "INV"
            ],
            "type": "string"
          }
        },
        "required": [
          "dump",
          "schema",
          "matches"
        ],
        "type": "object"
      },
      "SectionChange": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "description": "Move it right after this live top-level property of the schema (an identifier or \"$name\"), ahead of any section that already follows it; \"\" moves it first. A section already right after that property (removed properties aside) stays where it is.",
            "examples": [
              "prp_22"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "group": {
            "description": "A new group in the property table of a dump's page, as a property's; \"\" takes it out of its group. A change is a schema change.",
            "examples": [
              "Identity"
            ],
            "maxLength": 100,
            "type": [
              "string",
              "null"
            ]
          },
          "placement": {
            "anyOf": [
              {
                "enum": [
                  "table",
                  "body"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new placement: table or body. A change is a schema change.",
            "examples": [
              "body"
            ]
          },
          "section": {
            "description": "The section: linked_from or recent_changes.",
            "enum": [
              "linked_from",
              "recent_changes"
            ],
            "examples": [
              "linked_from"
            ],
            "type": "string"
          },
          "when_empty": {
            "anyOf": [
              {
                "enum": [
                  "show",
                  "hide"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "linked_from only: show or hide, whether Read shows the section when no dump links to the dump. A change is a schema change.",
            "examples": [
              "show"
            ]
          }
        },
        "required": [
          "section"
        ],
        "type": "object"
      },
      "SectionView": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "description": "The identifier of the live top-level property the section follows in the order of properties and sections, as of the read; \"\" when it comes first.",
            "examples": [
              "prp_25"
            ],
            "type": "string"
          },
          "group": {
            "description": "The group the section is in, in the property table of a dump's page, as of the read; absent for none.",
            "examples": [
              "Identity"
            ],
            "type": "string"
          },
          "placement": {
            "description": "table or body: where the section shows on a dump's page, as of the read, as a property's placement.",
            "enum": [
              "table",
              "body"
            ],
            "examples": [
              "table"
            ],
            "type": "string"
          },
          "section": {
            "description": "linked_from (the live dumps that link to this one) or recent_changes (its last changes, with Full history): a fixed part of every dump's page.",
            "enum": [
              "linked_from",
              "recent_changes"
            ],
            "examples": [
              "linked_from"
            ],
            "type": "string"
          },
          "when_empty": {
            "description": "linked_from only: show or hide, whether a dump's page shows the section in Read when no dump links to it. Absent on recent_changes.",
            "enum": [
              "show",
              "hide"
            ],
            "examples": [
              "hide"
            ],
            "type": "string"
          }
        },
        "required": [
          "section",
          "placement",
          "after"
        ],
        "type": "object"
      },
      "SessionCreate": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The person's email address, in any capitals.",
            "examples": [
              "ann@example.com"
            ],
            "type": "string"
          },
          "password": {
            "description": "The person's password. Never stored or shown.",
            "examples": [
              "correct horse battery staple"
            ],
            "type": "string"
          },
          "recovery_code": {
            "description": "When the person's authenticator is on: an unused recovery code, in place of totp_code, for when the phone is lost. It works once; the authenticator stays on.",
            "examples": [
              "7k2mq-x9d4r"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "totp_code": {
            "description": "When the person's authenticator is on: the six digits the authenticator app shows now. Send the request without it first; totp_required asks for it.",
            "examples": [
              "287082"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "email",
          "password"
        ],
        "type": "object"
      },
      "SessionsEnded": {
        "additionalProperties": false,
        "properties": {
          "ended": {
            "description": "How many of your other sessions ended; 0 when there were none.",
            "examples": [
              2
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "ended"
        ],
        "type": "object"
      },
      "SortEntry": {
        "additionalProperties": false,
        "properties": {
          "direction": {
            "description": "asc (the default) or desc.",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string"
          },
          "field": {
            "description": "The system field to sort on instead: key (by its number in the schema, the order of arrival) or transaction.",
            "enum": [
              "key",
              "id",
              "status",
              "transaction",
              "issues",
              "links"
            ],
            "type": "string"
          },
          "property": {
            "description": "The property to sort on, by identifier: a number, quantity (by size, in its domain's base unit), date (by the first day of its period; a moment by itself), boolean, plain text or single-select, or a path to one through to-one references and nested objects (at most 4 steps).",
            "examples": [
              "prp_23.prp_11"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "SortEntryInput": {
        "additionalProperties": false,
        "properties": {
          "direction": {
            "anyOf": [
              {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "asc (the default) or desc."
          },
          "field": {
            "anyOf": [
              {
                "description": "A dump's: key (eq, ne, in: its key, current or old, in any letter case; a key that names no dump is dump_not_found; a sort by key sorts by its number in the schema, the order of arrival); status (eq, ne, in: okay, deleted; a condition on status is how deleted dumps are asked for); transaction (eq, ne, in, gt, gte, lt, lte: the dump's version); issues (has, has_any, has_all, is_empty: errored, recalculating); links (has, has_any, has_all, is_empty: the reasons of broken links in rich text: dump_not_found, dump_deleted, schema_removed, schema_not_found). A nested object's, in a block over a nested list: id (eq, ne, in, gt, gte, lt, lte: nested object identifiers).",
                "enum": [
                  "key",
                  "id",
                  "status",
                  "transaction",
                  "issues",
                  "links"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The system field to sort on instead: key (by its number in the schema, the order of arrival) or transaction."
          },
          "property": {
            "description": "The property to sort on, by identifier: a number, quantity (by size, in its domain's base unit), date (by the first day of its period; a moment by itself), boolean, plain text or single-select, or a path to one through to-one references and nested objects (at most 4 steps).",
            "examples": [
              "prp_23.prp_11"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "Transaction": {
        "additionalProperties": false,
        "properties": {
          "account": {
            "description": "The account that made it; absent for background work.",
            "examples": [
              "usr_7"
            ],
            "type": "string"
          },
          "by": {
            "description": "Who acted: its account, or system for background work (caused_by names the transaction that caused it). A key of the page's actors.",
            "examples": [
              "usr_7"
            ],
            "type": "string"
          },
          "caused_by": {
            "description": "Background only: the transaction whose change made the work necessary.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "dumps": {
            "description": "Dumps created, deleted, undeleted or moved.",
            "items": {
              "$ref": "#/components/schemas/DumpChange"
            },
            "type": "array"
          },
          "forced": {
            "description": "Whether it overwrote a change made since its base (a forced overwrite).",
            "type": "boolean"
          },
          "items": {
            "description": "Each item that entered, moved in or left a list.",
            "items": {
              "$ref": "#/components/schemas/ItemChange"
            },
            "type": "array"
          },
          "kind": {
            "description": "caller (a change made by an account) or background (work the server did on its own).",
            "examples": [
              "caller"
            ],
            "type": "string"
          },
          "number": {
            "examples": [
              812
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "omitted": {
            "$ref": "#/components/schemas/Omitted",
            "description": "How many changes of each kind the transaction left out, beyond 200 of a kind. Absent when none."
          },
          "properties": {
            "description": "Property definitions that changed.",
            "items": {
              "$ref": "#/components/schemas/PropertyDefinitionChange"
            },
            "type": "array"
          },
          "recorded_at": {
            "description": "When it was recorded.",
            "format": "date-time",
            "type": "string"
          },
          "schemas": {
            "description": "Schemas whose definition changed.",
            "items": {
              "$ref": "#/components/schemas/SchemaChange"
            },
            "type": "array"
          },
          "values": {
            "description": "Each property value that changed: the new value, and the transaction that held the previous one.",
            "items": {
              "$ref": "#/components/schemas/ValueChange"
            },
            "type": "array"
          }
        },
        "required": [
          "number",
          "kind",
          "by",
          "recorded_at",
          "forced"
        ],
        "type": "object"
      },
      "TransferPreview": {
        "additionalProperties": false,
        "properties": {
          "agents": {
            "description": "The Organization Agents whose keys (or unused one-time codes) the Owner, or one of their User Agents, added and that would be removed, because the agent reaches further than the Owner would as an Organization Administrator.",
            "items": {
              "$ref": "#/components/schemas/PreviewAgent"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "user_agents": {
            "description": "The Owner's User Agents that hold the Owner-level privilege in the organization and would drop to Organization Administrator.",
            "items": {
              "$ref": "#/components/schemas/PreviewAgent"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "user_agents",
          "agents"
        ],
        "type": "object"
      },
      "UnitsPreference": {
        "additionalProperties": false,
        "properties": {
          "domains": {
            "additionalProperties": false,
            "description": "A fixed unit per domain, by domain code: a converted value of that domain is shown in it. Empty (the default): none.",
            "properties": {
              "acceleration": {
                "enum": [
                  "m/s2",
                  "cm/s2",
                  "km/h/s",
                  "g0",
                  "ft/s2",
                  "in/s2"
                ],
                "type": "string"
              },
              "amount": {
                "enum": [
                  "mol",
                  "nmol",
                  "umol",
                  "mmol",
                  "kmol"
                ],
                "type": "string"
              },
              "angle": {
                "enum": [
                  "deg",
                  "arcmin",
                  "arcsec",
                  "grad",
                  "rad",
                  "turn",
                  "mrad"
                ],
                "type": "string"
              },
              "area": {
                "enum": [
                  "m2",
                  "mm2",
                  "cm2",
                  "ha",
                  "km2",
                  "in2",
                  "ft2",
                  "yd2",
                  "ac",
                  "mi2",
                  "a"
                ],
                "type": "string"
              },
              "capacitance": {
                "enum": [
                  "F",
                  "mF",
                  "uF",
                  "nF",
                  "pF"
                ],
                "type": "string"
              },
              "charge": {
                "enum": [
                  "C",
                  "mAh",
                  "Ah",
                  "uC",
                  "mC"
                ],
                "type": "string"
              },
              "current": {
                "enum": [
                  "A",
                  "mA",
                  "uA",
                  "kA"
                ],
                "type": "string"
              },
              "data_rate": {
                "enum": [
                  "bit/s",
                  "kbit/s",
                  "Mbit/s",
                  "Gbit/s",
                  "B/s",
                  "kB/s",
                  "MB/s",
                  "Tbit/s",
                  "GB/s",
                  "KiB/s",
                  "MiB/s"
                ],
                "type": "string"
              },
              "data_size": {
                "enum": [
                  "B",
                  "bit",
                  "kB",
                  "MB",
                  "GB",
                  "TB",
                  "PB",
                  "KiB",
                  "MiB",
                  "GiB",
                  "TiB",
                  "PiB",
                  "kbit",
                  "Mbit",
                  "Gbit",
                  "EB",
                  "EiB"
                ],
                "type": "string"
              },
              "density": {
                "enum": [
                  "kg/m3",
                  "g/L",
                  "mg/L",
                  "g/cm3",
                  "g/mL",
                  "kg/L",
                  "t/m3",
                  "lb/ft3",
                  "lb/in3",
                  "lb/gal_us"
                ],
                "type": "string"
              },
              "duration": {
                "enum": [
                  "s",
                  "ms",
                  "min",
                  "h",
                  "d",
                  "wk",
                  "ns",
                  "us"
                ],
                "type": "string"
              },
              "energy": {
                "enum": [
                  "J",
                  "kJ",
                  "MJ",
                  "GJ",
                  "Wh",
                  "kWh",
                  "MWh",
                  "GWh",
                  "cal",
                  "kcal",
                  "BTU",
                  "mJ",
                  "TJ",
                  "TWh",
                  "eV",
                  "toe",
                  "ft.lbf",
                  "MMBtu",
                  "therm_us",
                  "therm_ec"
                ],
                "type": "string"
              },
              "flow": {
                "enum": [
                  "m3/s",
                  "m3/min",
                  "m3/h",
                  "L/s",
                  "L/min",
                  "L/h",
                  "mL/min",
                  "ft3/s",
                  "ft3/min",
                  "gal_us/min",
                  "gal_imp/min",
                  "bbl/d"
                ],
                "type": "string"
              },
              "force": {
                "enum": [
                  "N",
                  "kN",
                  "kgf",
                  "lbf",
                  "mN",
                  "MN",
                  "dyn",
                  "ozf",
                  "kip"
                ],
                "type": "string"
              },
              "frequency": {
                "enum": [
                  "Hz",
                  "kHz",
                  "MHz",
                  "GHz",
                  "rpm",
                  "THz",
                  "bpm"
                ],
                "type": "string"
              },
              "illuminance": {
                "enum": [
                  "lx",
                  "klx",
                  "fc"
                ],
                "type": "string"
              },
              "length": {
                "enum": [
                  "m",
                  "nm",
                  "um",
                  "mm",
                  "cm",
                  "dm",
                  "km",
                  "in",
                  "ft",
                  "yd",
                  "mi",
                  "nmi",
                  "angstrom",
                  "thou",
                  "chain",
                  "fathom",
                  "furlong",
                  "au",
                  "ly",
                  "pc"
                ],
                "type": "string"
              },
              "mass": {
                "enum": [
                  "kg",
                  "ug",
                  "mg",
                  "g",
                  "t",
                  "oz",
                  "lb",
                  "st",
                  "ton_us",
                  "ton_imp",
                  "gr",
                  "ct",
                  "ozt",
                  "kt",
                  "Mt"
                ],
                "type": "string"
              },
              "power": {
                "enum": [
                  "W",
                  "mW",
                  "kW",
                  "MW",
                  "GW",
                  "PS",
                  "hp",
                  "BTU/h",
                  "uW",
                  "TW",
                  "hp_e",
                  "TR"
                ],
                "type": "string"
              },
              "pressure": {
                "enum": [
                  "Pa",
                  "hPa",
                  "kPa",
                  "MPa",
                  "mbar",
                  "bar",
                  "atm",
                  "mmHg",
                  "psi",
                  "inHg",
                  "GPa",
                  "kgf/cm2",
                  "torr",
                  "ksi"
                ],
                "type": "string"
              },
              "ratio": {
                "enum": [
                  "ratio",
                  "percent",
                  "permille",
                  "ppm",
                  "ppb",
                  "bp",
                  "ppt"
                ],
                "type": "string"
              },
              "resistance": {
                "enum": [
                  "ohm",
                  "mohm",
                  "kohm",
                  "Mohm"
                ],
                "type": "string"
              },
              "speed": {
                "enum": [
                  "m/s",
                  "km/h",
                  "mph",
                  "ft/s",
                  "kn",
                  "km/s",
                  "m/min",
                  "ft/min"
                ],
                "type": "string"
              },
              "temperature": {
                "enum": [
                  "K",
                  "degC",
                  "degF",
                  "degR"
                ],
                "type": "string"
              },
              "torque": {
                "enum": [
                  "N.m",
                  "mN.m",
                  "kN.m",
                  "kgf.m",
                  "lbf.ft",
                  "lbf.in",
                  "ozf.in"
                ],
                "type": "string"
              },
              "voltage": {
                "enum": [
                  "V",
                  "mV",
                  "kV",
                  "uV",
                  "MV"
                ],
                "type": "string"
              },
              "volume": {
                "enum": [
                  "m3",
                  "mm3",
                  "cm3",
                  "mL",
                  "cL",
                  "dL",
                  "L",
                  "hL",
                  "in3",
                  "ft3",
                  "yd3",
                  "tsp_us",
                  "tbsp_us",
                  "floz_us",
                  "cup_us",
                  "pt_us",
                  "qt_us",
                  "gal_us",
                  "bbl",
                  "floz_imp",
                  "pt_imp",
                  "qt_imp",
                  "gal_imp",
                  "uL",
                  "dm3",
                  "tsp_metric",
                  "tbsp_metric",
                  "cup_metric"
                ],
                "type": "string"
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "show": {
            "description": "as_entered (the default): every value as it was entered. converted: in the unit of domains for that domain, else in the person's system.",
            "enum": [
              "as_entered",
              "converted"
            ],
            "type": "string"
          },
          "system": {
            "description": "The measurement system a converted value is shown in: metric (the default), us or imperial.",
            "enum": [
              "metric",
              "us",
              "imperial"
            ],
            "type": "string"
          }
        },
        "required": [
          "show",
          "system",
          "domains"
        ],
        "type": "object"
      },
      "UnitsPreferenceChange": {
        "additionalProperties": false,
        "properties": {
          "domains": {
            "additionalProperties": false,
            "description": "Fixed units to set, by domain code; null for a domain removes its fixed unit. A domain left out is unchanged.",
            "properties": {
              "acceleration": {
                "anyOf": [
                  {
                    "enum": [
                      "m/s2",
                      "cm/s2",
                      "km/h/s",
                      "g0",
                      "ft/s2",
                      "in/s2"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "amount": {
                "anyOf": [
                  {
                    "enum": [
                      "mol",
                      "nmol",
                      "umol",
                      "mmol",
                      "kmol"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "angle": {
                "anyOf": [
                  {
                    "enum": [
                      "deg",
                      "arcmin",
                      "arcsec",
                      "grad",
                      "rad",
                      "turn",
                      "mrad"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "area": {
                "anyOf": [
                  {
                    "enum": [
                      "m2",
                      "mm2",
                      "cm2",
                      "ha",
                      "km2",
                      "in2",
                      "ft2",
                      "yd2",
                      "ac",
                      "mi2",
                      "a"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "capacitance": {
                "anyOf": [
                  {
                    "enum": [
                      "F",
                      "mF",
                      "uF",
                      "nF",
                      "pF"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "charge": {
                "anyOf": [
                  {
                    "enum": [
                      "C",
                      "mAh",
                      "Ah",
                      "uC",
                      "mC"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "current": {
                "anyOf": [
                  {
                    "enum": [
                      "A",
                      "mA",
                      "uA",
                      "kA"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "data_rate": {
                "anyOf": [
                  {
                    "enum": [
                      "bit/s",
                      "kbit/s",
                      "Mbit/s",
                      "Gbit/s",
                      "B/s",
                      "kB/s",
                      "MB/s",
                      "Tbit/s",
                      "GB/s",
                      "KiB/s",
                      "MiB/s"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "data_size": {
                "anyOf": [
                  {
                    "enum": [
                      "B",
                      "bit",
                      "kB",
                      "MB",
                      "GB",
                      "TB",
                      "PB",
                      "KiB",
                      "MiB",
                      "GiB",
                      "TiB",
                      "PiB",
                      "kbit",
                      "Mbit",
                      "Gbit",
                      "EB",
                      "EiB"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "density": {
                "anyOf": [
                  {
                    "enum": [
                      "kg/m3",
                      "g/L",
                      "mg/L",
                      "g/cm3",
                      "g/mL",
                      "kg/L",
                      "t/m3",
                      "lb/ft3",
                      "lb/in3",
                      "lb/gal_us"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "duration": {
                "anyOf": [
                  {
                    "enum": [
                      "s",
                      "ms",
                      "min",
                      "h",
                      "d",
                      "wk",
                      "ns",
                      "us"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "energy": {
                "anyOf": [
                  {
                    "enum": [
                      "J",
                      "kJ",
                      "MJ",
                      "GJ",
                      "Wh",
                      "kWh",
                      "MWh",
                      "GWh",
                      "cal",
                      "kcal",
                      "BTU",
                      "mJ",
                      "TJ",
                      "TWh",
                      "eV",
                      "toe",
                      "ft.lbf",
                      "MMBtu",
                      "therm_us",
                      "therm_ec"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "flow": {
                "anyOf": [
                  {
                    "enum": [
                      "m3/s",
                      "m3/min",
                      "m3/h",
                      "L/s",
                      "L/min",
                      "L/h",
                      "mL/min",
                      "ft3/s",
                      "ft3/min",
                      "gal_us/min",
                      "gal_imp/min",
                      "bbl/d"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "force": {
                "anyOf": [
                  {
                    "enum": [
                      "N",
                      "kN",
                      "kgf",
                      "lbf",
                      "mN",
                      "MN",
                      "dyn",
                      "ozf",
                      "kip"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "frequency": {
                "anyOf": [
                  {
                    "enum": [
                      "Hz",
                      "kHz",
                      "MHz",
                      "GHz",
                      "rpm",
                      "THz",
                      "bpm"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "illuminance": {
                "anyOf": [
                  {
                    "enum": [
                      "lx",
                      "klx",
                      "fc"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "length": {
                "anyOf": [
                  {
                    "enum": [
                      "m",
                      "nm",
                      "um",
                      "mm",
                      "cm",
                      "dm",
                      "km",
                      "in",
                      "ft",
                      "yd",
                      "mi",
                      "nmi",
                      "angstrom",
                      "thou",
                      "chain",
                      "fathom",
                      "furlong",
                      "au",
                      "ly",
                      "pc"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "mass": {
                "anyOf": [
                  {
                    "enum": [
                      "kg",
                      "ug",
                      "mg",
                      "g",
                      "t",
                      "oz",
                      "lb",
                      "st",
                      "ton_us",
                      "ton_imp",
                      "gr",
                      "ct",
                      "ozt",
                      "kt",
                      "Mt"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "power": {
                "anyOf": [
                  {
                    "enum": [
                      "W",
                      "mW",
                      "kW",
                      "MW",
                      "GW",
                      "PS",
                      "hp",
                      "BTU/h",
                      "uW",
                      "TW",
                      "hp_e",
                      "TR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pressure": {
                "anyOf": [
                  {
                    "enum": [
                      "Pa",
                      "hPa",
                      "kPa",
                      "MPa",
                      "mbar",
                      "bar",
                      "atm",
                      "mmHg",
                      "psi",
                      "inHg",
                      "GPa",
                      "kgf/cm2",
                      "torr",
                      "ksi"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "ratio": {
                "anyOf": [
                  {
                    "enum": [
                      "ratio",
                      "percent",
                      "permille",
                      "ppm",
                      "ppb",
                      "bp",
                      "ppt"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "resistance": {
                "anyOf": [
                  {
                    "enum": [
                      "ohm",
                      "mohm",
                      "kohm",
                      "Mohm"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "speed": {
                "anyOf": [
                  {
                    "enum": [
                      "m/s",
                      "km/h",
                      "mph",
                      "ft/s",
                      "kn",
                      "km/s",
                      "m/min",
                      "ft/min"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "temperature": {
                "anyOf": [
                  {
                    "enum": [
                      "K",
                      "degC",
                      "degF",
                      "degR"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "torque": {
                "anyOf": [
                  {
                    "enum": [
                      "N.m",
                      "mN.m",
                      "kN.m",
                      "kgf.m",
                      "lbf.ft",
                      "lbf.in",
                      "ozf.in"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "voltage": {
                "anyOf": [
                  {
                    "enum": [
                      "V",
                      "mV",
                      "kV",
                      "uV",
                      "MV"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "volume": {
                "anyOf": [
                  {
                    "enum": [
                      "m3",
                      "mm3",
                      "cm3",
                      "mL",
                      "cL",
                      "dL",
                      "L",
                      "hL",
                      "in3",
                      "ft3",
                      "yd3",
                      "tsp_us",
                      "tbsp_us",
                      "floz_us",
                      "cup_us",
                      "pt_us",
                      "qt_us",
                      "gal_us",
                      "bbl",
                      "floz_imp",
                      "pt_imp",
                      "qt_imp",
                      "gal_imp",
                      "uL",
                      "dm3",
                      "tsp_metric",
                      "tbsp_metric",
                      "cup_metric"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "show": {
            "anyOf": [
              {
                "enum": [
                  "as_entered",
                  "converted"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new show. Left out: unchanged."
          },
          "system": {
            "anyOf": [
              {
                "enum": [
                  "metric",
                  "us",
                  "imperial"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new system. Left out: unchanged."
          }
        },
        "type": "object"
      },
      "ValueChange": {
        "additionalProperties": false,
        "properties": {
          "dump": {
            "description": "The dump, by its key as of the page's transaction.",
            "examples": [
              "INV-103"
            ],
            "type": "string"
          },
          "moved_from": {
            "$ref": "#/components/schemas/MovedFrom",
            "description": "Written by a move: the value it was copied from. A moved value starts a new history, so it has no previous."
          },
          "nested_object": {
            "description": "The nested object holding the value, when it is not the dump itself.",
            "examples": [
              "nob_1"
            ],
            "type": "string"
          },
          "previous": {
            "description": "The transaction that held the previous value; absent for the first.",
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "property": {
            "examples": [
              "prp_21"
            ],
            "type": "string"
          },
          "value": {
            "description": "The new value, null when cleared; absent when value_omitted. A reference is its dump's key as of the page's transaction, and so is each link of a rich text.",
            "examples": [
              "INV-0044"
            ]
          },
          "value_omitted": {
            "description": "Set when the value is a text or a geometry of more than 10 KB: read it with a read pinned to this transaction.",
            "type": "boolean"
          }
        },
        "required": [
          "dump",
          "property"
        ],
        "type": "object"
      },
      "View": {
        "additionalProperties": false,
        "properties": {
          "changed": {
            "$ref": "#/components/schemas/Changed",
            "description": "Who last changed the dump: the latest transaction a caller sent that touched it, as of the read, never a recalculation. On dumps.get and on the dumps of a query's page; absent in referenced."
          },
          "issues": {
            "description": "Every property that is not valid: errored (with its reason and the stored value) or recalculating.",
            "items": {
              "$ref": "#/components/schemas/IssueView"
            },
            "type": "array"
          },
          "key": {
            "description": "The dump's key as of the read (TASK-5). It changes when its schema's key changes or the dump moves; an old key still names the dump.",
            "examples": [
              "INV-103"
            ],
            "type": "string"
          },
          "links": {
            "description": "Broken links in its own rich text values, with target and reason; the properties stay valid. Absent when none is broken. A nested object's are in that object's links.",
            "items": {
              "$ref": "#/components/schemas/LinkView"
            },
            "type": "array"
          },
          "schema": {
            "description": "The key of its dump schema as of the read (TASK). Read the schema here, never out of key.",
            "examples": [
              "INV"
            ],
            "type": "string"
          },
          "status": {
            "description": "okay or deleted.",
            "examples": [
              "okay"
            ],
            "type": "string"
          },
          "transaction": {
            "description": "The latest transaction that touched the dump.",
            "examples": [
              812
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "values": {
            "additionalProperties": {},
            "description": "Its values, keyed by property identifier. A property that is not valid is null, with an entry in issues. A reference shows the key of the dump it points at, as of the read; so does each link of a rich text (dump:TASK-5, schema:TASK). A geo value is its GeoJSON geometry, with the coordinates as stored (rounded to 7 decimals).",
            "type": [
              "object",
              "null"
            ]
          }
        },
        "required": [
          "key",
          "schema",
          "status",
          "transaction",
          "values"
        ],
        "type": "object"
      },
      "ViewChange": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "description": "Move the view right after this view of the same group (the shared views of its schema, or your own), such as viw_2, or first with null. Absent: it stays where it is.",
            "type": [
              "string",
              "null"
            ]
          },
          "layout": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "columns": {
                        "additionalProperties": {
                          "additionalProperties": false,
                          "properties": {
                            "truncate": {
                              "description": "line (the default), lines (up to three) or full.",
                              "enum": [
                                "line",
                                "lines",
                                "full"
                              ],
                              "type": "string"
                            },
                            "width": {
                              "description": "The column's width in CSS pixels.",
                              "maximum": 800,
                              "minimum": 60,
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        },
                        "description": "Settings per column, keyed by property identifier.",
                        "type": "object"
                      }
                    },
                    "title": "table",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "empty_lane": {
                        "description": "Whether a lane shows the dumps without a value (default true): \"No <property>\", \"Nobody\" or \"None\".",
                        "type": "boolean"
                      },
                      "group_by": {
                        "description": "The property whose values are the lanes: a single-select or a multi-select (a lane per option), or a person or a reference without many (a lane per value in use).",
                        "type": "string"
                      },
                      "hidden": {
                        "description": "The lanes shown collapsed, named as in lanes.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "lanes": {
                        "description": "The order of the lanes: option identifiers (opt_N) of a select, account identifiers (usr_N) of people of the project for a person, dump keys of the target type for a reference. Values left out follow.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "rows_by": {
                        "description": "The single-select property, other than group_by, whose options are swimlanes; absent: none.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "group_by"
                    ],
                    "title": "board",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the bars; absent: one color.",
                        "type": "string"
                      },
                      "end": {
                        "description": "The date property where a bar ends; absent: each bar is one zoom unit long.",
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property where a bar starts.",
                        "type": "string"
                      },
                      "zoom": {
                        "description": "day, week (the default), month, quarter or year.",
                        "enum": [
                          "day",
                          "week",
                          "month",
                          "quarter",
                          "year"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "timeline",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "end": {
                        "description": "The date property of a dump's last day; absent: one day.",
                        "type": "string"
                      },
                      "span": {
                        "description": "month (the default) or week: what the calendar shows at once.",
                        "enum": [
                          "month",
                          "week"
                        ],
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property of a dump's first day.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "calendar",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the features; absent: one color.",
                        "type": "string"
                      },
                      "geo": {
                        "description": "The geo properties to draw, of any shape.",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1,
                        "type": "array"
                      }
                    },
                    "required": [
                      "geo"
                    ],
                    "title": "map",
                    "type": "object"
                  }
                ],
                "description": "The settings of the view's kind, by property identifier (decision 10 of docs/decisions/0034-saved-views.md). Each property must be a live property of the view's dump schema of the type the setting needs (view_setting_invalid). Absent: {}."
              },
              {
                "type": "null"
              }
            ],
            "description": "A new layout, replacing the old one whole."
          },
          "name": {
            "description": "A new name.",
            "maxLength": 100,
            "minLength": 1,
            "type": [
              "string",
              "null"
            ]
          },
          "query": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QueryInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new saved filter, replacing the old one whole."
          },
          "revision": {
            "description": "The revision the change is based on: the view's current one, or the change is refused (view_changed).",
            "examples": [
              1
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "revision"
        ],
        "type": "object"
      },
      "ViewEvent": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When the change was saved.",
            "examples": [
              "2026-11-23T10:04:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "before": {
            "$ref": "#/components/schemas/ViewVersion",
            "description": "The view before this change. The version after it is the next newer entry's before, or the view as it is now for the newest."
          },
          "by": {
            "description": "The account that made the change: a key of actors.",
            "examples": [
              "usr_3"
            ],
            "type": "string"
          },
          "change": {
            "description": "saved: the query or layout changed; renamed: only the name; restored: an earlier version was saved again.",
            "enum": [
              "saved",
              "renamed",
              "restored"
            ],
            "type": "string"
          },
          "id": {
            "description": "The entry's identifier.",
            "examples": [
              "vev_12"
            ],
            "type": "string"
          },
          "restored": {
            "description": "With change restored: the entry whose before was saved again (it may be pruned since).",
            "examples": [
              "vev_9"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "at",
          "by",
          "change",
          "before"
        ],
        "type": "object"
      },
      "ViewHistory": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "Who made the changes, keyed by account id: the by of each entry, once. A User Agent has its name only for its owner; to everyone else it is its owner's agent.",
            "type": [
              "object",
              "null"
            ]
          },
          "entries": {
            "description": "The entries, newest first. Empty for a personal view, which keeps no log.",
            "items": {
              "$ref": "#/components/schemas/ViewEvent"
            },
            "type": [
              "array",
              "null"
            ]
          }
        },
        "required": [
          "entries",
          "actors"
        ],
        "type": "object"
      },
      "ViewRead": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Actor"
            },
            "description": "The account of saved_by, keyed by account id. A User Agent has its name only for its owner; to everyone else it is its owner's agent.",
            "type": [
              "object",
              "null"
            ]
          },
          "id": {
            "description": "The view's identifier.",
            "examples": [
              "viw_3"
            ],
            "type": "string"
          },
          "kind": {
            "enum": [
              "table",
              "board",
              "timeline",
              "calendar",
              "map"
            ],
            "type": "string"
          },
          "layout": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "columns": {
                        "additionalProperties": {
                          "additionalProperties": false,
                          "properties": {
                            "truncate": {
                              "description": "line (the default), lines (up to three) or full.",
                              "enum": [
                                "line",
                                "lines",
                                "full"
                              ],
                              "type": "string"
                            },
                            "width": {
                              "description": "The column's width in CSS pixels.",
                              "maximum": 800,
                              "minimum": 60,
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        },
                        "description": "Settings per column, keyed by property identifier.",
                        "type": "object"
                      }
                    },
                    "title": "table",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "empty_lane": {
                        "description": "Whether a lane shows the dumps without a value (default true): \"No <property>\", \"Nobody\" or \"None\".",
                        "type": "boolean"
                      },
                      "group_by": {
                        "description": "The property whose values are the lanes: a single-select or a multi-select (a lane per option), or a person or a reference without many (a lane per value in use).",
                        "type": "string"
                      },
                      "hidden": {
                        "description": "The lanes shown collapsed, named as in lanes.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "lanes": {
                        "description": "The order of the lanes: option identifiers (opt_N) of a select, account identifiers (usr_N) of people of the project for a person, dump keys of the target type for a reference. Values left out follow.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "rows_by": {
                        "description": "The single-select property, other than group_by, whose options are swimlanes; absent: none.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "group_by"
                    ],
                    "title": "board",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the bars; absent: one color.",
                        "type": "string"
                      },
                      "end": {
                        "description": "The date property where a bar ends; absent: each bar is one zoom unit long.",
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property where a bar starts.",
                        "type": "string"
                      },
                      "zoom": {
                        "description": "day, week (the default), month, quarter or year.",
                        "enum": [
                          "day",
                          "week",
                          "month",
                          "quarter",
                          "year"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "timeline",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "end": {
                        "description": "The date property of a dump's last day; absent: one day.",
                        "type": "string"
                      },
                      "span": {
                        "description": "month (the default) or week: what the calendar shows at once.",
                        "enum": [
                          "month",
                          "week"
                        ],
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property of a dump's first day.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "calendar",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the features; absent: one color.",
                        "type": "string"
                      },
                      "geo": {
                        "description": "The geo properties to draw, of any shape.",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1,
                        "type": "array"
                      }
                    },
                    "required": [
                      "geo"
                    ],
                    "title": "map",
                    "type": "object"
                  }
                ],
                "description": "The settings of the view's kind, by property identifier (decision 10 of docs/decisions/0034-saved-views.md). Each property must be a live property of the view's dump schema of the type the setting needs (view_setting_invalid). Absent: {}."
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "description": "The view's name: its tab's label.",
            "examples": [
              "Open tasks"
            ],
            "type": "string"
          },
          "position": {
            "description": "Orders the view among the shared views of its schema, or among its owner's: compare positions byte by byte. Change it with after.",
            "examples": [
              "V"
            ],
            "type": "string"
          },
          "query": {
            "$ref": "#/components/schemas/Query",
            "description": "The saved filter: the where, sort and select of the dumps query."
          },
          "revision": {
            "description": "Counts the saves of the view; send it with a change.",
            "examples": [
              1
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          },
          "saved_at": {
            "description": "When the view was saved last.",
            "examples": [
              "2026-11-22T10:00:00Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "saved_by": {
            "description": "The account that saved the view last: a person (usr_N) or an agent (agt_N).",
            "examples": [
              "usr_1"
            ],
            "type": "string"
          },
          "schema": {
            "description": "The key of the dump schema the view shows, as it is now.",
            "examples": [
              "TASK"
            ],
            "type": "string"
          },
          "shared": {
            "description": "Shared with the project: everyone in it sees the view, and only Project Developers and Administrators change it. Otherwise only its owner sees it.",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "schema",
          "name",
          "kind",
          "shared",
          "query",
          "layout",
          "position",
          "revision",
          "saved_by",
          "saved_at",
          "actors"
        ],
        "type": "object"
      },
      "ViewRestore": {
        "additionalProperties": false,
        "properties": {
          "revision": {
            "description": "The revision the restore is based on: the view's current one, or it is refused (view_changed).",
            "examples": [
              7
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "revision"
        ],
        "type": "object"
      },
      "ViewVersion": {
        "additionalProperties": false,
        "properties": {
          "layout": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "columns": {
                        "additionalProperties": {
                          "additionalProperties": false,
                          "properties": {
                            "truncate": {
                              "description": "line (the default), lines (up to three) or full.",
                              "enum": [
                                "line",
                                "lines",
                                "full"
                              ],
                              "type": "string"
                            },
                            "width": {
                              "description": "The column's width in CSS pixels.",
                              "maximum": 800,
                              "minimum": 60,
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        },
                        "description": "Settings per column, keyed by property identifier.",
                        "type": "object"
                      }
                    },
                    "title": "table",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "empty_lane": {
                        "description": "Whether a lane shows the dumps without a value (default true): \"No <property>\", \"Nobody\" or \"None\".",
                        "type": "boolean"
                      },
                      "group_by": {
                        "description": "The property whose values are the lanes: a single-select or a multi-select (a lane per option), or a person or a reference without many (a lane per value in use).",
                        "type": "string"
                      },
                      "hidden": {
                        "description": "The lanes shown collapsed, named as in lanes.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "lanes": {
                        "description": "The order of the lanes: option identifiers (opt_N) of a select, account identifiers (usr_N) of people of the project for a person, dump keys of the target type for a reference. Values left out follow.",
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "rows_by": {
                        "description": "The single-select property, other than group_by, whose options are swimlanes; absent: none.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "group_by"
                    ],
                    "title": "board",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the bars; absent: one color.",
                        "type": "string"
                      },
                      "end": {
                        "description": "The date property where a bar ends; absent: each bar is one zoom unit long.",
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property where a bar starts.",
                        "type": "string"
                      },
                      "zoom": {
                        "description": "day, week (the default), month, quarter or year.",
                        "enum": [
                          "day",
                          "week",
                          "month",
                          "quarter",
                          "year"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "timeline",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "end": {
                        "description": "The date property of a dump's last day; absent: one day.",
                        "type": "string"
                      },
                      "span": {
                        "description": "month (the default) or week: what the calendar shows at once.",
                        "enum": [
                          "month",
                          "week"
                        ],
                        "type": "string"
                      },
                      "start": {
                        "description": "The date property of a dump's first day.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "start"
                    ],
                    "title": "calendar",
                    "type": "object"
                  },
                  {
                    "additionalProperties": false,
                    "properties": {
                      "color_by": {
                        "description": "The single-select property whose option colors the features; absent: one color.",
                        "type": "string"
                      },
                      "geo": {
                        "description": "The geo properties to draw, of any shape.",
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 4,
                        "minItems": 1,
                        "type": "array"
                      }
                    },
                    "required": [
                      "geo"
                    ],
                    "title": "map",
                    "type": "object"
                  }
                ],
                "description": "The settings of the view's kind, by property identifier (decision 10 of docs/decisions/0034-saved-views.md). Each property must be a live property of the view's dump schema of the type the setting needs (view_setting_invalid). Absent: {}."
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "description": "The view's name then.",
            "examples": [
              "Open tasks"
            ],
            "type": "string"
          },
          "query": {
            "$ref": "#/components/schemas/Query",
            "description": "The saved filter then."
          },
          "revision": {
            "description": "The view's revision then.",
            "examples": [
              6
            ],
            "maximum": 9223372036854775807,
            "minimum": -9223372036854775808,
            "type": "integer"
          }
        },
        "required": [
          "revision",
          "name",
          "query",
          "layout"
        ],
        "type": "object"
      },
      "ViewsQuery": {
        "additionalProperties": false,
        "properties": {
          "schema": {
            "description": "Only the views of this dump schema, by its key, current or old, in any letter case. Absent: the views of every dump schema.",
            "examples": [
              "TASK"
            ],
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearer": {
        "description": "An agent's token, from POST /agent-sign-ins.",
        "scheme": "bearer",
        "type": "http"
      },
      "session": {
        "description": "The browser's session, which POST /sessions sets when a person signs in with their address and password. Only people have one.",
        "in": "cookie",
        "name": "__Host-bd_session",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "One API for everyone: the Brain Dump app, other frontends and agents. GET returns the default view and takes no parameters; QUERY shapes the result with a JSON body, and every QUERY has a POST alias at the same path with /query appended. A rejection is application/problem+json and lists every problem of the first stage that failed.",
    "title": "Brain Dump",
    "version": "0.1.0"
  },
  "openapi": "3.2.0",
  "paths": {
    "/agent-keys": {
      "post": {
        "description": "The first step of an agent: a person set it up in Brain Dump and gave it a one-time code; the agent makes an Ed25519 key pair, keeps the private key, and sends the code and the public key here. The answer gives the agent's and the key's identifiers, which every sign-in statement names. The code works once and for 15 minutes; an unknown, used, expired or malformed code, or one for a disabled agent, gets one_time_code_invalid. An agent has at most two keys (key_limit_reached), and a public key is registered once, for one agent, for good (public_key_taken). Then sign in with POST /agent-sign-ins. To add a second key later, a signed-in agent uses POST /me/keys; no code is needed.",
        "operationId": "agent-keys.register",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "first": {
                  "summary": "An agent registers its first key.",
                  "value": {
                    "code": "mfrggzdfmztwq2lknnwg23tpobyxe43u",
                    "public_key": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/KeyRegistration"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "first": {
                    "summary": "An agent registers its first key.",
                    "value": {
                      "agent": "agt_12",
                      "key": "key_34"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/RegisteredKey"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, public_key_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: one_time_code_invalid."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: key_limit_reached, public_key_taken."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Register an agent's public key with the one-time code a person gave it.",
        "tags": [
          "agent-keys"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536,
          "requests_per_minute_per_address": 60
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "public_key_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-signed-in": [
            "one_time_code_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ],
          "unprocessable": [
            "key_limit_reached",
            "public_key_taken"
          ]
        }
      }
    },
    "/agent-sign-ins": {
      "post": {
        "description": "One request, no challenge. The agent writes a statement naming this server, itself, its key, the current time and a fresh random value, signs its exact bytes with Ed25519, and sends both. The answer is a bearer token valid for one hour. A refusal names the step that failed: the statement's or signature's form (statement_malformed, signature_malformed), the audience (audience_mismatch), the time, which must be within two minutes of the server's (statement_outside_window), the signature (signature_invalid: the one answer whether the agent or key is unknown, the key removed, the agent disabled or the signature wrong), or a random value used before (statement_replayed). People sign in with POST /sessions instead; a statement can only ever make an agent's session.",
        "operationId": "agent-sign-ins.create",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "sign-in": {
                  "summary": "An agent signs in with its key.",
                  "value": {
                    "signature": "Zm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYg",
                    "statement": "purpose: brain-dump-agent-sign-in\nversion: 1\naudience: https://braindump.example\nagent: agt_12\nkey: key_34\ntime: 2026-11-20T10:00:00Z\nnonce: 3q2-7wAAAAB4mUXbAvBe0g"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/AgentSignIn"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "sign-in": {
                    "summary": "An agent signs in with its key.",
                    "value": {
                      "agent": "agt_12",
                      "expires_at": "2026-11-20T11:00:00Z",
                      "key": "key_34",
                      "token": "9cQd0VqfW8m3H1y2b4n6p8r0t2v4x6z8B0D2F4H6J8L",
                      "token_type": "Bearer"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/AgentSession"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, statement_malformed, signature_malformed."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: audience_mismatch, statement_outside_window, statement_replayed, signature_invalid."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Sign an agent in: exchange a signed statement for a bearer token valid one hour.",
        "tags": [
          "agent-sign-ins"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536,
          "requests_per_minute_per_address": 60
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "statement_malformed",
            "signature_malformed"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-signed-in": [
            "audience_mismatch",
            "statement_outside_window",
            "statement_replayed",
            "signature_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/capabilities": {
      "get": {
        "description": "An operation is listed exactly when the access stage lets the caller use it for at least one request there, as its privileges stand now; one that is not listed is refused for every request (humans_only, agents_only, a not-found, or tier_too_low), whatever its input. What a listed operation does to a given member, grant, invite or agent depends on that target: the lists say it per item (can_promote, can_demote, can_change, can_remove, can_withdraw, can_manage). Operations that need no sign-in are open to everyone and are not listed. Nothing is cached: ask again after a change.",
        "operationId": "capabilities.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "member": {
                    "summary": "A person who is a member of one organization (abridged).",
                    "value": {
                      "account": "usr_2",
                      "kind": "human",
                      "operations": [
                        {
                          "method": "GET",
                          "name": "me.get",
                          "path": "/me"
                        },
                        {
                          "method": "GET",
                          "name": "projects.list",
                          "path": "/projects"
                        }
                      ],
                      "organizations": [
                        {
                          "operations": [
                            {
                              "method": "GET",
                              "name": "organizations.get",
                              "path": "/organizations/org_1"
                            },
                            {
                              "method": "DELETE",
                              "name": "organizations.members.delete",
                              "path": "/organizations/org_1/members/{account}"
                            }
                          ],
                          "organization": {
                            "id": "org_1",
                            "name": "Acme"
                          },
                          "privilege": "member"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Capabilities"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "What the caller may do now: about its own account, and in each organization it is in. GET /projects/{p}/capabilities says it per project.",
        "tags": [
          "capabilities"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/me": {
      "get": {
        "description": "The signed-in account: its identifier, whether it is a person or an agent, its name, a person's verified address, and every organization it is in with its privilege there as it stands now. A person also gets two counts for the app's badges: invites.pending (invitations waiting for their answer, pending ownership transfers to them included) and agents.live (their User Agents that are not paused); agents get neither. A person's authenticator says whether signing in asks for a code from an authenticator app, and how many recovery codes are left. The app calls it first after a reload. consent.needed says whether the account must agree to the current terms and privacy statement (consent.documents) first: while it is true, every operation but this one and POST /me/consents answers consent_needed. Accounts from before consent was recorded, and agents, are never asked. It says who you are, not what you may do on a project; GET /capabilities says that.",
        "operationId": "me.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "human": {
                    "summary": "A person signed in with the app, in the private organization they got at sign-up.",
                    "value": {
                      "account": "usr_1",
                      "agents": {
                        "live": 1
                      },
                      "authenticator": {
                        "enabled": true,
                        "recovery_codes_left": 9
                      },
                      "consent": {
                        "documents": [
                          {
                            "kind": "terms",
                            "sha256": "2979c0204d12fcaf972b93a2c5176bbc37adf4deeb56ee32a052abeb44a3c0ea",
                            "url": "https://braindump.example/legal/terms/2026-11-23",
                            "version": "2026-11-23"
                          },
                          {
                            "kind": "privacy",
                            "sha256": "94109952c739f1f9d9563be87e085916d8ddd97a614cf6a22daf459d074ce6a9",
                            "url": "https://braindump.example/legal/privacy/2026-11-23",
                            "version": "2026-11-23"
                          }
                        ],
                        "needed": false
                      },
                      "email": "ann@example.com",
                      "invites": {
                        "pending": 1
                      },
                      "kind": "human",
                      "name": "ann",
                      "organizations": [
                        {
                          "id": "org_1",
                          "name": "ann's organization",
                          "people": 1,
                          "personal": true,
                          "privilege": "owner"
                        }
                      ],
                      "preferences": {
                        "theme": "system",
                        "units": {
                          "domains": {
                            "temperature": "degC"
                          },
                          "show": "converted",
                          "system": "metric"
                        }
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Me"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Who the caller is, and the organizations it is in.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "patch": {
        "description": "A person changes their own name and preferences (people only; an agent's name is changed by whoever manages it). The name is 1 to 200 characters after spaces at both ends are dropped, with a letter, digit or symbol and without control, invisible or direction-changing characters (name_invalid otherwise); it is not unique and not verified, so two people may share one, and everyone who saw the old name sees the new one. preferences.theme is one of system, day, dusk, night, contrast-day, contrast-night (wrong_type lists them in allowed); an unknown preference is unknown_field. preferences.units changes how quantity values are shown (decision 0049): show is as_entered or converted, system is metric, us or imperial (wrong_type lists them in allowed), and domains fixes a unit per domain: each key a domain (unknown_field lists them otherwise), each value a unit of that domain (wrong_type lists them otherwise), null removes it, and a domain left out is unchanged. Changing the theme leaves units as they were, and the other way around. A member left out is unchanged. Answers what GET /me answers.",
        "operationId": "me.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "rename": {
                  "summary": "A person types their name and picks Dusk.",
                  "value": {
                    "name": "Ann Example",
                    "preferences": {
                      "theme": "dusk"
                    }
                  }
                },
                "units": {
                  "summary": "A person sees quantities converted to metric, temperatures always in degrees Celsius, and no longer fixes a unit for energy.",
                  "value": {
                    "preferences": {
                      "units": {
                        "domains": {
                          "energy": null,
                          "temperature": "degC"
                        },
                        "show": "converted",
                        "system": "metric"
                      }
                    }
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/MeChange"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "rename": {
                    "summary": "A person types their name and picks Dusk.",
                    "value": {
                      "account": "usr_1",
                      "agents": {
                        "live": 1
                      },
                      "authenticator": {
                        "enabled": true,
                        "recovery_codes_left": 9
                      },
                      "consent": {
                        "documents": [
                          {
                            "kind": "terms",
                            "sha256": "2979c0204d12fcaf972b93a2c5176bbc37adf4deeb56ee32a052abeb44a3c0ea",
                            "url": "https://braindump.example/legal/terms/2026-11-23",
                            "version": "2026-11-23"
                          },
                          {
                            "kind": "privacy",
                            "sha256": "94109952c739f1f9d9563be87e085916d8ddd97a614cf6a22daf459d074ce6a9",
                            "url": "https://braindump.example/legal/privacy/2026-11-23",
                            "version": "2026-11-23"
                          }
                        ],
                        "needed": false
                      },
                      "email": "ann@example.com",
                      "invites": {
                        "pending": 1
                      },
                      "kind": "human",
                      "name": "ann",
                      "organizations": [
                        {
                          "id": "org_1",
                          "name": "ann's organization",
                          "people": 1,
                          "personal": true,
                          "privilege": "owner"
                        }
                      ],
                      "preferences": {
                        "theme": "system",
                        "units": {
                          "domains": {
                            "temperature": "degC"
                          },
                          "show": "converted",
                          "system": "metric"
                        }
                      }
                    }
                  },
                  "units": {
                    "summary": "A person sees quantities converted to metric, temperatures always in degrees Celsius, and no longer fixes a unit for energy.",
                    "value": {
                      "account": "usr_1",
                      "agents": {
                        "live": 1
                      },
                      "authenticator": {
                        "enabled": true,
                        "recovery_codes_left": 9
                      },
                      "consent": {
                        "documents": [
                          {
                            "kind": "terms",
                            "sha256": "2979c0204d12fcaf972b93a2c5176bbc37adf4deeb56ee32a052abeb44a3c0ea",
                            "url": "https://braindump.example/legal/terms/2026-11-23",
                            "version": "2026-11-23"
                          },
                          {
                            "kind": "privacy",
                            "sha256": "94109952c739f1f9d9563be87e085916d8ddd97a614cf6a22daf459d074ce6a9",
                            "url": "https://braindump.example/legal/privacy/2026-11-23",
                            "version": "2026-11-23"
                          }
                        ],
                        "needed": false
                      },
                      "email": "ann@example.com",
                      "invites": {
                        "pending": 1
                      },
                      "kind": "human",
                      "name": "ann",
                      "organizations": [
                        {
                          "id": "org_1",
                          "name": "ann's organization",
                          "people": 1,
                          "personal": true,
                          "privilege": "owner"
                        }
                      ],
                      "preferences": {
                        "theme": "system",
                        "units": {
                          "domains": {
                            "temperature": "degC"
                          },
                          "show": "converted",
                          "system": "metric"
                        }
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Me"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, name_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Change your name and preferences.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "name_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/me/agents": {
      "get": {
        "description": "For humans only. Every User Agent you created, disabled ones included, with its live keys and, while there is one, when its unused one-time code expires, and its last change: the newest change it sent (never a background recalculation) in a project you can open now, with what it touched; absent when it changed nothing in one. A User Agent acts for you alone, with what you delegate to it (GET /me/agents/{a}/delegations); nobody else sees it.",
        "operationId": "me.agents.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "One agent with one key.",
                    "value": {
                      "agents": [
                        {
                          "can_manage": true,
                          "created_at": "2026-11-20T10:00:00Z",
                          "created_by": "usr_1",
                          "description": "Files my receipts.",
                          "disabled": false,
                          "id": "agt_8",
                          "keys": [
                            {
                              "added_at": "2026-11-20T10:05:00Z",
                              "added_by": "usr_1",
                              "fingerprint": "q2lk-mfrg-gzdf-mztw",
                              "id": "key_34",
                              "in_use": true,
                              "last_used_at": "2026-11-20T10:06:00Z"
                            }
                          ],
                          "kind": "user_agent",
                          "last_change": {
                            "at": "2026-11-20T10:06:00Z",
                            "dump": "INV-103",
                            "project": {
                              "id": "prj_3",
                              "name": "Receipts"
                            },
                            "property": {
                              "id": "prp_21",
                              "name": "number"
                            },
                            "schema": "INV"
                          },
                          "last_used_at": "2026-11-20T10:06:00Z",
                          "name": "my laptop"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Your User Agents, with their keys.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "post": {
        "description": "For humans only: an agent never creates another (humans_only). A User Agent acts for you, never as you: its actions are recorded as its own, and it gets only what you delegate to it, per organization and per project, never more than you hold (POST /me/agents/{a}/delegations). It starts with nothing. The answer holds its first one-time code, shown this once: give it to the agent, which registers its key with it (POST /agent-keys) within 15 minutes. You never share your password with it. The code is never stored, so a repeat of this request with the same retry key answers the same agent without it; ask for a new code then. A person has at most 50 enabled User Agents (too_many_user_agents): disable one to make room. Nothing is ever deleted, so a person also has at most 200 User Agents in all, disabled ones included (too_many_user_agents, with that number as expected.max): disabling one never frees a place under it. Takes a retry key.",
        "operationId": "me.agents.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "laptop": {
                  "summary": "An agent on your laptop.",
                  "value": {
                    "description": "Files my receipts.",
                    "name": "my laptop"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewUserAgent"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "laptop": {
                    "summary": "An agent on your laptop.",
                    "value": {
                      "agent": {
                        "can_manage": true,
                        "code_expires_at": "2026-11-20T10:15:00Z",
                        "created_at": "2026-11-20T10:00:00Z",
                        "created_by": "usr_1",
                        "description": "Files my receipts.",
                        "disabled": false,
                        "id": "agt_8",
                        "keys": [],
                        "kind": "user_agent",
                        "name": "my laptop"
                      },
                      "code": "mfrggzdfmztwq2lknnwg23tpobyxe43u",
                      "code_expires_at": "2026-11-20T10:15:00Z"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/CreatedAgent"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, name_invalid, description_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, too_many_user_agents."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Create a User Agent and get its first one-time code.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "name_invalid",
            "description_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "too_many_user_agents"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      }
    },
    "/me/agents/{a}": {
      "get": {
        "description": "For humans only, and only for your own User Agents: nobody else sees, changes or removes them, and any other identifier (someone else's agent, an Organization Agent, one never issued) is agent_not_found, all alike. ",
        "operationId": "me.agents.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "An agent with one key.",
                    "value": {
                      "can_manage": true,
                      "created_at": "2026-11-20T10:00:00Z",
                      "created_by": "usr_1",
                      "description": "Files my receipts.",
                      "disabled": false,
                      "id": "agt_8",
                      "keys": [
                        {
                          "added_at": "2026-11-20T10:05:00Z",
                          "added_by": "usr_1",
                          "fingerprint": "q2lk-mfrg-gzdf-mztw",
                          "id": "key_34",
                          "in_use": true,
                          "last_used_at": "2026-11-20T10:06:00Z"
                        }
                      ],
                      "kind": "user_agent",
                      "last_used_at": "2026-11-20T10:06:00Z",
                      "name": "my laptop"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Agent"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "One of your User Agents, with its keys.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "consent_needed"
          ],
          "not-found": [
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The agent's identifier (agt_): one of your own User Agents, such as agt_8.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "description": "For humans only, and only for your own User Agents: nobody else sees, changes or removes them, and any other identifier (someone else's agent, an Organization Agent, one never issued) is agent_not_found, all alike. Disabling stops the agent at once: every session of it ends in the same moment, so its very next request is refused, its unused one-time code is dropped, and it cannot sign in until you enable it again. What you delegated to it stays. If its token may have leaked, disable it, or remove the key the token signed in with (DELETE /me/agents/{a}/keys/{k}). Enabling one counts against the 50 enabled User Agents a person may have (too_many_user_agents).",
        "operationId": "me.agents.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "disable": {
                  "summary": "Stop an agent whose token may have leaked.",
                  "value": {
                    "disabled": true
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/AgentChange"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "disable": {
                    "summary": "Stop an agent whose token may have leaked.",
                    "value": {
                      "can_manage": true,
                      "created_at": "2026-11-20T10:00:00Z",
                      "created_by": "usr_1",
                      "description": "Files my receipts.",
                      "disabled": true,
                      "id": "agt_8",
                      "keys": [
                        {
                          "added_at": "2026-11-20T10:05:00Z",
                          "added_by": "usr_1",
                          "fingerprint": "q2lk-mfrg-gzdf-mztw",
                          "id": "key_34",
                          "in_use": true,
                          "last_used_at": "2026-11-20T10:06:00Z"
                        }
                      ],
                      "kind": "user_agent",
                      "last_used_at": "2026-11-20T10:06:00Z",
                      "name": "my laptop"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Agent"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, name_invalid, description_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, too_many_user_agents."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Rename, describe, disable or enable one of your User Agents.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "name_invalid",
            "description_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "too_many_user_agents"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/me/agents/{a}/delegations": {
      "get": {
        "description": "For humans only, and only for your own User Agents (agent_not_found otherwise, the same as for one never issued). Nothing follows you automatically: the agent holds only what is listed. Each is at most what you hold there: when you are lowered in any way (demoted, removed, a grant lowered or removed, a group invite lowered, ownership transferred), what you delegated is lowered with you, and it stays lowered when you rise again.",
        "operationId": "me.agents.delegations.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "two": {
                    "summary": "Member of an organization, Writer on one of its projects.",
                    "value": {
                      "delegations": [
                        {
                          "kind": "organization",
                          "level": "member",
                          "name": "Acme",
                          "scope": "org_1"
                        },
                        {
                          "kind": "project",
                          "level": "writer",
                          "name": "Books",
                          "scope": "prj_3"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Delegations"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "What you delegated to one of your User Agents, per organization and per project.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "consent_needed"
          ],
          "not-found": [
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The agent's identifier (agt_): one of your own User Agents, such as agt_8.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For humans only, and only for your own User Agents (agent_not_found otherwise, the same as for one never issued). Sets what the agent holds in that organization or on that project, replacing what it held there. In an organization: member, administrator, or owner (the Owner only: the agent then does everything the Owner can, without a grant, except transfer ownership and create agents). On a project: reader, writer, developer or administrator. Never above what you hold there now (tier_too_low, with what you hold); this is delegation, not promotion, so you may give your agent what you could not grant to anyone else. An organization or project you have no access to is organization_not_found or project_not_found, the same as one never issued. A level the scope does not have is wrong_type. Counts from the agent's next request. Takes a retry key.",
        "operationId": "me.agents.delegations.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "writer": {
                  "summary": "Let the agent write on one project.",
                  "value": {
                    "level": "writer",
                    "scope": "prj_3"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewDelegation"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "writer": {
                    "summary": "Let the agent write on one project.",
                    "value": {
                      "kind": "project",
                      "level": "writer",
                      "name": "Books",
                      "scope": "prj_3"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Delegation"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, organization_not_found, agent_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Delegate to one of your User Agents in an organization or on a project, or change what it holds there.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "organization_not_found",
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      }
    },
    "/me/agents/{a}/delegations/{scope}": {
      "delete": {
        "description": "For humans only, and only for your own User Agents (agent_not_found otherwise, the same as for one never issued). The agent loses that access from its next request. A delegation it does not hold is delegation_not_found. Taking back an organization's Owner level leaves its project delegations as they are.",
        "operationId": "me.agents.delegations.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: agent_not_found, delegation_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Take back what you delegated to one of your User Agents in an organization or on a project.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "agent_not_found",
            "delegation_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The agent's identifier (agt_): one of your own User Agents, such as agt_8.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The organization (org_) or project (prj_) the delegation is about, such as prj_3.",
          "in": "path",
          "name": "scope",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/me/agents/{a}/keys": {
      "get": {
        "description": "For humans only, and only for your own User Agents: nobody else sees, changes or removes them, and any other identifier (someone else's agent, an Organization Agent, one never issued) is agent_not_found, all alike. The agent adds and rotates its own keys (POST /me/keys); you see and remove them here.",
        "operationId": "me.agents.keys.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "One key.",
                    "value": {
                      "keys": [
                        {
                          "added_at": "2026-11-20T10:05:00Z",
                          "added_by": "usr_1",
                          "fingerprint": "q2lk-mfrg-gzdf-mztw",
                          "id": "key_34",
                          "in_use": true,
                          "last_used_at": "2026-11-20T10:06:00Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Keys"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "The live keys of one of your User Agents, with when each was added.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "consent_needed"
          ],
          "not-found": [
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The agent's identifier (agt_): one of your own User Agents, such as agt_8.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/me/agents/{a}/keys/{k}": {
      "delete": {
        "description": "For humans only, and only for your own User Agents: nobody else sees, changes or removes them, and any other identifier (someone else's agent, an Organization Agent, one never issued) is agent_not_found, all alike. Every session the key signed in with ends in the same moment, so a leaked token stops working at once; the agent's other key and its sessions go on. A removed key never works again, for any agent. Removing the last key is allowed: give the agent a new one-time code then. A key that is not one of the agent's live keys is key_not_found.",
        "operationId": "me.agents.keys.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: key_not_found, agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Remove a key of one of your User Agents, ending every session signed in with it.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "key_not_found",
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The agent's identifier (agt_): one of your own User Agents, such as agt_8.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The key's identifier (key_), one of the agent's live keys, such as key_34.",
          "in": "path",
          "name": "k",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/me/agents/{a}/one-time-codes": {
      "parameters": [
        {
          "description": "The agent's identifier (agt_): one of your own User Agents, such as agt_8.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For humans only, and only for your own User Agents: nobody else sees, changes or removes them, and any other identifier (someone else's agent, an Organization Agent, one never issued) is agent_not_found, all alike. The code is shown this once and never stored; it works once, for 15 minutes, and replaces the agent's unused code. A disabled agent gets none (account_disabled). A repeat with the same retry key answers without the code. Takes a retry key.",
        "operationId": "me.agents.one-time-codes.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "code": {
                    "summary": "A new code.",
                    "value": {
                      "agent": "agt_8",
                      "code": "mfrggzdfmztwq2lknnwg23tpobyxe43u",
                      "expires_at": "2026-11-20T10:15:00Z"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/OneTimeCode"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, account_disabled, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: agent_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Give one of your User Agents a new one-time code, to register a key with.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "account_disabled",
            "consent_needed"
          ],
          "not-found": [
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      }
    },
    "/me/authenticator": {
      "delete": {
        "description": "People only, with the current password (password_wrong otherwise) and either the six digits the authenticator app shows (totp_code) or an unused recovery code (recovery_code). Signing in then asks for the password only, and the recovery codes are deleted. A wrong code is code_invalid and counts toward the lock of sign-in (account_locked); neither code is field_missing. While the authenticator is off, authenticator_off.",
        "operationId": "me.authenticator.delete",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticatorDelete"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed, password_wrong."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: code_invalid, authenticator_off."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy, account_locked."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Switch the authenticator off.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed",
            "password_wrong"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy",
            "account_locked"
          ],
          "unprocessable": [
            "code_invalid",
            "authenticator_off"
          ]
        }
      },
      "post": {
        "description": "People only, with the current password (password_wrong otherwise). The server makes a new secret and answers it as text and as an otpauth:// address, which the app shows as a QR code for Google Authenticator or any app like it. The authenticator is not on yet: confirm it with a code from the app at POST /me/authenticator/confirmation. Starting again before that replaces the waiting secret. While it is on, this is authenticator_on. Wrong passwords count toward the lock of sign-in (account_locked).",
        "operationId": "me.authenticator.create",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "start": {
                  "summary": "A person opens the security page and starts setting up an authenticator.",
                  "value": {
                    "password": "correct horse battery staple"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/AuthenticatorStart"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "start": {
                    "summary": "A person opens the security page and starts setting up an authenticator.",
                    "value": {
                      "otpauth_url": "otpauth://totp/Brain%20Dump:ann@example.com?secret=JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP&issuer=Brain+Dump&algorithm=SHA1&digits=6&period=30",
                      "secret": "JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/AuthenticatorSecret"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed, password_wrong."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: authenticator_on."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy, account_locked."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Start setting up an authenticator app (2FA).",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed",
            "password_wrong"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy",
            "account_locked"
          ],
          "unprocessable": [
            "authenticator_on"
          ]
        }
      }
    },
    "/me/authenticator/confirmation": {
      "post": {
        "description": "People only, with the current password (password_wrong otherwise) and the six digits the authenticator app shows for the secret of POST /me/authenticator. With a right code the authenticator is on: from now on signing in asks for a code from it. The answer holds 10 recovery codes, shown this once: each signs in once in place of a code, for when the phone is lost. Every other session of the person ends; the one that sends this stays signed in. A wrong code is code_invalid and counts toward the lock of sign-in (account_locked). Without a waiting secret it is authenticator_not_started; while the authenticator is on, authenticator_on.",
        "operationId": "me.authenticator.confirm",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "confirm": {
                  "summary": "The person typed the code the app shows; the authenticator is on.",
                  "value": {
                    "code": "287082",
                    "password": "correct horse battery staple"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/AuthenticatorConfirm"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "confirm": {
                    "summary": "The person typed the code the app shows; the authenticator is on.",
                    "value": {
                      "recovery_codes": [
                        "7k2mq-x9d4r",
                        "c3vhn-0pzt8",
                        "m5aqe-y2w6k",
                        "rj9sb-4tx1f",
                        "d8gkz-wp3ne",
                        "h1v7c-qa5rm",
                        "t6nxe-b0jy2",
                        "zp4fd-k8m9s",
                        "w2ec5-gr7ha",
                        "n9bty-3vq0d"
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/RecoveryCodes"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed, password_wrong."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: code_invalid, authenticator_on, authenticator_not_started."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy, account_locked."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Switch the authenticator on with a code from it, and get the recovery codes.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed",
            "password_wrong"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy",
            "account_locked"
          ],
          "unprocessable": [
            "code_invalid",
            "authenticator_on",
            "authenticator_not_started"
          ]
        }
      }
    },
    "/me/consents": {
      "post": {
        "description": "A person records that they agree to the current terms of use and privacy statement (people only: an agent cannot agree for its person, humans_only). Send the address of each, as GET /me lists them in consent.documents; an address of another server or of another version is document_not_current, with the current address in expected.allowed. The server stores each address with the SHA-256 of the text it serves, never a hash the client sends, and from then on consent.needed is false and every operation works again (for the person's User Agents too). A consent is never changed or removed; agreeing to the same documents again answers the first consent. It works while consent is needed, like GET /me; every other operation then answers consent_needed.",
        "operationId": "me.consents.create",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "agree": {
                  "summary": "A person ticks the box at sign-up; the app sends the two addresses after the first sign-in.",
                  "value": {
                    "privacy": "https://braindump.example/legal/privacy/2026-11-23",
                    "terms": "https://braindump.example/legal/terms/2026-11-23"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ConsentInput"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "agree": {
                    "summary": "A person ticks the box at sign-up; the app sends the two addresses after the first sign-in.",
                    "value": {
                      "privacy": {
                        "kind": "privacy",
                        "sha256": "94109952c739f1f9d9563be87e085916d8ddd97a614cf6a22daf459d074ce6a9",
                        "url": "https://braindump.example/legal/privacy/2026-11-23",
                        "version": "2026-11-23"
                      },
                      "recorded_at": "2026-11-23T09:30:00Z",
                      "terms": {
                        "kind": "terms",
                        "sha256": "2979c0204d12fcaf972b93a2c5176bbc37adf4deeb56ee32a052abeb44a3c0ea",
                        "url": "https://braindump.example/legal/terms/2026-11-23",
                        "version": "2026-11-23"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Consent"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: document_not_current."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Agree to the current terms of use and privacy statement.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "document_not_current"
          ]
        }
      }
    },
    "/me/invites": {
      "get": {
        "description": "Invites addressed to the verified email address on the caller's account, matched ignoring case and by nothing else, that are pending, have not expired and whose inviter may still make them (not removed, demoted or lowered since), the newest first: the first 500, with a cursor for the next page (QUERY /me/invites). Accept or decline each. Agents have no address, so their list is empty. Each names its sender (invited_by, a key of actors, named as for an invitation: a User Agent as its person's agent) with the sender's address redacted (inviter_address_hint; a User Agent's person's), never the full address, and says when it was sent.",
        "operationId": "me.invites.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "Cas is invited to Acme as a member.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "ann"
                        }
                      },
                      "invites": [
                        {
                          "created_at": "2026-11-20T10:00:00Z",
                          "expires_at": "2026-12-04T10:00:00Z",
                          "id": "inv_3",
                          "invited_by": "usr_1",
                          "inviter_address_hint": "an***@example.com",
                          "inviter_name": "ann",
                          "kind": "organization",
                          "organization": {
                            "id": "org_1",
                            "name": "Acme"
                          },
                          "privilege": "member"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/MyInvites"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The signed-in person's pending invites, to organizations and to projects.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "query": {
        "description": "The same invites as GET /me/invites, the newest first. limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "me.invites.query",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyInvites"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the signed-in person's pending invites.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/me/invites/query": {
      "post": {
        "description": "The POST alias of `QUERY /me/invites`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe same invites as GET /me/invites, the newest first. limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "me.invites.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MyInvites"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the signed-in person's pending invites.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-alias-of": "me.invites.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/me/invites/{i}/accept": {
      "parameters": [
        {
          "description": "The invite's identifier, such as inv_3.",
          "in": "path",
          "name": "i",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "Accepting is for humans only (humans_only for an agent's sign-in). For an invite to an organization the person becomes a member at the invite's privilege; someone who is a member already keeps the higher of the two, so accepting never lowers anyone. An invite that does not exist, is addressed to another address, has expired, was withdrawn or was declined is invite_not_found. For an invite to a project the person gets the invite's tier there, and a personal grant they hold is never lowered; a non-member stays a non-member. An invite stands only while the person who made it may still make it (they were not removed, demoted or lowered since): otherwise it is invite_not_found, like one that does not exist, and it is withdrawn. An Organization Administrator of the project's organization accepts only an invite the Owner made (owner_invite_required otherwise; the invite stays pending). Accepting an invite you already accepted answers the same again, as long as you still have the access it gave. Takes a retry key.",
        "operationId": "me.invites.accept",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "organization": {
                    "summary": "Cas accepts and becomes a member of Acme.",
                    "value": {
                      "invite": "inv_3",
                      "kind": "organization",
                      "organization": {
                        "id": "org_1",
                        "name": "Acme"
                      },
                      "privilege": "member"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/AcceptedInvite"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, owner_invite_required, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: invite_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Accept an invite addressed to you. Humans only.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "owner_invite_required",
            "consent_needed"
          ],
          "not-found": [
            "invite_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      }
    },
    "/me/invites/{i}/decline": {
      "parameters": [
        {
          "description": "The invite's identifier, such as inv_3.",
          "in": "path",
          "name": "i",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For humans only (humans_only for an agent's sign-in): invites are addressed to a person's verified email address, and agents have none. Closes the invite; nothing else changes. Declining one you declined already answers the same again. An invite that does not exist, is addressed to another address, has expired, was withdrawn or was accepted is invite_not_found. Takes a retry key.",
        "operationId": "me.invites.decline",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: invite_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Decline an invite addressed to you. Humans only.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "invite_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      }
    },
    "/me/keys": {
      "get": {
        "description": "For agents only: people have no keys (agents_only). Lists the agent's live keys, the oldest first, and marks the one this session signed in with. Listing needs no proof beyond the session: it changes nothing and shows no secret. To rotate: add the new key (POST /me/keys), sign in with it, then remove the old one (DELETE /me/keys/{k}).",
        "operationId": "me.keys.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "rotating": {
                    "summary": "In the middle of a rotation: the new key is added, the session still uses the old one.",
                    "value": {
                      "keys": [
                        {
                          "added_at": "2026-11-20T09:55:00Z",
                          "current": true,
                          "fingerprint": "q2lk-mfrg-gzdf-mztw",
                          "id": "key_34",
                          "last_used_at": "2026-12-20T08:00:00Z"
                        },
                        {
                          "added_at": "2026-12-20T09:00:00Z",
                          "current": false,
                          "fingerprint": "nb2h-i4dt-hjrs-kyzq",
                          "id": "key_51"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/OwnKeys"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: agents_only, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "The signed-in agent's keys, with when each was added, its fingerprint and its last sign-in.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": true,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "agents_only",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "post": {
        "description": "For agents only (agents_only). The session is not proof enough: the body carries a statement signed with the private key this session signed in with (purpose brain-dump-agent-add-key, its key line that key, its new-key line the public_key of the body), checked like a sign-in statement: audience, time within two minutes, the signature, a random value used once. So a stolen token alone cannot add a key. An agent has at most two keys (key_limit_reached), and a public key is registered once, for one agent, for good (public_key_taken), so sending the same key again never adds it twice. The new key works for sign-in at once; the session in use keeps its key. For an Organization Agent the new key belongs to the person the proving key belongs to (added_by), and goes when that one does.",
        "operationId": "me.keys.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "rotate": {
                  "summary": "The first step of a rotation: signed with key_34, the key the session signed in with.",
                  "value": {
                    "public_key": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
                    "signature": "Zm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYg",
                    "statement": "purpose: brain-dump-agent-add-key\nversion: 1\naudience: https://braindump.example\nagent: agt_12\nkey: key_34\ntime: 2026-11-20T10:00:00Z\nnonce: c2l4dGVlbiBieXRlcyEhIQ\nnew-key: 11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewKey"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "rotate": {
                    "summary": "The first step of a rotation: signed with key_34, the key the session signed in with.",
                    "value": {
                      "added_at": "2026-12-20T09:00:00Z",
                      "current": false,
                      "fingerprint": "nb2h-i4dt-hjrs-kyzq",
                      "id": "key_51"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/OwnKey"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, statement_malformed, signature_malformed, public_key_invalid, statement_mismatch."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid, audience_mismatch, statement_outside_window, statement_replayed, signature_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, agents_only, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: key_limit_reached, public_key_taken."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Add a key to the signed-in agent, to rotate without a person.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": true,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "statement_malformed",
            "signature_malformed",
            "public_key_invalid",
            "statement_mismatch"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "agents_only",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid",
            "audience_mismatch",
            "statement_outside_window",
            "statement_replayed",
            "signature_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "key_limit_reached",
            "public_key_taken"
          ]
        }
      }
    },
    "/me/keys/{k}": {
      "delete": {
        "description": "For agents only (agents_only). Like adding a key, it needs a statement signed with the private key this session signed in with (purpose brain-dump-agent-remove-key, its key line that key, its remove-key line the key in the path), in the body of the DELETE. That may be the key being removed, or the other one: to rotate, sign in with the new key and remove the old one with a statement the new key signs. Every session signed in with the key ends at once, this one included when it used that key: its next request gets 401. Sessions of the other key go on. Removing the last key is allowed; the agent then needs a person to give it a new one-time code. A removed key can never be registered again. A key that is not one of the agent's live keys is key_not_found.",
        "operationId": "me.keys.delete",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "rotate": {
                  "summary": "The last step of a rotation: signed in with key_51, the agent removes key_34.",
                  "value": {
                    "signature": "Zm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYmFyZm9vYg",
                    "statement": "purpose: brain-dump-agent-remove-key\nversion: 1\naudience: https://braindump.example\nagent: agt_12\nkey: key_51\ntime: 2026-11-20T10:05:00Z\nnonce: c2l4dGVlbiBtb3JlIGJ5dGVz\nremove-key: key_34"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/KeyRemoval"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, statement_malformed, signature_malformed, statement_mismatch."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid, audience_mismatch, statement_outside_window, statement_replayed, signature_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, agents_only, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: key_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Remove a key of the signed-in agent, and end every session that signed in with it.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": true,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "statement_malformed",
            "signature_malformed",
            "statement_mismatch"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "agents_only",
            "consent_needed"
          ],
          "not-found": [
            "key_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid",
            "audience_mismatch",
            "statement_outside_window",
            "statement_replayed",
            "signature_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The key's identifier, such as key_34.",
          "in": "path",
          "name": "k",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/me/ownership-transfers": {
      "get": {
        "description": "For humans only (humans_only for an agent's sign-in). Each is a transfer an organization's Owner started to make the caller the Owner, that still stands: not accepted, declined, canceled or lapsed (14 days after it started), the Owner who started it is still the Owner and not disabled, and the caller is still a member. The newest first, at most one per organization. Each names the organization, and the Owner as a key of actors with their address redacted (owner_address_hint). A transfer is not an invite: GET /me/invites does not list it, but invites.pending of GET /me counts it. Accept or decline each.",
        "operationId": "me.ownership-transfers.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "Ann started handing Acme to Bob.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Ann Jansen"
                        }
                      },
                      "transfers": [
                        {
                          "expires_at": "2026-12-07T10:00:00Z",
                          "id": "trf_3",
                          "organization": {
                            "id": "org_1",
                            "name": "Acme"
                          },
                          "owner": "usr_1",
                          "owner_address_hint": "an***@example.com",
                          "started_at": "2026-11-23T10:00:00Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/MyTransfers"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "The pending ownership transfers to the signed-in person. Humans only.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/me/ownership-transfers/{t}/accept": {
      "parameters": [
        {
          "description": "The transfer's identifier, such as trf_3.",
          "in": "path",
          "name": "t",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For humans only (humans_only for an agent's sign-in). The caller must be the transfer's target: a transfer that does not exist or is someone else's is transfer_not_found, the same either way. Every check of the transfer runs again: the Owner who started it is still the Owner and not disabled, and the caller is still a member. Otherwise, and when it was canceled, declined, accepted or lapsed (14 days after it started), it is transfer_not_pending with how it ended in actual. In one step the previous Owner becomes an Organization Administrator, with only the project access their grants give them; their User Agents lose the Owner-level privilege; and the keys they added to Organization Agents that now reach further than they do are removed. Answers the organization as the new Owner sees it. Takes a retry key: a repeat with the same key answers the first response.",
        "operationId": "me.ownership-transfers.accept",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "accept": {
                    "summary": "Bob accepts and becomes the Owner of Acme; Ann is an Organization Administrator now.",
                    "value": {
                      "agents": 1,
                      "id": "org_1",
                      "members": 4,
                      "name": "Acme",
                      "owner": "usr_2",
                      "pending_invites": 1,
                      "people": 3,
                      "privilege": "owner",
                      "projects": 2
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: transfer_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: transfer_not_pending."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Accept an ownership transfer to you: become the organization's Owner. Humans only.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "transfer_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ],
          "unprocessable": [
            "transfer_not_pending"
          ]
        }
      }
    },
    "/me/ownership-transfers/{t}/decline": {
      "parameters": [
        {
          "description": "The transfer's identifier, such as trf_3.",
          "in": "path",
          "name": "t",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For humans only (humans_only for an agent's sign-in). The caller must be the transfer's target: a transfer that does not exist or is someone else's is transfer_not_found, the same either way. Ends the transfer; nothing else changes, and the Owner stays the Owner. Declining one you declined already answers the same again. One that was canceled, accepted or lapsed, or no longer stands (the Owner is no longer the Owner or is disabled, or the caller is no longer a member), is transfer_not_pending with how it ended in actual. Takes a retry key: a repeat with the same key answers the first response.",
        "operationId": "me.ownership-transfers.decline",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: transfer_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: transfer_not_pending."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Decline an ownership transfer to you. Humans only.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "transfer_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ],
          "unprocessable": [
            "transfer_not_pending"
          ]
        }
      }
    },
    "/me/password": {
      "patch": {
        "description": "People only, with the current password (password_wrong otherwise; wrong ones count toward the lock of sign-in, account_locked). The new password is at least 12 characters of any kind. Every other session of the person ends; the one that sends this stays signed in. The authenticator is not touched.",
        "operationId": "me.password.update",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordChange"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, password_too_short, password_too_long."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed, password_wrong."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy, account_locked."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Change your password.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "password_too_short",
            "password_too_long"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed",
            "password_wrong"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy",
            "account_locked"
          ]
        }
      }
    },
    "/me/recovery-codes": {
      "post": {
        "description": "People only, with the current password (password_wrong otherwise) and either the six digits the authenticator app shows (totp_code) or an unused recovery code (recovery_code), while the authenticator is on (authenticator_off otherwise). The answer holds 10 new recovery codes, shown this once; the old ones, used or not, no longer work. GET /me says how many are left. A wrong code is code_invalid; neither code is field_missing. Wrong passwords and codes count toward the lock of sign-in (account_locked).",
        "operationId": "me.recovery-codes.create",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "new": {
                  "summary": "A person used most of their codes and makes a new set.",
                  "value": {
                    "password": "correct horse battery staple",
                    "totp_code": "287082"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/RecoveryCodesCreate"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "new": {
                    "summary": "A person used most of their codes and makes a new set.",
                    "value": {
                      "recovery_codes": [
                        "7k2mq-x9d4r",
                        "c3vhn-0pzt8",
                        "m5aqe-y2w6k",
                        "rj9sb-4tx1f",
                        "d8gkz-wp3ne",
                        "h1v7c-qa5rm",
                        "t6nxe-b0jy2",
                        "zp4fd-k8m9s",
                        "w2ec5-gr7ha",
                        "n9bty-3vq0d"
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/RecoveryCodes"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed, password_wrong."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: code_invalid, authenticator_off."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy, account_locked."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Make a new set of recovery codes.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed",
            "password_wrong"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy",
            "account_locked"
          ],
          "unprocessable": [
            "code_invalid",
            "authenticator_off"
          ]
        }
      }
    },
    "/me/sessions": {
      "delete": {
        "description": "A person ends every one of their sessions except the one that signs this request in: other browsers and devices are signed out on their next request. For people only, and for use after a password change, which leaves sessions alive. Your agents' sessions are not touched: they belong to the agents (pause an agent or remove its key for that). Answers how many sessions ended; it can be repeated safely.",
        "operationId": "me.sessions.delete",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "two": {
                    "summary": "Two other browsers were signed in; they are now signed out.",
                    "value": {
                      "ended": 2
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SessionsEnded"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: humans_only, origin_not_allowed, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Sign out your other sessions.",
        "tags": [
          "me"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/openapi.json": {
      "get": {
        "description": "The OpenAPI 3.2 document, generated from the operation catalog. Every operation, its input and output schemas, who may call it and every code it can reject with.",
        "operationId": "openapi.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Success."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "This document: every operation of the API.",
        "tags": [
          "openapi"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ]
        }
      }
    },
    "/organizations/{o}": {
      "get": {
        "description": "For every member. A caller that is not in the organization gets organization_not_found, unless it has a grant on one of the organization's projects, which tells it the organization exists: then tier_too_low. pending_invites is there only for the Owner and Organization Administrators. GET /me lists the organizations the caller is in.",
        "operationId": "organizations.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "owner": {
                    "summary": "The Owner reads their organization.",
                    "value": {
                      "id": "org_1",
                      "members": 4,
                      "name": "Acme",
                      "owner": "usr_1",
                      "pending_invites": 1,
                      "people": 0,
                      "privilege": "owner",
                      "projects": 0
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "An organization: its name, its Owner, how many members it has, and the caller's privilege there.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "member",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "description": "Only the Owner renames the organization (and the Owner's User Agent while it holds the Owner-level privilege). The name is 1 to 200 characters without control characters; spaces around it are dropped. Answers the organization as it is now.",
        "operationId": "organizations.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "rename": {
                  "summary": "The Owner renames the private organization they got at sign-up.",
                  "value": {
                    "name": "Acme"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/OrganizationChange"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "rename": {
                    "summary": "The Owner renames the private organization they got at sign-up.",
                    "value": {
                      "id": "org_1",
                      "members": 4,
                      "name": "Acme",
                      "owner": "usr_1",
                      "pending_invites": 1,
                      "people": 0,
                      "privilege": "owner",
                      "projects": 0
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, name_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Rename an organization. Only the Owner.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "owner",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "name_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/organizations/{o}/agents": {
      "get": {
        "description": "For the Owner and Organization Administrators. Every Organization Agent that is a member, disabled ones included, with its privilege, the person who created it, its live keys and, while there is one, when its unused one-time code expires. can_manage says whether the caller may rename, disable and enable it, remove its keys and give it a new code: the Owner manages every one, an Organization Administrator only those that are members and that reach no further than the administrator does (no higher tier on any live project): a key of an agent is its access. Each key names the person it was added by (added_by); it is removed when the agent comes to reach further than that person. can_create says whether the caller may create a member agent now. An agent removed from the organization is disabled for good and not listed. User Agents are never listed here: only their own user sees them (GET /me/agents). can_remove says whether the caller may remove it from the organization. include=grants adds each agent's personal grants, each with can_change, can_remove and the tiers the caller may set it to, and, once for all agents, group_invites: the group invites for Organization Agents, only on the projects the caller can open. include=activity adds how many transactions each agent sent in the last 30 days, as one total over every project of the organization, also those the caller cannot open; it names none of them. actors names created_by, added_by and granted_by.",
        "operationId": "organizations.agents.list",
        "parameters": [
          {
            "description": "grants, activity, or both (a comma list, or the parameter repeated). grants: give each agent grants, its personal grants on the projects the caller can open (with who gave the present tier and when, and what the caller may do to it), and the list group_invites, the projects' group invites for Organization Agents, once. activity: give each agent activity, its transactions in the last 30 days (limits.AgentActivityDays) in every project of the organization, one total.",
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "grants and activity": {
                    "summary": "With include=grants,activity: a personal grant, two group invites and its transactions of the last 30 days.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Ann Example"
                        }
                      },
                      "agents": [
                        {
                          "activity": {
                            "days": 30,
                            "transactions": 4120
                          },
                          "can_manage": true,
                          "can_remove": true,
                          "created_at": "2026-11-20T10:00:00Z",
                          "created_by": "usr_1",
                          "description": "Keeps the books.",
                          "disabled": false,
                          "grants": [
                            {
                              "can_change": true,
                              "can_remove": true,
                              "granted_at": "2026-11-20T10:30:00Z",
                              "granted_by": "usr_1",
                              "project": {
                                "id": "prj_3",
                                "name": "Books"
                              },
                              "tier": "writer",
                              "tiers": [
                                "reader",
                                "writer",
                                "developer",
                                "administrator"
                              ]
                            }
                          ],
                          "id": "agt_7",
                          "keys": [
                            {
                              "added_at": "2026-11-20T10:05:00Z",
                              "added_by": "usr_1",
                              "fingerprint": "q2lk-mfrg-gzdf-mztw",
                              "id": "key_34",
                              "in_use": true,
                              "last_used_at": "2026-11-20T10:06:00Z"
                            }
                          ],
                          "kind": "organization_agent",
                          "last_used_at": "2026-11-20T10:06:00Z",
                          "name": "ledger",
                          "privilege": "member"
                        }
                      ],
                      "can_create": true,
                      "group_invites": [
                        {
                          "project": {
                            "id": "prj_3",
                            "name": "Books"
                          },
                          "tier": "reader"
                        },
                        {
                          "project": {
                            "id": "prj_5",
                            "name": "Fleet operations"
                          },
                          "tier": "reader"
                        }
                      ]
                    }
                  },
                  "one": {
                    "summary": "One member agent with one key.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Ann Example"
                        }
                      },
                      "agents": [
                        {
                          "can_manage": true,
                          "can_remove": true,
                          "created_at": "2026-11-20T10:00:00Z",
                          "created_by": "usr_1",
                          "description": "Keeps the books.",
                          "disabled": false,
                          "id": "agt_7",
                          "keys": [
                            {
                              "added_at": "2026-11-20T10:05:00Z",
                              "added_by": "usr_1",
                              "fingerprint": "q2lk-mfrg-gzdf-mztw",
                              "id": "key_34",
                              "in_use": true,
                              "last_used_at": "2026-11-20T10:06:00Z"
                            }
                          ],
                          "kind": "organization_agent",
                          "last_used_at": "2026-11-20T10:06:00Z",
                          "name": "ledger",
                          "privilege": "member"
                        }
                      ],
                      "can_create": true
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/OrganizationAgents"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The Organization Agents of an organization, with their keys and what the caller may do to each.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For humans only: every agent traces back to the person who decided it should exist, and an agent never creates another, whatever privilege it holds (humans_only, also for the Owner's User Agent). The Owner creates an agent as a member or an administrator; an Organization Administrator creates members only (tier_too_low naming owner). The agent is a member of the organization at once, and never its Owner. The answer holds its first one-time code, shown this once: give it to the agent, which registers its key with it (POST /agent-keys) within 15 minutes. The code is never stored, so a repeat of this request with the same retry key answers the same agent without it; ask for a new code then (POST /organizations/{o}/agents/{a}/one-time-codes). The agent gets access to projects through grants (POST /projects/{p}/grants) and the group invite for Organization Agents. Because a key of an agent is its access, the caller must hold at least what the new agent would reach at once: the tier the group invite for Organization Agents gives on every live project (tier_too_low naming owner otherwise; the Owner always may). An organization has at most 200 Organization Agents (too_many_organization_agents). Takes a retry key.",
        "operationId": "organizations.agents.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "member": {
                  "summary": "An agent that keeps the books, as a member.",
                  "value": {
                    "description": "Keeps the books.",
                    "name": "ledger"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewOrganizationAgent"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "member": {
                    "summary": "An agent that keeps the books, as a member.",
                    "value": {
                      "agent": {
                        "can_manage": true,
                        "code_expires_at": "2026-11-20T10:15:00Z",
                        "created_at": "2026-11-20T10:00:00Z",
                        "created_by": "usr_1",
                        "description": "Keeps the books.",
                        "disabled": false,
                        "id": "agt_7",
                        "keys": [],
                        "kind": "organization_agent",
                        "name": "ledger",
                        "privilege": "member"
                      },
                      "code": "mfrggzdfmztwq2lknnwg23tpobyxe43u",
                      "code_expires_at": "2026-11-20T10:15:00Z"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/CreatedAgent"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, name_invalid, description_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, too_many_organization_agents."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Create an Organization Agent and get its first one-time code.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "name_invalid",
            "description_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "too_many_organization_agents"
          ],
          "not-allowed": [
            "tier_too_low",
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      }
    },
    "/organizations/{o}/agents/{a}": {
      "get": {
        "description": "For the Owner and Organization Administrators, as in the list. An identifier that is not an Organization Agent member of this organization (another organization's, a User Agent, one removed, a person, one never issued) is agent_not_found, all alike.",
        "operationId": "organizations.agents.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "A member agent with one key.",
                    "value": {
                      "can_manage": true,
                      "can_remove": true,
                      "created_at": "2026-11-20T10:00:00Z",
                      "created_by": "usr_1",
                      "description": "Keeps the books.",
                      "disabled": false,
                      "id": "agt_7",
                      "keys": [
                        {
                          "added_at": "2026-11-20T10:05:00Z",
                          "added_by": "usr_1",
                          "fingerprint": "q2lk-mfrg-gzdf-mztw",
                          "id": "key_34",
                          "in_use": true,
                          "last_used_at": "2026-11-20T10:06:00Z"
                        }
                      ],
                      "kind": "organization_agent",
                      "last_used_at": "2026-11-20T10:06:00Z",
                      "name": "ledger",
                      "privilege": "member"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Agent"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "One Organization Agent, with its keys.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The agent's identifier (agt_): an Organization Agent that is a member of the organization, such as agt_7.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "description": "The Owner manages every Organization Agent; an Organization Administrator only those that are members and reach no further than the administrator does on any live project (tier_too_low naming owner; can_manage in the list says which). Disabling stops the agent at once: every session of it ends in the same moment, so its very next request is refused, its unused one-time code is dropped, and it cannot sign in until it is enabled again. Its keys and access stay. Enabling lets its keys sign in again. To take an agent out of the organization for good, remove it as a member (DELETE /organizations/{o}/members/{account}); to change its privilege, PATCH it there.",
        "operationId": "organizations.agents.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "disable": {
                  "summary": "Stop an agent whose token may have leaked.",
                  "value": {
                    "disabled": true
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/AgentChange"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "disable": {
                    "summary": "Stop an agent whose token may have leaked.",
                    "value": {
                      "can_manage": true,
                      "can_remove": true,
                      "created_at": "2026-11-20T10:00:00Z",
                      "created_by": "usr_1",
                      "description": "Keeps the books.",
                      "disabled": true,
                      "id": "agt_7",
                      "keys": [
                        {
                          "added_at": "2026-11-20T10:05:00Z",
                          "added_by": "usr_1",
                          "fingerprint": "q2lk-mfrg-gzdf-mztw",
                          "id": "key_34",
                          "in_use": true,
                          "last_used_at": "2026-11-20T10:06:00Z"
                        }
                      ],
                      "kind": "organization_agent",
                      "last_used_at": "2026-11-20T10:06:00Z",
                      "name": "ledger",
                      "privilege": "member"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Agent"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, name_invalid, description_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Rename, describe, disable or enable an Organization Agent.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "name_invalid",
            "description_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/organizations/{o}/agents/{a}/keys": {
      "get": {
        "description": "For the Owner and Organization Administrators. The keys are public keys: their identifiers and when they were added, never anything secret. Removing one is for whoever manages the agent (DELETE .../keys/{k}).",
        "operationId": "organizations.agents.keys.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "One key.",
                    "value": {
                      "keys": [
                        {
                          "added_at": "2026-11-20T10:05:00Z",
                          "added_by": "usr_1",
                          "fingerprint": "q2lk-mfrg-gzdf-mztw",
                          "id": "key_34",
                          "in_use": true,
                          "last_used_at": "2026-11-20T10:06:00Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Keys"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The live keys of an Organization Agent, with when each was added.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The agent's identifier (agt_): an Organization Agent that is a member of the organization, such as agt_7.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/organizations/{o}/agents/{a}/keys/{k}": {
      "delete": {
        "description": "For whoever manages the agent: the Owner for every Organization Agent, an Organization Administrator for those that are members and reach no further than the administrator does (tier_too_low naming owner). Every session the key signed in with ends in the same moment, so a leaked token stops working at once; the agent's other key and its sessions go on. A removed key never works again, for any agent. Removing the last key is allowed: the agent then needs a new one-time code. A key that is not one of the agent's live keys is key_not_found.",
        "operationId": "organizations.agents.keys.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: key_not_found, organization_not_found, agent_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Remove a key of an Organization Agent, ending every session signed in with it.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "key_not_found",
            "organization_not_found",
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The agent's identifier (agt_): an Organization Agent that is a member of the organization, such as agt_7.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The key's identifier (key_), one of the agent's live keys, such as key_34.",
          "in": "path",
          "name": "k",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/organizations/{o}/agents/{a}/one-time-codes": {
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The agent's identifier (agt_): an Organization Agent that is a member of the organization, such as agt_7.",
          "in": "path",
          "name": "a",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For humans only: the code is the moment a person vouches for the agent. For whoever manages the agent: the Owner for every Organization Agent, an Organization Administrator for those that are members and reach no further than the administrator does on any live project, because a key of the agent is its access (tier_too_low naming owner). The key registered with the code belongs to the caller (added_by) and is removed when the agent comes to reach further than the caller. The code is shown this once and never stored; it works once, for 15 minutes, and replaces the agent's unused code. Use it when the agent lost its keys, when one leaked (remove it first), or when the first code expired. A disabled agent gets none (account_disabled). A repeat with the same retry key answers without the code. Takes a retry key.",
        "operationId": "organizations.agents.one-time-codes.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "code": {
                    "summary": "A new code.",
                    "value": {
                      "agent": "agt_7",
                      "code": "mfrggzdfmztwq2lknnwg23tpobyxe43u",
                      "expires_at": "2026-11-20T10:15:00Z"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/OneTimeCode"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, humans_only, origin_not_allowed, account_disabled, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, agent_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Give an Organization Agent a new one-time code, to register a key with.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "humans_only",
            "origin_not_allowed",
            "account_disabled",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "agent_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      }
    },
    "/organizations/{o}/events": {
      "get": {
        "description": "What happened to the organization, newest first, for the Owner and Organization Administrators: an ownership transfer started, canceled, declined, lapsed or accepted, with who did it and when. Events are never changed or removed. actors names every account an event or its details mention, as the organization's pages do: someone who left the organization has no name. Pages of 50; QUERY the same path with the cursor for the next page.",
        "operationId": "organizations.events.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "transfer": {
                    "summary": "A transfer that was started.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Ann Jansen"
                        },
                        "usr_2": {
                          "account": "usr_2",
                          "kind": "human",
                          "name": "Bob de Vries"
                        }
                      },
                      "events": [
                        {
                          "actor": "usr_1",
                          "at": "2026-11-23T10:00:00Z",
                          "details": {
                            "expires_at": "2026-12-07T10:00:00Z",
                            "owner": "usr_1",
                            "target": "usr_2",
                            "transfer": "trf_2"
                          },
                          "id": "evt_7",
                          "kind": "transfer_started"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/EventsPage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "What happened to the organization.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "query": {
        "description": "What happened to the organization, newest first, for the Owner and Organization Administrators: an ownership transfer started, canceled, declined, lapsed or accepted, with who did it and when. Events are never changed or removed. actors names every account an event or its details mention, as the organization's pages do: someone who left the organization has no name. Pages of 50; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "organizations.events.query",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventsPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of what happened to the organization.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/organizations/{o}/events/query": {
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /organizations/{o}/events`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nWhat happened to the organization, newest first, for the Owner and Organization Administrators: an ownership transfer started, canceled, declined, lapsed or accepted, with who did it and when. Events are never changed or removed. actors names every account an event or its details mention, as the organization's pages do: someone who left the organization has no name. Pages of 50; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "organizations.events.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventsPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of what happened to the organization.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-alias-of": "organizations.events.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/organizations/{o}/invites": {
      "get": {
        "description": "The organization's pending invites that have not expired, for the Owner and Organization Administrators, with whether the caller may withdraw each, and actors naming who invited. An invite that was accepted, declined, withdrawn or has expired is not listed. Invites to its projects are listed under each project; the QUERY with include projects adds those of the projects where the caller is a Project Administrator (the Owner: every project), each withdrawn through DELETE /projects/{p}/invites/{i}. Pages of 50, oldest first; QUERY the same path with the cursor for the next page.",
        "operationId": "organizations.invites.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "One pending invite.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "ann"
                        }
                      },
                      "invites": [
                        {
                          "can_withdraw": true,
                          "created_at": "2026-11-20T10:00:00Z",
                          "email": "cas@example.com",
                          "expires_at": "2026-12-04T10:00:00Z",
                          "id": "inv_3",
                          "invited_by": "usr_1",
                          "privilege": "member"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/InvitesPage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The organization's pending invites.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "No email is sent: tell the person yourself. Only someone signed in with exactly this verified address (ignoring case) can accept it, on their own account (GET /me/invites); until then it gives no access, and after 14 days it expires. The answer is the same whether or not the address has an account, belongs to a member or was invited before, so an invite never tells whether someone is a customer. A new invite to an address replaces its pending invite at the same privilege. An Organization Administrator invites members only; the Owner may invite an administrator too. Agents are never invited: an Organization Agent is created in the organization. Takes a retry key.",
        "operationId": "organizations.invites.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "member": {
                  "summary": "Invite someone as a member.",
                  "value": {
                    "email": "cas@example.com"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewInvite"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "member": {
                    "summary": "Invite someone as a member.",
                    "value": {
                      "can_withdraw": true,
                      "created_at": "2026-11-20T10:00:00Z",
                      "email": "cas@example.com",
                      "expires_at": "2026-12-04T10:00:00Z",
                      "id": "inv_3",
                      "invited_by": "usr_1",
                      "privilege": "member"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Invite"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, email_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, too_many_pending_invites."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Invite a person to the organization by email address.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "email_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "too_many_pending_invites"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      },
      "query": {
        "description": "The organization's pending invites that have not expired, for the Owner and Organization Administrators, with whether the caller may withdraw each, and actors naming who invited. An invite that was accepted, declined, withdrawn or has expired is not listed. Invites to its projects are listed under each project; the QUERY with include projects adds those of the projects where the caller is a Project Administrator (the Owner: every project), each withdrawn through DELETE /projects/{p}/invites/{i}. Pages of 50, oldest first; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "organizations.invites.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "projects": {
                  "summary": "The Owner's list with the invites to the organization's projects.",
                  "value": {
                    "include": [
                      "projects"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/InvitesQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "projects": {
                    "summary": "The Owner's list with the invites to the organization's projects.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "ann"
                        }
                      },
                      "invites": [
                        {
                          "can_withdraw": true,
                          "created_at": "2026-11-20T10:00:00Z",
                          "email": "cas@example.com",
                          "expires_at": "2026-12-04T10:00:00Z",
                          "id": "inv_3",
                          "invited_by": "usr_1",
                          "privilege": "member"
                        },
                        {
                          "can_withdraw": true,
                          "created_at": "2026-11-21T10:00:00Z",
                          "email": "tinus@example.com",
                          "expires_at": "2026-12-05T10:00:00Z",
                          "id": "inv_4",
                          "invited_by": "usr_1",
                          "outside": true,
                          "project": {
                            "id": "prj_2",
                            "name": "Fleet operations"
                          },
                          "tier": "reader"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/InvitesPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the organization's pending invites.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/organizations/{o}/invites/query": {
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /organizations/{o}/invites`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe organization's pending invites that have not expired, for the Owner and Organization Administrators, with whether the caller may withdraw each, and actors naming who invited. An invite that was accepted, declined, withdrawn or has expired is not listed. Invites to its projects are listed under each project; the QUERY with include projects adds those of the projects where the caller is a Project Administrator (the Owner: every project), each withdrawn through DELETE /projects/{p}/invites/{i}. Pages of 50, oldest first; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "organizations.invites.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "projects": {
                  "summary": "The Owner's list with the invites to the organization's projects.",
                  "value": {
                    "include": [
                      "projects"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/InvitesQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "projects": {
                    "summary": "The Owner's list with the invites to the organization's projects.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "ann"
                        }
                      },
                      "invites": [
                        {
                          "can_withdraw": true,
                          "created_at": "2026-11-20T10:00:00Z",
                          "email": "cas@example.com",
                          "expires_at": "2026-12-04T10:00:00Z",
                          "id": "inv_3",
                          "invited_by": "usr_1",
                          "privilege": "member"
                        },
                        {
                          "can_withdraw": true,
                          "created_at": "2026-11-21T10:00:00Z",
                          "email": "tinus@example.com",
                          "expires_at": "2026-12-05T10:00:00Z",
                          "id": "inv_4",
                          "invited_by": "usr_1",
                          "outside": true,
                          "project": {
                            "id": "prj_2",
                            "name": "Fleet operations"
                          },
                          "tier": "reader"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/InvitesPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the organization's pending invites.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-alias-of": "organizations.invites.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/organizations/{o}/invites/{i}": {
      "delete": {
        "description": "Whoever may remove an account of the invite's privilege may withdraw it: an Organization Administrator withdraws invites as member, the Owner any. An invite that was answered, withdrawn already, has expired, or is not this organization's own is invite_not_found.",
        "operationId": "organizations.invites.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, invite_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Withdraw a pending invite to the organization.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "invite_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The invite's identifier, such as inv_3.",
          "in": "path",
          "name": "i",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/organizations/{o}/members": {
      "get": {
        "description": "Every member of the organization: people and Organization Agents (User Agents are never members; they act for their user). Every member may read the list, email addresses included, because members manage and work with each other. can_promote, can_demote and can_remove say what the caller may do to each, by the same rule the change itself uses. Pages of 50 by account identifier; QUERY the same path with the cursor for the next page.",
        "operationId": "organizations.members.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "owner": {
                    "summary": "The Owner, a member and an Organization Agent that is an administrator, as the Owner sees them.",
                    "value": {
                      "members": [
                        {
                          "account": "usr_1",
                          "can_demote": false,
                          "can_promote": false,
                          "can_remove": false,
                          "disabled": false,
                          "email": "ann@example.com",
                          "kind": "human",
                          "name": "ann",
                          "privilege": "owner",
                          "since": "2026-11-20T09:00:00Z"
                        },
                        {
                          "account": "usr_2",
                          "can_demote": false,
                          "can_promote": true,
                          "can_remove": true,
                          "disabled": false,
                          "email": "bob@example.com",
                          "kind": "human",
                          "name": "bob",
                          "privilege": "member",
                          "since": "2026-11-20T10:00:00Z"
                        },
                        {
                          "account": "agt_7",
                          "can_demote": true,
                          "can_promote": false,
                          "can_remove": true,
                          "disabled": false,
                          "kind": "agent",
                          "name": "ledger",
                          "privilege": "administrator",
                          "since": "2026-11-20T11:00:00Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/MembersPage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The members of an organization, with their privileges and what the caller may do to each.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "member",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "query": {
        "description": "Every member of the organization: people and Organization Agents (User Agents are never members; they act for their user). Every member may read the list, email addresses included, because members manage and work with each other. can_promote, can_demote and can_remove say what the caller may do to each, by the same rule the change itself uses. Pages of 50 by account identifier; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "organizations.members.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "page": {
                  "summary": "Pages of two.",
                  "value": {
                    "limit": 2
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "page": {
                    "summary": "Pages of two.",
                    "value": {
                      "cursor": "eyJrIjoibWVtYmVycyIsIm8iOjEsImEiOjIsIm4iOjJ9",
                      "members": [
                        {
                          "account": "usr_1",
                          "can_demote": false,
                          "can_promote": false,
                          "can_remove": false,
                          "disabled": false,
                          "email": "ann@example.com",
                          "kind": "human",
                          "name": "ann",
                          "privilege": "owner",
                          "since": "2026-11-20T09:00:00Z"
                        },
                        {
                          "account": "usr_2",
                          "can_demote": false,
                          "can_promote": true,
                          "can_remove": true,
                          "disabled": false,
                          "email": "bob@example.com",
                          "kind": "human",
                          "name": "bob",
                          "privilege": "member",
                          "since": "2026-11-20T10:00:00Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/MembersPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the members of an organization.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "member",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/organizations/{o}/members/query": {
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /organizations/{o}/members`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nEvery member of the organization: people and Organization Agents (User Agents are never members; they act for their user). Every member may read the list, email addresses included, because members manage and work with each other. can_promote, can_demote and can_remove say what the caller may do to each, by the same rule the change itself uses. Pages of 50 by account identifier; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "organizations.members.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "page": {
                  "summary": "Pages of two.",
                  "value": {
                    "limit": 2
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "page": {
                    "summary": "Pages of two.",
                    "value": {
                      "cursor": "eyJrIjoibWVtYmVycyIsIm8iOjEsImEiOjIsIm4iOjJ9",
                      "members": [
                        {
                          "account": "usr_1",
                          "can_demote": false,
                          "can_promote": false,
                          "can_remove": false,
                          "disabled": false,
                          "email": "ann@example.com",
                          "kind": "human",
                          "name": "ann",
                          "privilege": "owner",
                          "since": "2026-11-20T09:00:00Z"
                        },
                        {
                          "account": "usr_2",
                          "can_demote": false,
                          "can_promote": true,
                          "can_remove": true,
                          "disabled": false,
                          "email": "bob@example.com",
                          "kind": "human",
                          "name": "bob",
                          "privilege": "member",
                          "since": "2026-11-20T10:00:00Z"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/MembersPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the members of an organization.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "member",
          "scope": "organization",
          "sign_in": true
        },
        "x-alias-of": "organizations.members.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/organizations/{o}/members/{account}": {
      "delete": {
        "description": "The Owner removes anyone but themselves; an Organization Administrator removes members only. A person may leave an organization by removing themselves; the Owner cannot leave or be removed until ownership is transferred (target_is_owner). Removing an account revokes all its grants on the organization's projects, withdraws its pending invites to the organization and its projects, and ends its User Agents' access to those projects, all at the same moment; grants on other organizations' projects stay. Removing an Organization Agent also disables it and ends its sessions, since it belongs to this organization alone. To keep someone on one project after removing them, invite them to that project again as a non-member.",
        "operationId": "organizations.members.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, member_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: target_is_owner, target_is_self."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Remove a member from an organization, or leave it.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "self": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "member_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "target_is_owner",
            "target_is_self"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The member's account identifier: usr_ for a person, agt_ for an Organization Agent, such as usr_2.",
          "in": "path",
          "name": "account",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "description": "Only the Owner promotes members to administrator and demotes administrators (and the Owner's User Agent while it holds the Owner-level privilege): an Organization Administrator acts on members only, so it could neither promote anyone nor demote anyone, and gets tier_too_low naming owner. The Owner's privilege, their own included, changes only through ownership transfer (target_is_owner). An Organization Agent can be an administrator, never the Owner. A demotion counts from the member's next request, and lowers what the member delegated to their User Agents. An account that is not a member is member_not_found, the same as one that does not exist. Setting the privilege a member already has changes nothing and answers the member.",
        "operationId": "organizations.members.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "promote": {
                  "summary": "The Owner makes a member an Organization Administrator.",
                  "value": {
                    "privilege": "administrator"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/MemberChange"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "promote": {
                    "summary": "The Owner makes a member an Organization Administrator.",
                    "value": {
                      "account": "usr_2",
                      "can_demote": true,
                      "can_promote": false,
                      "can_remove": true,
                      "disabled": false,
                      "email": "bob@example.com",
                      "kind": "human",
                      "name": "bob",
                      "privilege": "administrator",
                      "since": "2026-11-20T10:00:00Z"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Member"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, member_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: target_is_owner."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Promote a member to Organization Administrator, or demote an administrator to member. Only the Owner.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "owner",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "member_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "target_is_owner"
          ]
        }
      }
    },
    "/organizations/{o}/ownership": {
      "delete": {
        "description": "For humans only, as starting is. Ends the transfer the Owner started; nothing else changes. Canceling one that is canceled already answers the same again. One that was accepted, declined or lapsed is transfer_not_pending, with how it ended in actual; when the organization has no transfer the Owner started, transfer_not_found.",
        "operationId": "organizations.ownership.cancel",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, transfer_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: transfer_not_pending."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Cancel the pending ownership transfer. Only the Owner, in person.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "param": "o",
          "privilege": "owner",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "transfer_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "transfer_not_pending"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For humans only: an agent's sign-in, the Owner's User Agent with the Owner-level privilege included, gets humans_only. Nothing about anyone's access changes yet: the transfer is pending until the person accepts it (POST /me/ownership-transfers/{t}/accept, which they may do at once), declines it, the Owner cancels it (DELETE on this path), or 14 days pass. The new Owner must be a person who is a member already and not disabled (anything else is member_not_found, the same as an account that does not exist; an Organization Agent is target_not_human; User Agents are never members). One transfer at a time: transfer_pending while one stands. Answers the organization with the pending transfer. Takes a retry key.",
        "operationId": "organizations.ownership.start",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "start": {
                  "summary": "Ann starts handing Acme to Bob; she stays the Owner until he accepts.",
                  "value": {
                    "account": "usr_2"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewTransfer"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "start": {
                    "summary": "Ann starts handing Acme to Bob; she stays the Owner until he accepts.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Ann Jansen"
                        },
                        "usr_2": {
                          "account": "usr_2",
                          "kind": "human",
                          "name": "Bob de Vries"
                        }
                      },
                      "agents": 1,
                      "id": "org_1",
                      "members": 4,
                      "name": "Acme",
                      "owner": "usr_1",
                      "pending_invites": 1,
                      "people": 3,
                      "privilege": "owner",
                      "projects": 2,
                      "transfer": {
                        "expires_at": "2026-12-07T10:00:00Z",
                        "id": "trf_3",
                        "owner": "usr_1",
                        "owner_address_hint": "an***@example.com",
                        "started_at": "2026-11-23T10:00:00Z",
                        "target": "usr_2",
                        "target_address_hint": "bo***@example.com"
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, humans_only, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found, member_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: target_is_self, target_not_human, transfer_pending."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "Start transferring ownership of an organization to another person who is a member. Only the Owner, in person.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "param": "o",
          "privilege": "owner",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "humans_only",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found",
            "member_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ],
          "unprocessable": [
            "target_is_self",
            "target_not_human",
            "transfer_pending"
          ]
        }
      }
    },
    "/organizations/{o}/ownership/preview": {
      "get": {
        "description": "For humans only, as starting is. Whoever the new Owner is, the Owner becomes an Organization Administrator: user_agents are their User Agents that hold the Owner-level privilege and would drop to administrator, and agents the Organization Agents whose keys or unused one-time codes the Owner (or one of their User Agents) added and that would be removed, because the agent reaches further than the Owner would then. It is a preview: grants, group invites and keys can change before the transfer is accepted, and acceptance works it out again. Nothing changes.",
        "operationId": "organizations.ownership.preview",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "preview": {
                    "summary": "Ann's User Agent drops to administrator, and her key of Ledger goes.",
                    "value": {
                      "agents": [
                        {
                          "account": "agt_7",
                          "name": "Ledger"
                        }
                      ],
                      "user_agents": [
                        {
                          "account": "agt_4",
                          "name": "Purser"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/TransferPreview"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, humans_only, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          }
        ],
        "summary": "What an ownership transfer would change for the Owner now. Only the Owner, in person.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": true,
          "param": "o",
          "privilege": "owner",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "humans_only",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/organizations/{o}/projects": {
      "get": {
        "description": "The organization's live projects that the caller may open, with its tier on each: every project for the Owner, and for anyone else those a grant or a group invite gives access to (being an Organization Administrator gives none). GET /projects lists the caller's projects in every organization. Pages of 50, oldest first, with totals (how many projects in all, per organization); QUERY the same path with the cursor for the next page.",
        "operationId": "organizations.projects.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "The Owner's view of an organization with one project.",
                    "value": {
                      "projects": [
                        {
                          "created_at": "2026-11-20T10:00:00Z",
                          "description": "The shipping ledger.",
                          "group_invites": {
                            "humans": "reader",
                            "organization_agents": "none"
                          },
                          "id": "prj_1",
                          "members": {
                            "agents": 2,
                            "humans": 4
                          },
                          "name": "Books",
                          "organization": {
                            "id": "org_1",
                            "name": "Acme"
                          },
                          "owner": true,
                          "owner_account": "usr_1",
                          "tier": "administrator",
                          "transaction": 815
                        }
                      ],
                      "totals": {
                        "by_organization": [
                          {
                            "organization": {
                              "id": "org_1",
                              "name": "Acme"
                            },
                            "projects": 1
                          }
                        ],
                        "organizations": 1,
                        "projects": 1
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ProjectsPage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The organization's projects that the caller may open.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "member",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The Owner and Organization Administrators create projects, Organization Agents and User Agents that hold the Organization Administrator privilege included. The creator gets a personal grant as Project Administrator, which it keeps if it is later demoted to member. When a User Agent creates one, its user gets that grant and the agent the same tier by delegation. It may have a description (at most 2000 characters). A new project has no group invites. An organization has at most 1000 live projects (too_many_projects). Takes a retry key.",
        "operationId": "organizations.projects.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "create": {
                  "summary": "The Owner creates a project.",
                  "value": {
                    "description": "The shipping ledger.",
                    "name": "Books"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewProject"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "create": {
                    "summary": "The Owner creates a project.",
                    "value": {
                      "created_at": "2026-11-20T10:00:00Z",
                      "description": "The shipping ledger.",
                      "group_invites": {
                        "humans": "none",
                        "organization_agents": "none"
                      },
                      "id": "prj_1",
                      "members": {
                        "agents": 0,
                        "humans": 1
                      },
                      "name": "Books",
                      "organization": {
                        "id": "org_1",
                        "name": "Acme"
                      },
                      "owner": true,
                      "owner_account": "usr_1",
                      "tier": "administrator",
                      "transaction": 0
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, name_invalid, description_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, too_many_projects."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Create a project in the organization. The creator becomes its Project Administrator.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "administrator",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "name_invalid",
            "description_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "too_many_projects"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      },
      "query": {
        "description": "The organization's live projects that the caller may open, with its tier on each: every project for the Owner, and for anyone else those a grant or a group invite gives access to (being an Organization Administrator gives none). GET /projects lists the caller's projects in every organization. Pages of 50, oldest first, with totals (how many projects in all, per organization); limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "organizations.projects.query",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectsPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the organization's projects that the caller may open.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "member",
          "scope": "organization",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/organizations/{o}/projects/query": {
      "parameters": [
        {
          "description": "The organization's identifier, such as org_1.",
          "in": "path",
          "name": "o",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /organizations/{o}/projects`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe organization's live projects that the caller may open, with its tier on each: every project for the Owner, and for anyone else those a grant or a group invite gives access to (being an Organization Administrator gives none). GET /projects lists the caller's projects in every organization. Pages of 50, oldest first, with totals (how many projects in all, per organization); limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "organizations.projects.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectsPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: organization_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the organization's projects that the caller may open.",
        "tags": [
          "organizations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "o",
          "privilege": "member",
          "scope": "organization",
          "sign_in": true
        },
        "x-alias-of": "organizations.projects.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "organization_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/password-resets": {
      "post": {
        "description": "For the Brain Dump app only. When the address belongs to an account that can sign in, the server sends a six-digit code to it, which works for 60 minutes at POST /password-resets/confirmation; a new one goes out at most once per 60 seconds and ends the one before. The answer is 204 every time, for an unknown address too, and says nothing about the address. The request must come from this site (its Origin header).",
        "operationId": "password-resets.create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordReset"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, email_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Ask for a code to choose a new password.",
        "tags": [
          "password-resets"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536,
          "requests_per_minute_per_address": 60
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "email_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/password-resets/confirmation": {
      "post": {
        "description": "For the Brain Dump app only. With the right code, the password is the new one, every session of the person ends (sign in again with the new password), and the lock of sign-in is lifted. The authenticator stays as it was: with it on, signing in still asks for its code. A code that is wrong, expired, used, ended by 5 wrong tries, or that does not exist for the address is code_invalid, one answer for all. The lock of sign-in does not refuse this, and wrong codes count only against the code's own tries: the code is the way out of a lock that others caused. The request must come from this site (its Origin header).",
        "operationId": "password-resets.confirm",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordResetConfirm"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, email_invalid, password_too_short, password_too_long."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: code_invalid."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Choose a new password with the code sent to the address.",
        "tags": [
          "password-resets"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536,
          "requests_per_minute_per_address": 60
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "email_invalid",
            "password_too_short",
            "password_too_long"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed"
          ],
          "rate-limited": [
            "rate_limited"
          ],
          "unprocessable": [
            "code_invalid"
          ]
        }
      }
    },
    "/projects": {
      "get": {
        "description": "Every live project the caller may open, in every organization, with its tier on each: through membership and group invites, personal grants (a non-member's only way in), the Owner's rights, or, for a User Agent, what its user delegated. Pages of 50, oldest first, with totals (how many projects match over every page, per organization); QUERY the same path with the cursor for the next page.",
        "operationId": "projects.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "One project.",
                    "value": {
                      "projects": [
                        {
                          "created_at": "2026-11-20T10:00:00Z",
                          "description": "The shipping ledger.",
                          "group_invites": {
                            "humans": "reader",
                            "organization_agents": "none"
                          },
                          "id": "prj_1",
                          "members": {
                            "agents": 2,
                            "humans": 4
                          },
                          "name": "Books",
                          "organization": {
                            "id": "org_1",
                            "name": "Acme"
                          },
                          "owner": true,
                          "owner_account": "usr_1",
                          "tier": "administrator",
                          "transaction": 815
                        }
                      ],
                      "totals": {
                        "by_organization": [
                          {
                            "organization": {
                              "id": "org_1",
                              "name": "Acme"
                            },
                            "projects": 1
                          }
                        ],
                        "organizations": 1,
                        "projects": 1
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ProjectsPage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Every project the caller may open, in any organization.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "query": {
        "description": "Every live project the caller may open, in every organization, with its tier on each: through membership and group invites, personal grants (a non-member's only way in), the Owner's rights, or, for a User Agent, what its user delegated. Pages of 50, oldest first, with totals (how many projects match over every page, per organization); limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next. include [\"summary\"] gives each project summary (what a card on the all-projects page shows: the keys of its live dump schemas, at most 6, with how many there are; its dumps that are not deleted; its newest caller transaction, never background work, as last_activity: at, by, kind and its dump or schema; up to 5 accounts most recently active among its newest 1000 caller transactions; and the caller's own User Agents that can open it, with their tier) and the page actors for every account they name. Every field goes to everyone who can open the project. Without include a row is as in GET /projects. q (in the name or description, ignoring case), organization, writable (writer or above) and with_my_agents (one of the caller's own User Agents can open it) narrow the list, and totals counts what they match; sort is created (the default), name or last_activity (the newest caller transaction first, a project without one last). The cursor carries all of them; one sent with a cursor must be the one it carries (cursor_invalid).",
        "operationId": "projects.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "summary": {
                  "summary": "A project with its summary.",
                  "value": {
                    "include": [
                      "summary"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ProjectsQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "summary": {
                    "summary": "A project with its summary.",
                    "value": {
                      "actors": {
                        "agt_12": {
                          "account": "agt_12",
                          "kind": "user_agent",
                          "name": "Harbourmaster",
                          "owner": {
                            "account": "usr_1",
                            "kind": "human",
                            "name": "Ann"
                          }
                        },
                        "agt_7": {
                          "account": "agt_7",
                          "kind": "user_agent",
                          "owner": {
                            "account": "usr_3",
                            "kind": "human",
                            "name": "Bob"
                          }
                        },
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Ann"
                        }
                      },
                      "projects": [
                        {
                          "created_at": "2026-11-20T10:00:00Z",
                          "description": "The shipping ledger.",
                          "group_invites": {
                            "humans": "reader",
                            "organization_agents": "none"
                          },
                          "id": "prj_1",
                          "members": {
                            "agents": 2,
                            "humans": 4
                          },
                          "name": "Books",
                          "organization": {
                            "id": "org_1",
                            "name": "Acme"
                          },
                          "owner": true,
                          "owner_account": "usr_1",
                          "summary": {
                            "dumps": 776,
                            "last_activity": {
                              "at": "2026-11-22T09:30:00Z",
                              "by": "agt_7",
                              "dump": "VSL-3",
                              "kind": "dump_changed"
                            },
                            "my_agents": [
                              {
                                "id": "agt_12",
                                "level": "writer",
                                "name": "Harbourmaster"
                              }
                            ],
                            "people": [
                              "agt_7",
                              "usr_1"
                            ],
                            "schema_keys": [
                              "VSL",
                              "VOY"
                            ],
                            "schemas": 2
                          },
                          "tier": "administrator",
                          "transaction": 815
                        }
                      ],
                      "totals": {
                        "by_organization": [
                          {
                            "organization": {
                              "id": "org_1",
                              "name": "Acme"
                            },
                            "projects": 1
                          }
                        ],
                        "organizations": 1,
                        "projects": 1
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ProjectsPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the projects the caller may open, in any organization.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/projects/query": {
      "post": {
        "description": "The POST alias of `QUERY /projects`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nEvery live project the caller may open, in every organization, with its tier on each: through membership and group invites, personal grants (a non-member's only way in), the Owner's rights, or, for a User Agent, what its user delegated. Pages of 50, oldest first, with totals (how many projects match over every page, per organization); limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next. include [\"summary\"] gives each project summary (what a card on the all-projects page shows: the keys of its live dump schemas, at most 6, with how many there are; its dumps that are not deleted; its newest caller transaction, never background work, as last_activity: at, by, kind and its dump or schema; up to 5 accounts most recently active among its newest 1000 caller transactions; and the caller's own User Agents that can open it, with their tier) and the page actors for every account they name. Every field goes to everyone who can open the project. Without include a row is as in GET /projects. q (in the name or description, ignoring case), organization, writable (writer or above) and with_my_agents (one of the caller's own User Agents can open it) narrow the list, and totals counts what they match; sort is created (the default), name or last_activity (the newest caller transaction first, a project without one last). The cursor carries all of them; one sent with a cursor must be the one it carries (cursor_invalid).",
        "operationId": "projects.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "summary": {
                  "summary": "A project with its summary.",
                  "value": {
                    "include": [
                      "summary"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ProjectsQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "summary": {
                    "summary": "A project with its summary.",
                    "value": {
                      "actors": {
                        "agt_12": {
                          "account": "agt_12",
                          "kind": "user_agent",
                          "name": "Harbourmaster",
                          "owner": {
                            "account": "usr_1",
                            "kind": "human",
                            "name": "Ann"
                          }
                        },
                        "agt_7": {
                          "account": "agt_7",
                          "kind": "user_agent",
                          "owner": {
                            "account": "usr_3",
                            "kind": "human",
                            "name": "Bob"
                          }
                        },
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Ann"
                        }
                      },
                      "projects": [
                        {
                          "created_at": "2026-11-20T10:00:00Z",
                          "description": "The shipping ledger.",
                          "group_invites": {
                            "humans": "reader",
                            "organization_agents": "none"
                          },
                          "id": "prj_1",
                          "members": {
                            "agents": 2,
                            "humans": 4
                          },
                          "name": "Books",
                          "organization": {
                            "id": "org_1",
                            "name": "Acme"
                          },
                          "owner": true,
                          "owner_account": "usr_1",
                          "summary": {
                            "dumps": 776,
                            "last_activity": {
                              "at": "2026-11-22T09:30:00Z",
                              "by": "agt_7",
                              "dump": "VSL-3",
                              "kind": "dump_changed"
                            },
                            "my_agents": [
                              {
                                "id": "agt_12",
                                "level": "writer",
                                "name": "Harbourmaster"
                              }
                            ],
                            "people": [
                              "agt_7",
                              "usr_1"
                            ],
                            "schema_keys": [
                              "VSL",
                              "VOY"
                            ],
                            "schemas": 2
                          },
                          "tier": "administrator",
                          "transaction": 815
                        }
                      ],
                      "totals": {
                        "by_organization": [
                          {
                            "organization": {
                              "id": "org_1",
                              "name": "Acme"
                            },
                            "projects": 1
                          }
                        ],
                        "organizations": 1,
                        "projects": 1
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ProjectsPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the projects the caller may open, in any organization.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": true
        },
        "x-alias-of": "projects.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/projects/{p}": {
      "delete": {
        "description": "Only the Owner deletes a project (and the Owner's User Agent while it holds the Owner-level privilege); anyone else with access gets tier_too_low naming owner. Deletion is a soft delete: from the next request on, the project answers project_not_found to everyone, exactly like one that never existed, and leaves every list. Its content is kept, but deletion is final for access: every personal grant and delegation on it is removed and its pending invites are withdrawn.",
        "operationId": "projects.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Delete a project. Only the Owner.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "owner"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "get": {
        "description": "For anyone with access. A project the caller has no access to, one that was deleted, and one that never existed all answer project_not_found, the same in every byte.",
        "operationId": "projects.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "owner": {
                    "summary": "The Owner reads a project; 3 properties are still recalculating.",
                    "value": {
                      "created_at": "2026-11-20T10:00:00Z",
                      "description": "The shipping ledger.",
                      "group_invites": {
                        "humans": "reader",
                        "organization_agents": "none"
                      },
                      "id": "prj_1",
                      "members": {
                        "agents": 2,
                        "humans": 4
                      },
                      "name": "Books",
                      "organization": {
                        "id": "org_1",
                        "name": "Acme"
                      },
                      "owner": true,
                      "owner_account": "usr_1",
                      "recalculating": 3,
                      "tier": "administrator",
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A project: its name, its organization, its group invites, and the caller's tier on it.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "description": "Each member left out keeps its value; \"\" for the description removes it. A rename shows everywhere the project's name does, from the next request on. A tier below administrator gets tier_too_low naming administrator. Answers the project as the caller sees it now.",
        "operationId": "projects.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "rename": {
                  "summary": "The Owner renames the project and describes it.",
                  "value": {
                    "description": "The shipping ledger.",
                    "name": "Books"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ProjectChange"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "rename": {
                    "summary": "The Owner renames the project and describes it.",
                    "value": {
                      "created_at": "2026-11-20T10:00:00Z",
                      "description": "The shipping ledger.",
                      "group_invites": {
                        "humans": "reader",
                        "organization_agents": "none"
                      },
                      "id": "prj_1",
                      "members": {
                        "agents": 2,
                        "humans": 4
                      },
                      "name": "Books",
                      "organization": {
                        "id": "org_1",
                        "name": "Acme"
                      },
                      "owner": true,
                      "owner_account": "usr_1",
                      "tier": "administrator",
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, name_invalid, description_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Change a project's name and description. Project Administrators and the Owner.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "name_invalid",
            "description_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/capabilities": {
      "get": {
        "description": "For anyone with access; a project the caller cannot open is project_not_found, the same in every byte as one never issued. An operation is listed exactly when the access stage lets the caller use it for at least one request there, as its privileges stand now; one that is not listed is refused for every request (humans_only, agents_only, a not-found, or tier_too_low), whatever its input. What a listed operation does to a given member, grant, invite or agent depends on that target: the lists say it per item (can_promote, can_demote, can_change, can_remove, can_withdraw, can_manage). Operations that need no sign-in are open to everyone and are not listed. Nothing is cached: ask again after a change.",
        "operationId": "projects.capabilities.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "writer": {
                    "summary": "A Writer (abridged).",
                    "value": {
                      "operations": [
                        {
                          "method": "GET",
                          "name": "projects.get",
                          "path": "/projects/prj_1"
                        },
                        {
                          "method": "DELETE",
                          "name": "projects.grants.delete",
                          "path": "/projects/prj_1/grants/{account}"
                        }
                      ],
                      "owner": false,
                      "project": "prj_1",
                      "tier": "writer"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ProjectCapabilities"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "What the caller may do on a project now.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/projects/{p}/dumps": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "query": {
        "description": "The dumps of one dump schema, a page at a time in the order of creation, deleted ones left out. where narrows them with a tree of conditions (and, or, not; any, all, none and count over lists; paths through to-one references; the system fields key, status, transaction, issues and links; a dump or dump schema named by a key that names none is dump_not_found or schema_not_found, unprocessable); a dump is never kept on the strength of an errored or recalculating value, and skipped says which were left out. sort orders them (ties by the order of creation, empty and untrusted values last). select chooses the properties by identifier, and paths through references and into nested objects (at most 4 steps). A dump reached through a reference is in referenced once, with everything selected of it along any path; referenced holds at most 2,000, and referenced_incomplete says how many it left out. include schema describes each schema reached once. transaction or at pins the read to an older state: schemas, values, statuses and dumps as they were then. Every page states the transaction it reflects; its cursor, sent alone, gives the next page of the same query over the same state. counts adds to every page how many dumps the query keeps (matched) and how many of those have an errored or a recalculating property (errored, recalculating), the same on every page. Each dump of the page has changed: the latest transaction a caller sent that touched it, as of the read (never a recalculation), whose by is a key of actors (a User Agent's name only to its owner; to everyone else it is its owner's agent).",
        "operationId": "dumps.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "filter": {
                  "summary": "Invoices over 100, the largest first; one was left out for an errored total.",
                  "value": {
                    "limit": 2,
                    "schema": "INV",
                    "select": [
                      "prp_21",
                      "prp_22"
                    ],
                    "sort": [
                      {
                        "direction": "desc",
                        "property": "prp_22"
                      }
                    ],
                    "where": {
                      "op": "gt",
                      "property": "prp_22",
                      "value": 100
                    }
                  }
                },
                "include": {
                  "summary": "The same query with the schema included.",
                  "value": {
                    "include": [
                      "schema"
                    ],
                    "limit": 2,
                    "schema": "INV",
                    "select": [
                      "prp_21",
                      "prp_22",
                      "prp_23"
                    ]
                  }
                },
                "references": {
                  "summary": "Selecting through a reference and into nested objects.",
                  "value": {
                    "limit": 2,
                    "schema": "INV",
                    "select": [
                      "prp_21",
                      "prp_23.prp_11",
                      "prp_25.prp_31"
                    ]
                  }
                },
                "select": {
                  "summary": "Two invoices with three of their properties.",
                  "value": {
                    "limit": 2,
                    "schema": "INV",
                    "select": [
                      "prp_21",
                      "prp_22",
                      "prp_23"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/Query.query"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "filter": {
                    "summary": "Invoices over 100, the largest first; one was left out for an errored total.",
                    "value": {
                      "cursor": "eyJwIjoxLCJ4Ijo4MTUsIm8iOjJ9",
                      "dumps": [
                        {
                          "key": "INV-101",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 790,
                          "values": {
                            "prp_21": "INV-0042",
                            "prp_22": 1250.00
                          }
                        },
                        {
                          "key": "INV-102",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 811,
                          "values": {
                            "prp_21": "INV-0043",
                            "prp_22": 300.00
                          }
                        }
                      ],
                      "skipped": {
                        "count": 1,
                        "items": [
                          {
                            "dump": "INV-103",
                            "property": "prp_22",
                            "status": "errored"
                          }
                        ]
                      },
                      "transaction": 815
                    }
                  },
                  "include": {
                    "summary": "The same query with the schema included.",
                    "value": {
                      "cursor": "eyJwIjoxLCJ4Ijo4MTUsIm8iOjJ9",
                      "dumps": [
                        {
                          "key": "INV-101",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 790,
                          "values": {
                            "prp_21": "INV-0042",
                            "prp_22": 1250.00,
                            "prp_23": "SUP-7"
                          }
                        },
                        {
                          "key": "INV-102",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 811,
                          "values": {
                            "prp_21": "INV-0043",
                            "prp_22": 300.00,
                            "prp_23": "SUP-9"
                          }
                        }
                      ],
                      "schemas": {
                        "INV": {
                          "description": "",
                          "key": "INV",
                          "name": "Invoice",
                          "order": [
                            "prp_21",
                            "prp_22",
                            "prp_23"
                          ],
                          "properties": {
                            "prp_21": {
                              "card": "detail",
                              "description": "",
                              "name": "number",
                              "placement": "table",
                              "required": true,
                              "transaction": 640,
                              "type": "plain_text",
                              "when_empty": "show"
                            },
                            "prp_22": {
                              "card": "detail",
                              "description": "",
                              "name": "total",
                              "placement": "table",
                              "required": true,
                              "transaction": 640,
                              "type": "number",
                              "when_empty": "show"
                            },
                            "prp_23": {
                              "card": "detail",
                              "description": "",
                              "name": "supplier",
                              "placement": "table",
                              "required": false,
                              "target": "SUP",
                              "transaction": 640,
                              "type": "reference",
                              "when_empty": "show"
                            }
                          },
                          "sections": [
                            {
                              "after": "prp_23",
                              "placement": "table",
                              "section": "linked_from",
                              "when_empty": "hide"
                            },
                            {
                              "after": "prp_23",
                              "placement": "table",
                              "section": "recent_changes"
                            }
                          ],
                          "transaction": 640,
                          "version": 0
                        }
                      },
                      "transaction": 815
                    }
                  },
                  "references": {
                    "summary": "Selecting through a reference and into nested objects.",
                    "value": {
                      "cursor": "eyJwIjoxLCJ4Ijo4MTUsIm8iOjJ9",
                      "dumps": [
                        {
                          "key": "INV-101",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 790,
                          "values": {
                            "prp_21": "INV-0042",
                            "prp_23": "SUP-7",
                            "prp_25": [
                              {
                                "id": "nob_1",
                                "values": {
                                  "prp_31": 1000.00
                                }
                              },
                              {
                                "id": "nob_2",
                                "issues": [
                                  {
                                    "property": "prp_31",
                                    "reason": "required_missing",
                                    "status": "errored"
                                  }
                                ],
                                "values": {
                                  "prp_31": null
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": "INV-102",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 811,
                          "values": {
                            "prp_21": "INV-0043",
                            "prp_23": "SUP-7",
                            "prp_25": [
                              {
                                "id": "nob_3",
                                "values": {
                                  "prp_31": 300.00
                                }
                              }
                            ]
                          }
                        }
                      ],
                      "referenced": {
                        "SUP-7": {
                          "key": "SUP-7",
                          "schema": "SUP",
                          "status": "okay",
                          "transaction": 702,
                          "values": {
                            "prp_11": "Acme"
                          }
                        }
                      },
                      "transaction": 815
                    }
                  },
                  "select": {
                    "summary": "Two invoices with three of their properties.",
                    "value": {
                      "cursor": "eyJwIjoxLCJ4Ijo4MTUsIm8iOjJ9",
                      "dumps": [
                        {
                          "key": "INV-101",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 790,
                          "values": {
                            "prp_21": "INV-0042",
                            "prp_22": 1250.00,
                            "prp_23": "SUP-7"
                          }
                        },
                        {
                          "key": "INV-102",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 811,
                          "values": {
                            "prp_21": "INV-0043",
                            "prp_22": 300.00,
                            "prp_23": "SUP-9"
                          }
                        }
                      ],
                      "transaction": 815
                    }
                  }
                },
                "schema": {}
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, operator_not_allowed, path_through_list, path_too_deep, sort_not_allowed, property_unknown, field_missing, cursor_invalid, member_not_allowed, transaction_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found, view_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, query_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: option_unknown, dump_not_found, schema_not_found."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Read the dumps of a schema: chosen properties, through references, a page at a time, as of a transaction.",
        "tags": [
          "dumps"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "operator_not_allowed",
            "path_through_list",
            "path_too_deep",
            "sort_not_allowed",
            "property_unknown",
            "field_missing",
            "cursor_invalid",
            "member_not_allowed",
            "transaction_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "query_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found",
            "view_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "option_unknown",
            "dump_not_found",
            "schema_not_found"
          ]
        }
      }
    },
    "/projects/{p}/dumps/query": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /projects/{p}/dumps`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe dumps of one dump schema, a page at a time in the order of creation, deleted ones left out. where narrows them with a tree of conditions (and, or, not; any, all, none and count over lists; paths through to-one references; the system fields key, status, transaction, issues and links; a dump or dump schema named by a key that names none is dump_not_found or schema_not_found, unprocessable); a dump is never kept on the strength of an errored or recalculating value, and skipped says which were left out. sort orders them (ties by the order of creation, empty and untrusted values last). select chooses the properties by identifier, and paths through references and into nested objects (at most 4 steps). A dump reached through a reference is in referenced once, with everything selected of it along any path; referenced holds at most 2,000, and referenced_incomplete says how many it left out. include schema describes each schema reached once. transaction or at pins the read to an older state: schemas, values, statuses and dumps as they were then. Every page states the transaction it reflects; its cursor, sent alone, gives the next page of the same query over the same state. counts adds to every page how many dumps the query keeps (matched) and how many of those have an errored or a recalculating property (errored, recalculating), the same on every page. Each dump of the page has changed: the latest transaction a caller sent that touched it, as of the read (never a recalculation), whose by is a key of actors (a User Agent's name only to its owner; to everyone else it is its owner's agent).",
        "operationId": "dumps.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "filter": {
                  "summary": "Invoices over 100, the largest first; one was left out for an errored total.",
                  "value": {
                    "limit": 2,
                    "schema": "INV",
                    "select": [
                      "prp_21",
                      "prp_22"
                    ],
                    "sort": [
                      {
                        "direction": "desc",
                        "property": "prp_22"
                      }
                    ],
                    "where": {
                      "op": "gt",
                      "property": "prp_22",
                      "value": 100
                    }
                  }
                },
                "include": {
                  "summary": "The same query with the schema included.",
                  "value": {
                    "include": [
                      "schema"
                    ],
                    "limit": 2,
                    "schema": "INV",
                    "select": [
                      "prp_21",
                      "prp_22",
                      "prp_23"
                    ]
                  }
                },
                "references": {
                  "summary": "Selecting through a reference and into nested objects.",
                  "value": {
                    "limit": 2,
                    "schema": "INV",
                    "select": [
                      "prp_21",
                      "prp_23.prp_11",
                      "prp_25.prp_31"
                    ]
                  }
                },
                "select": {
                  "summary": "Two invoices with three of their properties.",
                  "value": {
                    "limit": 2,
                    "schema": "INV",
                    "select": [
                      "prp_21",
                      "prp_22",
                      "prp_23"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/Query.query"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "filter": {
                    "summary": "Invoices over 100, the largest first; one was left out for an errored total.",
                    "value": {
                      "cursor": "eyJwIjoxLCJ4Ijo4MTUsIm8iOjJ9",
                      "dumps": [
                        {
                          "key": "INV-101",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 790,
                          "values": {
                            "prp_21": "INV-0042",
                            "prp_22": 1250.00
                          }
                        },
                        {
                          "key": "INV-102",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 811,
                          "values": {
                            "prp_21": "INV-0043",
                            "prp_22": 300.00
                          }
                        }
                      ],
                      "skipped": {
                        "count": 1,
                        "items": [
                          {
                            "dump": "INV-103",
                            "property": "prp_22",
                            "status": "errored"
                          }
                        ]
                      },
                      "transaction": 815
                    }
                  },
                  "include": {
                    "summary": "The same query with the schema included.",
                    "value": {
                      "cursor": "eyJwIjoxLCJ4Ijo4MTUsIm8iOjJ9",
                      "dumps": [
                        {
                          "key": "INV-101",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 790,
                          "values": {
                            "prp_21": "INV-0042",
                            "prp_22": 1250.00,
                            "prp_23": "SUP-7"
                          }
                        },
                        {
                          "key": "INV-102",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 811,
                          "values": {
                            "prp_21": "INV-0043",
                            "prp_22": 300.00,
                            "prp_23": "SUP-9"
                          }
                        }
                      ],
                      "schemas": {
                        "INV": {
                          "description": "",
                          "key": "INV",
                          "name": "Invoice",
                          "order": [
                            "prp_21",
                            "prp_22",
                            "prp_23"
                          ],
                          "properties": {
                            "prp_21": {
                              "card": "detail",
                              "description": "",
                              "name": "number",
                              "placement": "table",
                              "required": true,
                              "transaction": 640,
                              "type": "plain_text",
                              "when_empty": "show"
                            },
                            "prp_22": {
                              "card": "detail",
                              "description": "",
                              "name": "total",
                              "placement": "table",
                              "required": true,
                              "transaction": 640,
                              "type": "number",
                              "when_empty": "show"
                            },
                            "prp_23": {
                              "card": "detail",
                              "description": "",
                              "name": "supplier",
                              "placement": "table",
                              "required": false,
                              "target": "SUP",
                              "transaction": 640,
                              "type": "reference",
                              "when_empty": "show"
                            }
                          },
                          "sections": [
                            {
                              "after": "prp_23",
                              "placement": "table",
                              "section": "linked_from",
                              "when_empty": "hide"
                            },
                            {
                              "after": "prp_23",
                              "placement": "table",
                              "section": "recent_changes"
                            }
                          ],
                          "transaction": 640,
                          "version": 0
                        }
                      },
                      "transaction": 815
                    }
                  },
                  "references": {
                    "summary": "Selecting through a reference and into nested objects.",
                    "value": {
                      "cursor": "eyJwIjoxLCJ4Ijo4MTUsIm8iOjJ9",
                      "dumps": [
                        {
                          "key": "INV-101",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 790,
                          "values": {
                            "prp_21": "INV-0042",
                            "prp_23": "SUP-7",
                            "prp_25": [
                              {
                                "id": "nob_1",
                                "values": {
                                  "prp_31": 1000.00
                                }
                              },
                              {
                                "id": "nob_2",
                                "issues": [
                                  {
                                    "property": "prp_31",
                                    "reason": "required_missing",
                                    "status": "errored"
                                  }
                                ],
                                "values": {
                                  "prp_31": null
                                }
                              }
                            ]
                          }
                        },
                        {
                          "key": "INV-102",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 811,
                          "values": {
                            "prp_21": "INV-0043",
                            "prp_23": "SUP-7",
                            "prp_25": [
                              {
                                "id": "nob_3",
                                "values": {
                                  "prp_31": 300.00
                                }
                              }
                            ]
                          }
                        }
                      ],
                      "referenced": {
                        "SUP-7": {
                          "key": "SUP-7",
                          "schema": "SUP",
                          "status": "okay",
                          "transaction": 702,
                          "values": {
                            "prp_11": "Acme"
                          }
                        }
                      },
                      "transaction": 815
                    }
                  },
                  "select": {
                    "summary": "Two invoices with three of their properties.",
                    "value": {
                      "cursor": "eyJwIjoxLCJ4Ijo4MTUsIm8iOjJ9",
                      "dumps": [
                        {
                          "key": "INV-101",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 790,
                          "values": {
                            "prp_21": "INV-0042",
                            "prp_22": 1250.00,
                            "prp_23": "SUP-7"
                          }
                        },
                        {
                          "key": "INV-102",
                          "schema": "INV",
                          "status": "okay",
                          "transaction": 811,
                          "values": {
                            "prp_21": "INV-0043",
                            "prp_22": 300.00,
                            "prp_23": "SUP-9"
                          }
                        }
                      ],
                      "transaction": 815
                    }
                  }
                },
                "schema": {}
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, operator_not_allowed, path_through_list, path_too_deep, sort_not_allowed, property_unknown, field_missing, cursor_invalid, member_not_allowed, transaction_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found, view_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, query_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: option_unknown, dump_not_found, schema_not_found."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Read the dumps of a schema: chosen properties, through references, a page at a time, as of a transaction.",
        "tags": [
          "dumps"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-alias-of": "dumps.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "operator_not_allowed",
            "path_through_list",
            "path_too_deep",
            "sort_not_allowed",
            "property_unknown",
            "field_missing",
            "cursor_invalid",
            "member_not_allowed",
            "transaction_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "query_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found",
            "view_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "option_unknown",
            "dump_not_found",
            "schema_not_found"
          ]
        }
      }
    },
    "/projects/{p}/dumps/{d}": {
      "get": {
        "description": "A dump, named in the path by its key, current or old, in any letter case (TASK-5), with the values of its schema's live properties, keyed by identifier: a valid property is its bare value; an errored or recalculating one is null, with an entry in issues (an errored one with its reason and its stored value). A list (multi-select, to-many reference) is an array of identifiers in list order; a list of nested objects is an array of objects in list order, each with its own id, values, issues and links; a to-one nested object is one such object, or null before its first write. A deleted dump is returned too, with status deleted; a dump of a removed schema is not (dump_not_found). The read states the transaction it reflects, the base for a change. transaction or at pins the read to an older state: the dump as it was then, in the schema it was in then (before a move: the old one, with its old values), with the statuses and the deleted state it had then. changed says who last changed it: the latest transaction a caller sent that touched it, as of the read, never a recalculation; its by is a key of actors, which gives that account as an actor (a User Agent's name only to its owner; to everyone else it is its owner's agent). created is the transaction that created the dump, its by a key of actors too; version counts the transactions a caller sent that changed the dump (its creation is 1, a move counts, a recalculation never does), as many as its history lists. Both are as of the read; neither is on the dumps of a list.",
        "operationId": "dumps.get",
        "parameters": [
          {
            "description": "Read as of this transaction (0 to the current one). Absent: now.",
            "in": "query",
            "name": "transaction",
            "required": false,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "description": "Read as of the last transaction recorded at or before this time (RFC 3339). Not together with transaction.",
            "in": "query",
            "name": "at",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "errored": {
                    "summary": "A dump with errored properties.",
                    "value": {
                      "actors": {
                        "agt_12": {
                          "account": "agt_12",
                          "kind": "user_agent",
                          "owner": {
                            "account": "usr_3",
                            "kind": "human",
                            "name": "Hans Pannekoek"
                          }
                        }
                      },
                      "created": {
                        "at": "2026-11-02T09:30:00Z",
                        "by": "agt_12",
                        "transaction": 640
                      },
                      "dump": {
                        "changed": {
                          "at": "2026-11-19T14:00:00Z",
                          "by": "agt_12",
                          "transaction": 810
                        },
                        "issues": [
                          {
                            "property": "prp_22",
                            "reason": "required_missing",
                            "status": "errored"
                          },
                          {
                            "property": "prp_23",
                            "reason": "reference_wrong_schema",
                            "status": "errored",
                            "stored": "SUP-55"
                          }
                        ],
                        "key": "INV-103",
                        "schema": "INV",
                        "status": "okay",
                        "transaction": 812,
                        "values": {
                          "prp_21": "INV-0044",
                          "prp_22": null,
                          "prp_23": null,
                          "prp_24": [
                            "opt_62",
                            "opt_61"
                          ],
                          "prp_25": [
                            {
                              "id": "nob_1",
                              "values": {
                                "prp_31": 1000
                              }
                            },
                            {
                              "id": "nob_2",
                              "values": {
                                "prp_31": 300
                              }
                            }
                          ]
                        }
                      },
                      "transaction": 815,
                      "version": 14
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/DumpRead"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: wrong_type, transaction_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, dump_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, query_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "One dump of a project, now or as of a transaction.",
        "tags": [
          "dumps"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "wrong_type",
            "transaction_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "query_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "dump_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The dump's key, current or old, in any letter case, such as TASK-5.",
          "in": "path",
          "name": "d",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/projects/{p}/dumps/{d}/linked-from": {
      "get": {
        "description": "The live dumps (not deleted, in a schema that is not removed), other than this one, that link to the dump named in the path (by its key, current or old, in any letter case) through a to-one reference, an item of a to-many reference or a link in a rich text, at any depth of nested objects. A link counts while its property is live and its nested object is in its list. Each dump is listed once, by key, label and schema, ordered by schema key, then number; at most 25, with more set when there are more. transaction or at pins the read, as on dumps.get. A dump the project does not have, or a dump of a removed schema, is dump_not_found.",
        "operationId": "dumps.linked-from",
        "parameters": [
          {
            "description": "Read as of this transaction (0 to the current one). Absent: now.",
            "in": "query",
            "name": "transaction",
            "required": false,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "description": "Read as of the last transaction recorded at or before this time (RFC 3339). Not together with transaction.",
            "in": "query",
            "name": "at",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "three": {
                    "summary": "Two invoices and a task link to a supplier.",
                    "value": {
                      "dumps": [
                        {
                          "key": "INV-103",
                          "label": "INV-0044",
                          "schema": "INV"
                        },
                        {
                          "key": "INV-117",
                          "label": "INV-0051",
                          "schema": "INV"
                        },
                        {
                          "key": "TASK-5",
                          "schema": "TASK"
                        }
                      ],
                      "more": false,
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/LinkedFrom"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: wrong_type, transaction_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, dump_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The dumps that link to one dump, now or as of a transaction.",
        "tags": [
          "dumps"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "wrong_type",
            "transaction_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "dump_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The dump's key, current or old, in any letter case, such as TASK-5.",
          "in": "path",
          "name": "d",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/projects/{p}/grants": {
      "get": {
        "description": "The personal grants on the project: who has one, at which tier, whether they are a member of the organization. Everyone with access may read it; addresses are shown to Project Administrators and the Owner only. can_change and can_remove say what the caller may do to each, by the same rule the change itself uses. Group invites are at /projects/{p}/group-invites; the Owner needs no grant. Pages of 50 by account identifier; QUERY the same path with the cursor for the next page.",
        "operationId": "projects.grants.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "An Organization Agent with a Writer grant, as the Owner sees it.",
                    "value": {
                      "grants": [
                        {
                          "account": "agt_7",
                          "can_change": true,
                          "can_remove": true,
                          "disabled": false,
                          "granted_by": "usr_1",
                          "kind": "agent",
                          "member": true,
                          "name": "ledger",
                          "since": "2026-11-20T10:00:00Z",
                          "tier": "writer"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/GrantsPage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The personal grants on a project.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "Agents are never invited by email: an Organization Agent of the project's organization is granted by its identifier, and the grant counts from its next request, because the agent already belongs to the organization. A person is invited by email instead (target_not_agent); a User Agent gets access only from its user. A Project Administrator grants up to developer; only the Owner grants administrator, and only the Owner grants an agent that is an Organization Administrator (tier_too_low naming owner). Granting an agent that has a grant sets its tier, by the same rules. An account that is not an Organization Agent member of the organization is member_not_found. Takes a retry key.",
        "operationId": "projects.grants.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "agent": {
                  "summary": "The Owner grants an Organization Agent Writer.",
                  "value": {
                    "account": "agt_7",
                    "tier": "writer"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewGrant"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "agent": {
                    "summary": "The Owner grants an Organization Agent Writer.",
                    "value": {
                      "account": "agt_7",
                      "can_change": true,
                      "can_remove": true,
                      "disabled": false,
                      "granted_by": "usr_1",
                      "kind": "agent",
                      "member": true,
                      "name": "ledger",
                      "since": "2026-11-20T10:00:00Z",
                      "tier": "writer"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Grant"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, member_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: target_is_self, target_not_agent."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Grant an Organization Agent a tier on the project, by its identifier. Active at once.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "member_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ],
          "unprocessable": [
            "target_is_self",
            "target_not_agent"
          ]
        }
      },
      "query": {
        "description": "The personal grants on the project: who has one, at which tier, whether they are a member of the organization. Everyone with access may read it; addresses are shown to Project Administrators and the Owner only. can_change and can_remove say what the caller may do to each, by the same rule the change itself uses. Group invites are at /projects/{p}/group-invites; the Owner needs no grant. Pages of 50 by account identifier; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "projects.grants.query",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GrantsPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the personal grants on a project.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/projects/{p}/grants/query": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /projects/{p}/grants`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe personal grants on the project: who has one, at which tier, whether they are a member of the organization. Everyone with access may read it; addresses are shown to Project Administrators and the Owner only. can_change and can_remove say what the caller may do to each, by the same rule the change itself uses. Group invites are at /projects/{p}/group-invites; the Owner needs no grant. Pages of 50 by account identifier; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "projects.grants.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GrantsPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the personal grants on a project.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-alias-of": "projects.grants.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/projects/{p}/grants/{account}": {
      "delete": {
        "description": "A Project Administrator removes grants of developer and below; the Owner any but its own. A person may remove their own grant to leave the project; an agent may not remove its own. A group invite may still give the account access: a personal grant only adds to it. Removing a grant ends what its holder delegated to their User Agents on the project at the same moment.",
        "operationId": "projects.grants.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, grant_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: target_is_owner, target_is_self."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Remove an account's personal grant, or leave the project.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "self": "account",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "grant_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "target_is_owner",
            "target_is_self"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The account's identifier: usr_ for a person, agt_ for an Organization Agent, such as agt_7.",
          "in": "path",
          "name": "account",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "description": "A Project Administrator acts on accounts below their own tier: promotes up to developer and demotes developers and below. The Owner acts on every grant up to administrator. Only the Owner raises an Organization Administrator's grant. Nobody changes their own (target_is_self) or the Owner's (target_is_owner). A demotion counts from the account's next request and lowers what it delegated to its User Agents. An account without a personal grant here is grant_not_found, the same as one that does not exist.",
        "operationId": "projects.grants.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "promote": {
                  "summary": "A Writer becomes a Developer.",
                  "value": {
                    "tier": "developer"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/GrantChange"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "promote": {
                    "summary": "A Writer becomes a Developer.",
                    "value": {
                      "account": "usr_2",
                      "can_change": true,
                      "can_remove": true,
                      "disabled": false,
                      "email": "bob@example.com",
                      "granted_by": "usr_1",
                      "kind": "human",
                      "member": true,
                      "name": "bob",
                      "since": "2026-11-20T10:00:00Z",
                      "tier": "developer"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Grant"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, grant_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: target_is_owner, target_is_self."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Promote or demote an account's personal grant.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "grant_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "target_is_owner",
            "target_is_self"
          ]
        }
      }
    },
    "/projects/{p}/group-invites": {
      "get": {
        "description": "For anyone with access. A group invite covers members of the organization only (Organization Administrators included), never non-members, and needs no acceptance. An account's tier is the highest of its personal grant and the group invite that covers it.",
        "operationId": "projects.group-invites.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "readers": {
                    "summary": "Every person in the organization reads; agents need a grant.",
                    "value": {
                      "humans": "reader",
                      "organization_agents": "none"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/GroupInvites"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The project's two group invites: the tier of every human member of the organization, and of every Organization Agent.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "description": "Only the Owner sets group invites (and the Owner's User Agent while it holds the Owner-level privilege); anyone else with access gets tier_too_low naming owner. Each is a tier or none; a member left out keeps its tier. A change counts from the next request of everyone it covers. Lowering one also lowers what the people it covered delegated to their User Agents, for good: it does not come back when the group invite is raised again. Answers both group invites as they are now.",
        "operationId": "projects.group-invites.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "writers": {
                  "summary": "Every person in the organization becomes a Writer.",
                  "value": {
                    "humans": "writer"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/GroupInvitesChange"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "writers": {
                    "summary": "Every person in the organization becomes a Writer.",
                    "value": {
                      "humans": "writer",
                      "organization_agents": "none"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/GroupInvites"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Set the project's group invites. Only the Owner.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "owner"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/invites": {
      "get": {
        "description": "The project's pending invites that have not expired, for Project Administrators and the Owner, with whether the caller may withdraw each, and actors naming who invited. An invite that was accepted, declined, withdrawn or has expired is not listed. Pages of 50, oldest first; QUERY the same path with the cursor for the next page.",
        "operationId": "projects.invites.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "One pending invite.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "ann"
                        }
                      },
                      "invites": [
                        {
                          "can_withdraw": true,
                          "created_at": "2026-11-20T10:00:00Z",
                          "email": "cas@example.com",
                          "expires_at": "2026-12-04T10:00:00Z",
                          "id": "inv_3",
                          "invited_by": "usr_1",
                          "tier": "writer"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/PendingInvitesPage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The project's pending invites.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "For members of the organization and non-members alike. No email is sent: tell the person yourself. Only someone signed in with exactly this verified address (ignoring case) can accept it, on their own account (GET /me/invites); until then it gives no access, and after 14 days it expires. The answer is the same whether or not the address has an account, belongs to a member or was invited before. A new invite to an address replaces its pending invite at the same tier. A Project Administrator invites up to developer; only the Owner invites as administrator. An Organization Administrator accepts only the Owner's invites. Agents are never invited: an Organization Agent is granted by its identifier (POST /projects/{p}/grants). Takes a retry key.",
        "operationId": "projects.invites.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "writer": {
                  "summary": "Invite someone as a Writer.",
                  "value": {
                    "email": "cas@example.com",
                    "tier": "writer"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewProjectInvite"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "writer": {
                    "summary": "Invite someone as a Writer.",
                    "value": {
                      "can_withdraw": true,
                      "created_at": "2026-11-20T10:00:00Z",
                      "email": "cas@example.com",
                      "expires_at": "2026-12-04T10:00:00Z",
                      "id": "inv_3",
                      "invited_by": "usr_1",
                      "tier": "writer"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/PendingInvite"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, email_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, too_many_pending_invites."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Invite a person to the project by email address.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "email_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "too_many_pending_invites"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ]
        }
      },
      "query": {
        "description": "The project's pending invites that have not expired, for Project Administrators and the Owner, with whether the caller may withdraw each, and actors naming who invited. An invite that was accepted, declined, withdrawn or has expired is not listed. Pages of 50, oldest first; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "projects.invites.query",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PendingInvitesPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the project's pending invites.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/projects/{p}/invites/query": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /projects/{p}/invites`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe project's pending invites that have not expired, for Project Administrators and the Owner, with whether the caller may withdraw each, and actors naming who invited. An invite that was accepted, declined, withdrawn or has expired is not listed. Pages of 50, oldest first; limit sets the page size (1 to 500), and the cursor of a page, sent alone, gives the next.",
        "operationId": "projects.invites.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PageQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PendingInvitesPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "A page of the project's pending invites.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-alias-of": "projects.invites.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/projects/{p}/invites/{i}": {
      "delete": {
        "description": "Whoever may give an invite's tier may withdraw it: a Project Administrator withdraws invites up to developer, the Owner any. An invite that was answered, withdrawn already, has expired, or is not this project's is invite_not_found.",
        "operationId": "projects.invites.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, invite_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Withdraw a pending invite to the project.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "administrator"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "invite_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The invite's identifier, such as inv_3.",
          "in": "path",
          "name": "i",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/projects/{p}/people": {
      "get": {
        "description": "The people of the project: every person who can open it now. That is the Owner, each person with a personal grant, and every person who is a member of the organization when the humans group invite gives a tier. Agents and disabled accounts are never listed, and someone who lost access is not listed any more. Everyone with access may read it; addresses are shown to Project Administrators and the Owner only. A person property can name only someone on this list. Pages of 50 by account identifier; QUERY the same path to search by name, resolve identifiers, or get the next page.",
        "operationId": "projects.people.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "two": {
                    "summary": "The Owner and a member, as the Owner sees them.",
                    "value": {
                      "people": [
                        {
                          "account": "usr_1",
                          "email": "ann@example.com",
                          "name": "ann"
                        },
                        {
                          "account": "usr_2",
                          "email": "bob@example.com",
                          "name": "bob"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/PeoplePage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The people of a project.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "query": {
        "description": "The people of the project: every person who can open it now. That is the Owner, each person with a personal grant, and every person who is a member of the organization when the humans group invite gives a tier. Agents and disabled accounts are never listed, and someone who lost access is not listed any more. Everyone with access may read it; addresses are shown to Project Administrators and the Owner only. A person property can name only someone on this list. Pages of 50 by account identifier; q keeps the people whose name contains it, ignoring case; accounts keeps only the identifiers listed (up to 100), and one that is not a person of the project gives no row, whether or not the account exists. limit sets the page size (1 to 500); the cursor of a page carries the rest, so it is sent alone or with limit.",
        "operationId": "projects.people.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "resolve": {
                  "summary": "Names for two identifiers, as a Writer sees them: usr_9 is not a person of the project.",
                  "value": {
                    "accounts": [
                      "usr_2",
                      "usr_9"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/PeopleQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "resolve": {
                    "summary": "Names for two identifiers, as a Writer sees them: usr_9 is not a person of the project.",
                    "value": {
                      "people": [
                        {
                          "account": "usr_2",
                          "name": "bob"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/PeoplePage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Search the people of a project, or resolve identifiers to names.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/projects/{p}/people/query": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /projects/{p}/people`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe people of the project: every person who can open it now. That is the Owner, each person with a personal grant, and every person who is a member of the organization when the humans group invite gives a tier. Agents and disabled accounts are never listed, and someone who lost access is not listed any more. Everyone with access may read it; addresses are shown to Project Administrators and the Owner only. A person property can name only someone on this list. Pages of 50 by account identifier; q keeps the people whose name contains it, ignoring case; accounts keeps only the identifiers listed (up to 100), and one that is not a person of the project gives no row, whether or not the account exists. limit sets the page size (1 to 500); the cursor of a page carries the rest, so it is sent alone or with limit.",
        "operationId": "projects.people.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "resolve": {
                  "summary": "Names for two identifiers, as a Writer sees them: usr_9 is not a person of the project.",
                  "value": {
                    "accounts": [
                      "usr_2",
                      "usr_9"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/PeopleQuery"
              }
            }
          },
          "description": "JSON, at most 16384 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "resolve": {
                    "summary": "Names for two identifiers, as a Writer sees them: usr_9 is not a person of the project.",
                    "value": {
                      "people": [
                        {
                          "account": "usr_2",
                          "name": "bob"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/PeoplePage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Search the people of a project, or resolve identifiers to names.",
        "tags": [
          "projects"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-alias-of": "projects.people.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 16384
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/projects/{p}/presence": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The app sends it every 30 seconds while a project page is visible (presence_heartbeat_seconds in /config.json). A person's call records which dump schema (schema, a key) and shared view (view, an id) their page shows; anything else in them is dropped without an error, and no text is stored. It answers who else is here (present: people whose heartbeat is at most 60 seconds old, then each agent that wrote in the last 5 minutes, at most 50), the project's latest transaction with the account of its latest caller transaction (by), and how many dumps are recalculating. Only accounts that can open the project now are listed. For people: an agent may call it and gets the same answer, but its call is not recorded; an agent is present by writing. It counts against the read budget, takes no retry key and changes no content.",
        "operationId": "presence.heartbeat",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "table": {
                  "summary": "A person on a shared table view of TASK.",
                  "value": {
                    "schema": "TASK",
                    "view": "viw_3"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/Heartbeat"
              }
            }
          },
          "description": "JSON, at most 1024 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "table": {
                    "summary": "A person on a shared table view of TASK.",
                    "value": {
                      "actors": {
                        "agt_12": {
                          "account": "agt_12",
                          "kind": "user_agent",
                          "owner": {
                            "account": "usr_3",
                            "kind": "human",
                            "name": "Hans Pannekoek"
                          }
                        },
                        "usr_3": {
                          "account": "usr_3",
                          "kind": "human",
                          "name": "Hans Pannekoek"
                        },
                        "usr_7": {
                          "account": "usr_7",
                          "kind": "human",
                          "name": "Ans de Vries"
                        }
                      },
                      "by": "usr_7",
                      "present": [
                        {
                          "by": "usr_3",
                          "schema": "TASK",
                          "since": "2026-11-23T10:00:00Z",
                          "view": "viw_3"
                        },
                        {
                          "by": "agt_12",
                          "since": "2026-11-23T10:02:00Z"
                        }
                      ],
                      "recalculating": 0,
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Pulse"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The heartbeat of a project page, for people: who else is here, and the project's latest transaction.",
        "tags": [
          "presence"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "rate_budget": "read",
          "request_bytes": 1024
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/schemas": {
      "get": {
        "description": "The dump schemas of the project, each whole: its properties in order with their types, options, targets and nested schemas. Every property carries its description, the project's instruction for it; read it before writing to the project. Every read states the transaction it reflects, which is the base for a change. Removed schemas, properties and options are left out; QUERY the same path to include them, or to read as of an older transaction.",
        "operationId": "schemas.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "A project with one schema.",
                    "value": {
                      "schemas": [
                        {
                          "description": "One invoice we received.",
                          "key": "INV",
                          "name": "Invoice",
                          "order": [
                            "prp_21",
                            "prp_22",
                            "prp_23",
                            "prp_24",
                            "prp_25"
                          ],
                          "properties": {
                            "prp_21": {
                              "card": "always",
                              "description": "",
                              "group": "Identity",
                              "name": "number",
                              "placement": "table",
                              "required": true,
                              "transaction": 1,
                              "type": "plain_text",
                              "when_empty": "show"
                            },
                            "prp_22": {
                              "card": "detail",
                              "description": "",
                              "name": "total",
                              "placement": "table",
                              "required": true,
                              "transaction": 13,
                              "type": "number",
                              "when_empty": "show"
                            },
                            "prp_23": {
                              "card": "detail",
                              "description": "",
                              "group": "Identity",
                              "name": "supplier",
                              "placement": "table",
                              "required": false,
                              "target": "SUP",
                              "transaction": 1,
                              "type": "reference",
                              "when_empty": "show"
                            },
                            "prp_24": {
                              "card": "detail",
                              "description": "",
                              "name": "tags",
                              "options": [
                                {
                                  "color": "yellow",
                                  "id": "opt_62",
                                  "label": "late"
                                },
                                {
                                  "color": "red",
                                  "id": "opt_61",
                                  "label": "urgent"
                                }
                              ],
                              "placement": "table",
                              "required": false,
                              "transaction": 7,
                              "type": "multi_select",
                              "when_empty": "hide"
                            },
                            "prp_25": {
                              "card": "detail",
                              "description": "",
                              "many": true,
                              "name": "lines",
                              "order": [
                                "prp_31"
                              ],
                              "placement": "body",
                              "properties": {
                                "prp_31": {
                                  "card": "detail",
                                  "description": "",
                                  "name": "amount",
                                  "placement": "table",
                                  "required": false,
                                  "transaction": 1,
                                  "type": "number",
                                  "when_empty": "show"
                                }
                              },
                              "required": false,
                              "transaction": 1,
                              "type": "nested",
                              "when_empty": "show"
                            }
                          },
                          "sections": [
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "linked_from",
                              "when_empty": "hide"
                            },
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "recent_changes"
                            }
                          ],
                          "singular": "Invoice",
                          "title": "prp_21",
                          "transaction": 640,
                          "version": 7
                        }
                      ],
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SchemasPage"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The live dump schemas of a project.",
        "tags": [
          "schemas"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "query": {
        "description": "The dump schemas of the project, each whole: its properties in order with their types, options, targets and nested schemas. Every property carries its description, the project's instruction for it; read it before writing to the project. Every read states the transaction it reflects, which is the base for a change. transaction or at pins the read; removed includes removed schemas, properties and options, marked removed; schemas picks some. counts adds, as of the read, the dumps of each schema that are not deleted (dumps), the highest number given in it (last_number: its keys run from KEY-1 to KEY-<last_number>), and how many dump schemas are not removed (count); without it the answer has none of them.",
        "operationId": "schemas.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "as-of": {
                  "summary": "One schema as of an older transaction.",
                  "value": {
                    "schemas": [
                      "TASK"
                    ],
                    "transaction": 812
                  }
                },
                "counts": {
                  "summary": "Every schema with its counts, as the sidebar shows them.",
                  "value": {
                    "counts": true
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/SchemasQuery"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "as-of": {
                    "summary": "One schema as of an older transaction.",
                    "value": {
                      "schemas": [
                        {
                          "description": "One invoice we received.",
                          "key": "INV",
                          "name": "Invoice",
                          "order": [
                            "prp_21",
                            "prp_22",
                            "prp_23",
                            "prp_24",
                            "prp_25"
                          ],
                          "properties": {
                            "prp_21": {
                              "card": "always",
                              "description": "",
                              "group": "Identity",
                              "name": "number",
                              "placement": "table",
                              "required": true,
                              "transaction": 1,
                              "type": "plain_text",
                              "when_empty": "show"
                            },
                            "prp_22": {
                              "card": "detail",
                              "description": "",
                              "name": "total",
                              "placement": "table",
                              "required": true,
                              "transaction": 13,
                              "type": "number",
                              "when_empty": "show"
                            },
                            "prp_23": {
                              "card": "detail",
                              "description": "",
                              "group": "Identity",
                              "name": "supplier",
                              "placement": "table",
                              "required": false,
                              "target": "SUP",
                              "transaction": 1,
                              "type": "reference",
                              "when_empty": "show"
                            },
                            "prp_24": {
                              "card": "detail",
                              "description": "",
                              "name": "tags",
                              "options": [
                                {
                                  "color": "yellow",
                                  "id": "opt_62",
                                  "label": "late"
                                },
                                {
                                  "color": "red",
                                  "id": "opt_61",
                                  "label": "urgent"
                                }
                              ],
                              "placement": "table",
                              "required": false,
                              "transaction": 7,
                              "type": "multi_select",
                              "when_empty": "hide"
                            },
                            "prp_25": {
                              "card": "detail",
                              "description": "",
                              "many": true,
                              "name": "lines",
                              "order": [
                                "prp_31"
                              ],
                              "placement": "body",
                              "properties": {
                                "prp_31": {
                                  "card": "detail",
                                  "description": "",
                                  "name": "amount",
                                  "placement": "table",
                                  "required": false,
                                  "transaction": 1,
                                  "type": "number",
                                  "when_empty": "show"
                                }
                              },
                              "required": false,
                              "transaction": 1,
                              "type": "nested",
                              "when_empty": "show"
                            }
                          },
                          "sections": [
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "linked_from",
                              "when_empty": "hide"
                            },
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "recent_changes"
                            }
                          ],
                          "singular": "Invoice",
                          "title": "prp_21",
                          "transaction": 640,
                          "version": 7
                        }
                      ],
                      "transaction": 812
                    }
                  },
                  "counts": {
                    "summary": "Every schema with its counts, as the sidebar shows them.",
                    "value": {
                      "count": 1,
                      "schemas": [
                        {
                          "description": "One invoice we received.",
                          "dumps": 12,
                          "key": "INV",
                          "last_number": 14,
                          "name": "Invoice",
                          "order": [
                            "prp_21",
                            "prp_22",
                            "prp_23",
                            "prp_24",
                            "prp_25"
                          ],
                          "properties": {
                            "prp_21": {
                              "card": "always",
                              "description": "",
                              "group": "Identity",
                              "name": "number",
                              "placement": "table",
                              "required": true,
                              "transaction": 1,
                              "type": "plain_text",
                              "when_empty": "show"
                            },
                            "prp_22": {
                              "card": "detail",
                              "description": "",
                              "name": "total",
                              "placement": "table",
                              "required": true,
                              "transaction": 13,
                              "type": "number",
                              "when_empty": "show"
                            },
                            "prp_23": {
                              "card": "detail",
                              "description": "",
                              "group": "Identity",
                              "name": "supplier",
                              "placement": "table",
                              "required": false,
                              "target": "SUP",
                              "transaction": 1,
                              "type": "reference",
                              "when_empty": "show"
                            },
                            "prp_24": {
                              "card": "detail",
                              "description": "",
                              "name": "tags",
                              "options": [
                                {
                                  "color": "yellow",
                                  "id": "opt_62",
                                  "label": "late"
                                },
                                {
                                  "color": "red",
                                  "id": "opt_61",
                                  "label": "urgent"
                                }
                              ],
                              "placement": "table",
                              "required": false,
                              "transaction": 7,
                              "type": "multi_select",
                              "when_empty": "hide"
                            },
                            "prp_25": {
                              "card": "detail",
                              "description": "",
                              "many": true,
                              "name": "lines",
                              "order": [
                                "prp_31"
                              ],
                              "placement": "body",
                              "properties": {
                                "prp_31": {
                                  "card": "detail",
                                  "description": "",
                                  "name": "amount",
                                  "placement": "table",
                                  "required": false,
                                  "transaction": 1,
                                  "type": "number",
                                  "when_empty": "show"
                                }
                              },
                              "required": false,
                              "transaction": 1,
                              "type": "nested",
                              "when_empty": "show"
                            }
                          },
                          "sections": [
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "linked_from",
                              "when_empty": "hide"
                            },
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "recent_changes"
                            }
                          ],
                          "singular": "Invoice",
                          "title": "prp_21",
                          "transaction": 640,
                          "version": 7
                        }
                      ],
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SchemasPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, transaction_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The dump schemas of a project, as of a transaction, with removed ones if asked.",
        "tags": [
          "schemas"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "transaction_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/schemas/query": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /projects/{p}/schemas`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe dump schemas of the project, each whole: its properties in order with their types, options, targets and nested schemas. Every property carries its description, the project's instruction for it; read it before writing to the project. Every read states the transaction it reflects, which is the base for a change. transaction or at pins the read; removed includes removed schemas, properties and options, marked removed; schemas picks some. counts adds, as of the read, the dumps of each schema that are not deleted (dumps), the highest number given in it (last_number: its keys run from KEY-1 to KEY-<last_number>), and how many dump schemas are not removed (count); without it the answer has none of them.",
        "operationId": "schemas.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "as-of": {
                  "summary": "One schema as of an older transaction.",
                  "value": {
                    "schemas": [
                      "TASK"
                    ],
                    "transaction": 812
                  }
                },
                "counts": {
                  "summary": "Every schema with its counts, as the sidebar shows them.",
                  "value": {
                    "counts": true
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/SchemasQuery"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "as-of": {
                    "summary": "One schema as of an older transaction.",
                    "value": {
                      "schemas": [
                        {
                          "description": "One invoice we received.",
                          "key": "INV",
                          "name": "Invoice",
                          "order": [
                            "prp_21",
                            "prp_22",
                            "prp_23",
                            "prp_24",
                            "prp_25"
                          ],
                          "properties": {
                            "prp_21": {
                              "card": "always",
                              "description": "",
                              "group": "Identity",
                              "name": "number",
                              "placement": "table",
                              "required": true,
                              "transaction": 1,
                              "type": "plain_text",
                              "when_empty": "show"
                            },
                            "prp_22": {
                              "card": "detail",
                              "description": "",
                              "name": "total",
                              "placement": "table",
                              "required": true,
                              "transaction": 13,
                              "type": "number",
                              "when_empty": "show"
                            },
                            "prp_23": {
                              "card": "detail",
                              "description": "",
                              "group": "Identity",
                              "name": "supplier",
                              "placement": "table",
                              "required": false,
                              "target": "SUP",
                              "transaction": 1,
                              "type": "reference",
                              "when_empty": "show"
                            },
                            "prp_24": {
                              "card": "detail",
                              "description": "",
                              "name": "tags",
                              "options": [
                                {
                                  "color": "yellow",
                                  "id": "opt_62",
                                  "label": "late"
                                },
                                {
                                  "color": "red",
                                  "id": "opt_61",
                                  "label": "urgent"
                                }
                              ],
                              "placement": "table",
                              "required": false,
                              "transaction": 7,
                              "type": "multi_select",
                              "when_empty": "hide"
                            },
                            "prp_25": {
                              "card": "detail",
                              "description": "",
                              "many": true,
                              "name": "lines",
                              "order": [
                                "prp_31"
                              ],
                              "placement": "body",
                              "properties": {
                                "prp_31": {
                                  "card": "detail",
                                  "description": "",
                                  "name": "amount",
                                  "placement": "table",
                                  "required": false,
                                  "transaction": 1,
                                  "type": "number",
                                  "when_empty": "show"
                                }
                              },
                              "required": false,
                              "transaction": 1,
                              "type": "nested",
                              "when_empty": "show"
                            }
                          },
                          "sections": [
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "linked_from",
                              "when_empty": "hide"
                            },
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "recent_changes"
                            }
                          ],
                          "singular": "Invoice",
                          "title": "prp_21",
                          "transaction": 640,
                          "version": 7
                        }
                      ],
                      "transaction": 812
                    }
                  },
                  "counts": {
                    "summary": "Every schema with its counts, as the sidebar shows them.",
                    "value": {
                      "count": 1,
                      "schemas": [
                        {
                          "description": "One invoice we received.",
                          "dumps": 12,
                          "key": "INV",
                          "last_number": 14,
                          "name": "Invoice",
                          "order": [
                            "prp_21",
                            "prp_22",
                            "prp_23",
                            "prp_24",
                            "prp_25"
                          ],
                          "properties": {
                            "prp_21": {
                              "card": "always",
                              "description": "",
                              "group": "Identity",
                              "name": "number",
                              "placement": "table",
                              "required": true,
                              "transaction": 1,
                              "type": "plain_text",
                              "when_empty": "show"
                            },
                            "prp_22": {
                              "card": "detail",
                              "description": "",
                              "name": "total",
                              "placement": "table",
                              "required": true,
                              "transaction": 13,
                              "type": "number",
                              "when_empty": "show"
                            },
                            "prp_23": {
                              "card": "detail",
                              "description": "",
                              "group": "Identity",
                              "name": "supplier",
                              "placement": "table",
                              "required": false,
                              "target": "SUP",
                              "transaction": 1,
                              "type": "reference",
                              "when_empty": "show"
                            },
                            "prp_24": {
                              "card": "detail",
                              "description": "",
                              "name": "tags",
                              "options": [
                                {
                                  "color": "yellow",
                                  "id": "opt_62",
                                  "label": "late"
                                },
                                {
                                  "color": "red",
                                  "id": "opt_61",
                                  "label": "urgent"
                                }
                              ],
                              "placement": "table",
                              "required": false,
                              "transaction": 7,
                              "type": "multi_select",
                              "when_empty": "hide"
                            },
                            "prp_25": {
                              "card": "detail",
                              "description": "",
                              "many": true,
                              "name": "lines",
                              "order": [
                                "prp_31"
                              ],
                              "placement": "body",
                              "properties": {
                                "prp_31": {
                                  "card": "detail",
                                  "description": "",
                                  "name": "amount",
                                  "placement": "table",
                                  "required": false,
                                  "transaction": 1,
                                  "type": "number",
                                  "when_empty": "show"
                                }
                              },
                              "required": false,
                              "transaction": 1,
                              "type": "nested",
                              "when_empty": "show"
                            }
                          },
                          "sections": [
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "linked_from",
                              "when_empty": "hide"
                            },
                            {
                              "after": "prp_25",
                              "placement": "table",
                              "section": "recent_changes"
                            }
                          ],
                          "singular": "Invoice",
                          "title": "prp_21",
                          "transaction": 640,
                          "version": 7
                        }
                      ],
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SchemasPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, transaction_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The dump schemas of a project, as of a transaction, with removed ones if asked.",
        "tags": [
          "schemas"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-alias-of": "schemas.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "transaction_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/schemas/{s}": {
      "get": {
        "description": "A dump schema now, with its live properties, options and nested schemas. Every property carries its description, the project's instruction for it; read it before writing to the project. A removed schema is returned too, marked removed. A nested schema is part of its dump schema and is not read on its own (schema_not_found). include=issues adds to each live property its issues over the schema's live dumps (counted on request, never on a schema list); include=used_by adds to each live property the live properties of the project whose formula or rules read it (never on a schema list). Both may be asked for: include=issues,used_by.",
        "operationId": "schemas.get",
        "parameters": [
          {
            "description": "issues: give each live property, nested ones too, its issues over the schema's live dumps: errored (with reasons, by reason code) and recalculating, counted in dumps as the system field issues finds them. Above 10,000 live dumps (limits.IssueCountDumps) each property says checked: false instead. used_by: give each live property, nested ones too, used_by: every live property of a live schema of the project whose formula (in: formula) or one of whose rules (in: rule) reads it, directly or through a reference or a nested object (every step of a path counts), by its dump schema's key, the path of nested properties down to its schema, and its identifier. One entry per reader and in; a property's own rules are left out. issues and used_by combine as a comma list.",
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "invoice": {
                    "summary": "An invoice schema.",
                    "value": {
                      "schema": {
                        "description": "One invoice we received.",
                        "key": "INV",
                        "name": "Invoice",
                        "order": [
                          "prp_21",
                          "prp_22",
                          "prp_23",
                          "prp_24",
                          "prp_25"
                        ],
                        "properties": {
                          "prp_21": {
                            "card": "always",
                            "description": "",
                            "group": "Identity",
                            "name": "number",
                            "placement": "table",
                            "required": true,
                            "transaction": 1,
                            "type": "plain_text",
                            "when_empty": "show"
                          },
                          "prp_22": {
                            "card": "detail",
                            "description": "",
                            "name": "total",
                            "placement": "table",
                            "required": true,
                            "transaction": 13,
                            "type": "number",
                            "when_empty": "show"
                          },
                          "prp_23": {
                            "card": "detail",
                            "description": "",
                            "group": "Identity",
                            "name": "supplier",
                            "placement": "table",
                            "required": false,
                            "target": "SUP",
                            "transaction": 1,
                            "type": "reference",
                            "when_empty": "show"
                          },
                          "prp_24": {
                            "card": "detail",
                            "description": "",
                            "name": "tags",
                            "options": [
                              {
                                "color": "yellow",
                                "id": "opt_62",
                                "label": "late"
                              },
                              {
                                "color": "red",
                                "id": "opt_61",
                                "label": "urgent"
                              }
                            ],
                            "placement": "table",
                            "required": false,
                            "transaction": 7,
                            "type": "multi_select",
                            "when_empty": "hide"
                          },
                          "prp_25": {
                            "card": "detail",
                            "description": "",
                            "many": true,
                            "name": "lines",
                            "order": [
                              "prp_31"
                            ],
                            "placement": "body",
                            "properties": {
                              "prp_31": {
                                "card": "detail",
                                "description": "",
                                "name": "amount",
                                "placement": "table",
                                "required": false,
                                "transaction": 1,
                                "type": "number",
                                "when_empty": "show"
                              }
                            },
                            "required": false,
                            "transaction": 1,
                            "type": "nested",
                            "when_empty": "show"
                          }
                        },
                        "sections": [
                          {
                            "after": "prp_25",
                            "placement": "table",
                            "section": "linked_from",
                            "when_empty": "hide"
                          },
                          {
                            "after": "prp_25",
                            "placement": "table",
                            "section": "recent_changes"
                          }
                        ],
                        "singular": "Invoice",
                        "title": "prp_21",
                        "transaction": 640,
                        "version": 7
                      },
                      "transaction": 815
                    }
                  },
                  "issues": {
                    "summary": "With include=issues: one invoice has no number.",
                    "value": {
                      "schema": {
                        "description": "One invoice we received.",
                        "key": "INV",
                        "name": "Invoice",
                        "order": [
                          "prp_21",
                          "prp_22",
                          "prp_23",
                          "prp_24",
                          "prp_25"
                        ],
                        "properties": {
                          "prp_21": {
                            "card": "always",
                            "description": "",
                            "group": "Identity",
                            "issues": {
                              "checked": true,
                              "errored": 1,
                              "reasons": {
                                "required_missing": 1
                              },
                              "recalculating": 0
                            },
                            "name": "number",
                            "placement": "table",
                            "required": true,
                            "transaction": 1,
                            "type": "plain_text",
                            "when_empty": "show"
                          },
                          "prp_22": {
                            "card": "detail",
                            "description": "",
                            "issues": {
                              "checked": true,
                              "errored": 0,
                              "recalculating": 0
                            },
                            "name": "total",
                            "placement": "table",
                            "required": true,
                            "transaction": 13,
                            "type": "number",
                            "when_empty": "show"
                          },
                          "prp_23": {
                            "card": "detail",
                            "description": "",
                            "group": "Identity",
                            "issues": {
                              "checked": true,
                              "errored": 0,
                              "recalculating": 0
                            },
                            "name": "supplier",
                            "placement": "table",
                            "required": false,
                            "target": "SUP",
                            "transaction": 1,
                            "type": "reference",
                            "when_empty": "show"
                          },
                          "prp_24": {
                            "card": "detail",
                            "description": "",
                            "issues": {
                              "checked": true,
                              "errored": 0,
                              "recalculating": 0
                            },
                            "name": "tags",
                            "options": [
                              {
                                "color": "yellow",
                                "id": "opt_62",
                                "label": "late"
                              },
                              {
                                "color": "red",
                                "id": "opt_61",
                                "label": "urgent"
                              }
                            ],
                            "placement": "table",
                            "required": false,
                            "transaction": 7,
                            "type": "multi_select",
                            "when_empty": "hide"
                          },
                          "prp_25": {
                            "card": "detail",
                            "description": "",
                            "issues": {
                              "checked": true,
                              "errored": 0,
                              "recalculating": 0
                            },
                            "many": true,
                            "name": "lines",
                            "order": [
                              "prp_31"
                            ],
                            "placement": "body",
                            "properties": {
                              "prp_31": {
                                "card": "detail",
                                "description": "",
                                "issues": {
                                  "checked": true,
                                  "errored": 0,
                                  "recalculating": 0
                                },
                                "name": "amount",
                                "placement": "table",
                                "required": false,
                                "transaction": 1,
                                "type": "number",
                                "when_empty": "show"
                              }
                            },
                            "required": false,
                            "transaction": 1,
                            "type": "nested",
                            "when_empty": "show"
                          }
                        },
                        "sections": [
                          {
                            "after": "prp_25",
                            "placement": "table",
                            "section": "linked_from",
                            "when_empty": "hide"
                          },
                          {
                            "after": "prp_25",
                            "placement": "table",
                            "section": "recent_changes"
                          }
                        ],
                        "singular": "Invoice",
                        "title": "prp_21",
                        "transaction": 640,
                        "version": 7
                      },
                      "transaction": 815
                    }
                  },
                  "used-by": {
                    "summary": "With include=used_by: the amount of an invoice line is read by a formula of the invoice and by a rule of a payment.",
                    "value": {
                      "schema": {
                        "description": "One invoice we received.",
                        "key": "INV",
                        "name": "Invoice",
                        "order": [
                          "prp_21",
                          "prp_22",
                          "prp_23",
                          "prp_24",
                          "prp_25"
                        ],
                        "properties": {
                          "prp_21": {
                            "card": "always",
                            "description": "",
                            "group": "Identity",
                            "name": "number",
                            "placement": "table",
                            "required": true,
                            "transaction": 1,
                            "type": "plain_text",
                            "used_by": [],
                            "when_empty": "show"
                          },
                          "prp_22": {
                            "card": "detail",
                            "description": "",
                            "name": "total",
                            "placement": "table",
                            "required": true,
                            "transaction": 13,
                            "type": "number",
                            "used_by": [],
                            "when_empty": "show"
                          },
                          "prp_23": {
                            "card": "detail",
                            "description": "",
                            "group": "Identity",
                            "name": "supplier",
                            "placement": "table",
                            "required": false,
                            "target": "SUP",
                            "transaction": 1,
                            "type": "reference",
                            "used_by": [],
                            "when_empty": "show"
                          },
                          "prp_24": {
                            "card": "detail",
                            "description": "",
                            "name": "tags",
                            "options": [
                              {
                                "color": "yellow",
                                "id": "opt_62",
                                "label": "late"
                              },
                              {
                                "color": "red",
                                "id": "opt_61",
                                "label": "urgent"
                              }
                            ],
                            "placement": "table",
                            "required": false,
                            "transaction": 7,
                            "type": "multi_select",
                            "used_by": [],
                            "when_empty": "hide"
                          },
                          "prp_25": {
                            "card": "detail",
                            "description": "",
                            "many": true,
                            "name": "lines",
                            "order": [
                              "prp_31"
                            ],
                            "placement": "body",
                            "properties": {
                              "prp_31": {
                                "card": "detail",
                                "description": "",
                                "name": "amount",
                                "placement": "table",
                                "required": false,
                                "transaction": 1,
                                "type": "number",
                                "used_by": [
                                  {
                                    "in": "formula",
                                    "property": "prp_22",
                                    "schema": "INV"
                                  },
                                  {
                                    "in": "rule",
                                    "property": "prp_41",
                                    "schema": "PAY"
                                  }
                                ],
                                "when_empty": "show"
                              }
                            },
                            "required": false,
                            "transaction": 1,
                            "type": "nested",
                            "used_by": [
                              {
                                "in": "formula",
                                "property": "prp_22",
                                "schema": "INV"
                              },
                              {
                                "in": "rule",
                                "property": "prp_41",
                                "schema": "PAY"
                              }
                            ],
                            "when_empty": "show"
                          }
                        },
                        "sections": [
                          {
                            "after": "prp_25",
                            "placement": "table",
                            "section": "linked_from",
                            "when_empty": "hide"
                          },
                          {
                            "after": "prp_25",
                            "placement": "table",
                            "section": "recent_changes"
                          }
                        ],
                        "singular": "Invoice",
                        "title": "prp_21",
                        "transaction": 640,
                        "version": 7
                      },
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SchemaRead"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "One dump schema of a project, whole.",
        "tags": [
          "schemas"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The dump schema's key, current or old, in any letter case, such as TASK.",
          "in": "path",
          "name": "s",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/projects/{p}/search": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "query": {
        "description": "Full-text search over the current plain-text and rich-text values of the project's live dumps, their nested objects' included: every word of q must be in one value, the last as the start of a word, ignoring letter case; punctuation separates words. Each result is a dump's key, its schema's key and up to 3 matching values, each with a plain-text snippet and the offsets of the matched words. Results are ranked, best first; a q that is exactly a dump's key answers that dump first. Deleted dumps, removed schemas and properties, and nested objects that left their list are never found. Only the start of a long value is read (65,536 characters). Search reads the project as it is now: transaction and at are refused (member_not_allowed), and a later page reads the project as it is then.",
        "operationId": "search.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "words": {
                  "summary": "Two words, the last as a prefix.",
                  "value": {
                    "q": "invoice acm"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/SearchQuery"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "words": {
                    "summary": "Two words, the last as a prefix.",
                    "value": {
                      "results": [
                        {
                          "dump": "INV-103",
                          "matches": [
                            {
                              "marks": [
                                [
                                  0,
                                  7
                                ],
                                [
                                  12,
                                  16
                                ]
                              ],
                              "property": "prp_21",
                              "text": "Invoice for ACME, March"
                            }
                          ],
                          "schema": "INV"
                        }
                      ],
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SearchPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, cursor_invalid, member_not_allowed, search_text_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Find the dumps of a project by the words in their text.",
        "tags": [
          "search"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "cursor_invalid",
            "member_not_allowed",
            "search_text_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/search/query": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /projects/{p}/search`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nFull-text search over the current plain-text and rich-text values of the project's live dumps, their nested objects' included: every word of q must be in one value, the last as the start of a word, ignoring letter case; punctuation separates words. Each result is a dump's key, its schema's key and up to 3 matching values, each with a plain-text snippet and the offsets of the matched words. Results are ranked, best first; a q that is exactly a dump's key answers that dump first. Deleted dumps, removed schemas and properties, and nested objects that left their list are never found. Only the start of a long value is read (65,536 characters). Search reads the project as it is now: transaction and at are refused (member_not_allowed), and a later page reads the project as it is then.",
        "operationId": "search.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "words": {
                  "summary": "Two words, the last as a prefix.",
                  "value": {
                    "q": "invoice acm"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/SearchQuery"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "words": {
                    "summary": "Two words, the last as a prefix.",
                    "value": {
                      "results": [
                        {
                          "dump": "INV-103",
                          "matches": [
                            {
                              "marks": [
                                [
                                  0,
                                  7
                                ],
                                [
                                  12,
                                  16
                                ]
                              ],
                              "property": "prp_21",
                              "text": "Invoice for ACME, March"
                            }
                          ],
                          "schema": "INV"
                        }
                      ],
                      "transaction": 815
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SearchPage"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, cursor_invalid, member_not_allowed, search_text_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Find the dumps of a project by the words in their text.",
        "tags": [
          "search"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-alias-of": "search.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "cursor_invalid",
            "member_not_allowed",
            "search_text_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/transactions": {
      "get": {
        "description": "The transactions of the project, newest first, a page at a time: each with its account, its recording time, its kind (caller, or background for recalculations, which are left out unless include_background) and whether it was a forced overwrite, and what it changed: for every property value the new value and the transaction that held the previous one (a text of more than 10 KB is marked value_omitted: read it pinned to the transaction), and the dumps, list items, schemas and properties it changed. Each has by, its account or system for background work, a key of the page's actors (a User Agent's name only to its owner; to everyone else it is its owner's agent). This is the first page of the default query; QUERY the same path to go since a transaction, narrow it or page on.",
        "operationId": "transactions.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "latest": {
                    "summary": "One transaction.",
                    "value": {
                      "actors": {
                        "usr_7": {
                          "account": "usr_7",
                          "kind": "human",
                          "name": "Ans de Vries"
                        }
                      },
                      "transaction": 815,
                      "transactions": [
                        {
                          "account": "usr_7",
                          "by": "usr_7",
                          "forced": false,
                          "kind": "caller",
                          "number": 812,
                          "recorded_at": "2026-11-19T14:00:00Z",
                          "values": [
                            {
                              "dump": "INV-103",
                              "previous": 640,
                              "property": "prp_21",
                              "value": "INV-0044"
                            }
                          ]
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Page"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The latest transactions of a project, with what they changed.",
        "tags": [
          "transactions"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The one way to write versioned content: schemas, dumps and their values. The operations are applied in order and stored all together under one new transaction number, or not at all. Every operation is checked: its tier (one refusal refuses everything), its content, and conflicts with changes since base; every problem is reported at once. An operation that creates something can name it with \"ref\", and a later operation uses that name as \"$name\" wherever an identifier goes. Needs a retry key: a repeat with the same key and body returns the first answer, for 24 hours. The operations:\n- dump.create (writer): Create a dump in a dump schema, with its values. Needs no base. A value that breaks a validation rule is stored and reported in issues.\n- dump.delete (writer): Delete a dump: a soft delete, versioned like a value; dump.undelete brings it back. Conflicts with any change to the dump since the base (dump_changed), which cannot be forced. Deleting a deleted dump changes nothing.\n- dump.move (writer): Move a dump to another dump schema, mapping its properties to the target's. Never blocked by a validation rule: what is left unfilled is errored. A mapped value that cannot be the target's type is converted as a type change converts it, or needs a resolution (resolution_required). Conflicts with any change to the dump since the base (dump_changed), which cannot be forced; a later write based on before the move is invalid (property_not_in_schema). The result says how many references to the dump become errored (inbound_errored).\n- dump.undelete (writer): Undelete a deleted dump, with the values it had. Conflicts with any change to the dump since the base (dump_changed), which cannot be forced. Undeleting a dump that is not deleted changes nothing.\n- dump.update (writer): Change values of a dump. Conflicts only when a value it writes changed since the base (value_changed), or with strict, when any value or list of the dump did (strict_changed); force overwrites and is recorded. Lists change item by item (list): adds and removes conflict only over the same item, a move only with another reorder (list_reordered).\n- property.restore (developer): Restore a removed property, at any depth, and with it its values. Its name must be free among the live properties of its schema. Conflicts with any change to its dump schema since the base.\n- schema.create (developer): Create a dump schema with its properties, and its key (made from its name when absent). Needs no base. A reference property may point at the new schema itself through its ref.\n- schema.remove (developer): Remove a dump schema: it and its dumps leave current reads, and nothing is deleted. Conflicts with any change to the schema since the base.\n- schema.restore (developer): Restore a removed dump schema, and with it its dumps. Conflicts with any change to the schema since the base.\n- schema.update (developer): Change a dump schema: its name, key and description, and add, change, reorder and remove properties and options, at any depth of nested schemas, and place its page sections. Conflicts with any change to the schema since the base.",
        "operationId": "transactions.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Input"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, base_missing, retry_key_missing, field_missing, name_invalid, operation_unknown, operations_empty, ref_taken, base_invalid, member_not_allowed, property_mapped_twice, schema_key_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, dump_not_found, schema_not_found, property_not_found, nested_object_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "conflict: value_changed, dump_changed, schema_changed, list_reordered, strict_changed. retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: too_many_operations, request_too_large, value_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: value_not_representable, option_unknown, dump_deleted, property_not_in_schema, resolution_required, too_many_values, ref_unknown, name_taken, schema_removed, same_schema, schema_key_taken, reference_missing, link_target_missing, person_not_found."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Write to a project: a list of operations, applied all together or not at all.",
        "tags": [
          "transactions"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "writer"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "conflict": [
            "value_changed",
            "dump_changed",
            "schema_changed",
            "list_reordered",
            "strict_changed"
          ],
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "base_missing",
            "retry_key_missing",
            "field_missing",
            "name_invalid",
            "operation_unknown",
            "operations_empty",
            "ref_taken",
            "base_invalid",
            "member_not_allowed",
            "property_mapped_twice",
            "schema_key_invalid"
          ],
          "limit-exceeded": [
            "too_many_operations",
            "request_too_large",
            "value_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "dump_not_found",
            "schema_not_found",
            "property_not_found",
            "nested_object_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ],
          "unprocessable": [
            "value_not_representable",
            "option_unknown",
            "dump_deleted",
            "property_not_in_schema",
            "resolution_required",
            "too_many_values",
            "ref_unknown",
            "name_taken",
            "schema_removed",
            "same_schema",
            "schema_key_taken",
            "reference_missing",
            "link_target_missing",
            "person_not_found"
          ]
        }
      },
      "query": {
        "description": "The transactions of the project, newest first, a page at a time: each with its account, its recording time, its kind (caller, or background for recalculations, which are left out unless include_background) and whether it was a forced overwrite, and what it changed: for every property value the new value and the transaction that held the previous one (a text of more than 10 KB is marked value_omitted: read it pinned to the transaction), and the dumps, list items, schemas and properties it changed. Each has by, its account or system for background work, a key of the page's actors (a User Agent's name only to its owner; to everyone else it is its owner's agent). since keeps the transactions after it; dump, property, schema and account narrow them (and their changes) to one thing: the history of that thing. With schema, include_dumps also gives the changes of the dumps that were in it at the time. A cursor, sent alone, gives the next, older page of the same query.",
        "operationId": "transactions.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "feed": {
                  "summary": "Everything since transaction 811.",
                  "value": {
                    "since": 811
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/Query.history"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "feed": {
                    "summary": "Everything since transaction 811.",
                    "value": {
                      "actors": {
                        "usr_7": {
                          "account": "usr_7",
                          "kind": "human",
                          "name": "Ans de Vries"
                        }
                      },
                      "transaction": 815,
                      "transactions": [
                        {
                          "account": "usr_7",
                          "by": "usr_7",
                          "forced": false,
                          "kind": "caller",
                          "number": 812,
                          "recorded_at": "2026-11-19T14:00:00Z",
                          "values": [
                            {
                              "dump": "INV-103",
                              "previous": 640,
                              "property": "prp_21",
                              "value": "INV-0044"
                            }
                          ]
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Page"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid, member_not_allowed, transaction_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, dump_not_found, schema_not_found, property_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The transactions since a transaction, newest first, narrowed to a dump, property, schema or account.",
        "tags": [
          "transactions"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid",
            "member_not_allowed",
            "transaction_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "dump_not_found",
            "schema_not_found",
            "property_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/transactions/preview": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "A dry run of a transaction: the same body as POST /projects/{p}/transactions, worked out as that write would be now and then rolled back. Nothing is stored: no transaction number is used, nothing enters the history, no background work is queued. It is refused exactly as the write would be (tiers, an invalid or stale base, conflicts, invalid content), with one exception: groups of values that a type change cannot convert (resolution_required) are listed in preview.properties[].resolutions instead, and the dry run goes on as if they were cleared. The answer has, first, the descriptions of the schemas and properties the transaction touches: the project's instructions for them, to read before the write. Then the results the write would have and, per changed property, how many values convert, how many dumps would be errored and why, and how many fail each rule, as the background work would settle them; above a number of dumps, or when that work would hold the project's lock too long, those counts are left out (checked: false), and statuses: false leaves them out on purpose (the light preview). It holds the project's lock while it runs, like a write. No retry key. The operations:\n- dump.create (writer): Create a dump in a dump schema, with its values. Needs no base. A value that breaks a validation rule is stored and reported in issues.\n- dump.delete (writer): Delete a dump: a soft delete, versioned like a value; dump.undelete brings it back. Conflicts with any change to the dump since the base (dump_changed), which cannot be forced. Deleting a deleted dump changes nothing.\n- dump.move (writer): Move a dump to another dump schema, mapping its properties to the target's. Never blocked by a validation rule: what is left unfilled is errored. A mapped value that cannot be the target's type is converted as a type change converts it, or needs a resolution (resolution_required). Conflicts with any change to the dump since the base (dump_changed), which cannot be forced; a later write based on before the move is invalid (property_not_in_schema). The result says how many references to the dump become errored (inbound_errored).\n- dump.undelete (writer): Undelete a deleted dump, with the values it had. Conflicts with any change to the dump since the base (dump_changed), which cannot be forced. Undeleting a dump that is not deleted changes nothing.\n- dump.update (writer): Change values of a dump. Conflicts only when a value it writes changed since the base (value_changed), or with strict, when any value or list of the dump did (strict_changed); force overwrites and is recorded. Lists change item by item (list): adds and removes conflict only over the same item, a move only with another reorder (list_reordered).\n- property.restore (developer): Restore a removed property, at any depth, and with it its values. Its name must be free among the live properties of its schema. Conflicts with any change to its dump schema since the base.\n- schema.create (developer): Create a dump schema with its properties, and its key (made from its name when absent). Needs no base. A reference property may point at the new schema itself through its ref.\n- schema.remove (developer): Remove a dump schema: it and its dumps leave current reads, and nothing is deleted. Conflicts with any change to the schema since the base.\n- schema.restore (developer): Restore a removed dump schema, and with it its dumps. Conflicts with any change to the schema since the base.\n- schema.update (developer): Change a dump schema: its name, key and description, and add, change, reorder and remove properties and options, at any depth of nested schemas, and place its page sections. Conflicts with any change to the schema since the base.",
        "operationId": "transactions.preview",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewInput"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewResponse"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, base_missing, field_missing, name_invalid, operation_unknown, operations_empty, ref_taken, base_invalid, member_not_allowed, property_mapped_twice, schema_key_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, dump_not_found, schema_not_found, property_not_found, nested_object_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "conflict: value_changed, dump_changed, schema_changed, list_reordered, strict_changed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: too_many_operations, request_too_large, value_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: value_not_representable, option_unknown, dump_deleted, property_not_in_schema, resolution_required, too_many_values, ref_unknown, name_taken, schema_removed, same_schema, schema_key_taken, reference_missing, link_target_missing, person_not_found."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Try a transaction without writing it: what it would do, or how it would be refused.",
        "tags": [
          "transactions"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "writer"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "conflict": [
            "value_changed",
            "dump_changed",
            "schema_changed",
            "list_reordered",
            "strict_changed"
          ],
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "base_missing",
            "field_missing",
            "name_invalid",
            "operation_unknown",
            "operations_empty",
            "ref_taken",
            "base_invalid",
            "member_not_allowed",
            "property_mapped_twice",
            "schema_key_invalid"
          ],
          "limit-exceeded": [
            "too_many_operations",
            "request_too_large",
            "value_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "dump_not_found",
            "schema_not_found",
            "property_not_found",
            "nested_object_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "value_not_representable",
            "option_unknown",
            "dump_deleted",
            "property_not_in_schema",
            "resolution_required",
            "too_many_values",
            "ref_unknown",
            "name_taken",
            "schema_removed",
            "same_schema",
            "schema_key_taken",
            "reference_missing",
            "link_target_missing",
            "person_not_found"
          ]
        }
      }
    },
    "/projects/{p}/transactions/query": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /projects/{p}/transactions`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe transactions of the project, newest first, a page at a time: each with its account, its recording time, its kind (caller, or background for recalculations, which are left out unless include_background) and whether it was a forced overwrite, and what it changed: for every property value the new value and the transaction that held the previous one (a text of more than 10 KB is marked value_omitted: read it pinned to the transaction), and the dumps, list items, schemas and properties it changed. Each has by, its account or system for background work, a key of the page's actors (a User Agent's name only to its owner; to everyone else it is its owner's agent). since keeps the transactions after it; dump, property, schema and account narrow them (and their changes) to one thing: the history of that thing. With schema, include_dumps also gives the changes of the dumps that were in it at the time. A cursor, sent alone, gives the next, older page of the same query.",
        "operationId": "transactions.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "feed": {
                  "summary": "Everything since transaction 811.",
                  "value": {
                    "since": 811
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/Query.history"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "feed": {
                    "summary": "Everything since transaction 811.",
                    "value": {
                      "actors": {
                        "usr_7": {
                          "account": "usr_7",
                          "kind": "human",
                          "name": "Ans de Vries"
                        }
                      },
                      "transaction": 815,
                      "transactions": [
                        {
                          "account": "usr_7",
                          "by": "usr_7",
                          "forced": false,
                          "kind": "caller",
                          "number": 812,
                          "recorded_at": "2026-11-19T14:00:00Z",
                          "values": [
                            {
                              "dump": "INV-103",
                              "previous": 640,
                              "property": "prp_21",
                              "value": "INV-0044"
                            }
                          ]
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Page"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, cursor_invalid, member_not_allowed, transaction_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, dump_not_found, schema_not_found, property_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The transactions since a transaction, newest first, narrowed to a dump, property, schema or account.",
        "tags": [
          "transactions"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-alias-of": "transactions.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "cursor_invalid",
            "member_not_allowed",
            "transaction_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "dump_not_found",
            "schema_not_found",
            "property_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/views": {
      "get": {
        "description": "The saved views the caller sees: those shared with the project and the caller's own personal ones (an agent's are its own). Per dump schema, the shared views come first, then the caller's own, each group by position. Not paged: a schema has at most 50 shared views and 50 personal ones per account. The views of a removed schema are left out until it is restored. ?schema= (a key, current or old, in any letter case) gives the views of one schema; QUERY the same path to send it as a body.",
        "operationId": "views.list",
        "parameters": [
          {
            "description": "Only the views of this dump schema, by its key, current or old, in any letter case. Absent: the views of every dump schema.",
            "in": "query",
            "name": "schema",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "one": {
                    "summary": "One shared view.",
                    "value": {
                      "actors": null,
                      "views": [
                        {
                          "id": "viw_3",
                          "kind": "table",
                          "layout": {
                            "columns": {
                              "prp_21": {
                                "width": 240
                              }
                            }
                          },
                          "name": "Open tasks",
                          "position": "V",
                          "query": {
                            "select": [
                              "prp_21",
                              "prp_22"
                            ],
                            "sort": [
                              {
                                "property": "prp_22"
                              }
                            ]
                          },
                          "revision": 1,
                          "saved_at": "2026-11-22T10:00:00Z",
                          "saved_by": "usr_1",
                          "schema": "TASK",
                          "shared": true
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SavedViews"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The saved views of a project, or of one dump schema.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "A personal view (shared absent or false), which only the caller sees, needs any access to the project; a view shared with the project needs the developer tier (tier_too_low). The view goes last in its group. query is checked as the dumps query checks it, with its codes under /query; layout is checked against the kind and the schema as it is now (view_setting_invalid). A schema has at most 50 shared views and 50 personal ones per account (view_limit_reached); a query is at most 65536 bytes of JSON and a layout 16384 (value_too_large). Takes a retry key.",
        "operationId": "views.create",
        "parameters": [
          {
            "description": "The retry key: a fresh random value per change, sent again unchanged when the same request is repeated. A repeat with the same key and body gets the first response.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "table": {
                  "summary": "A table view shared with the project.",
                  "value": {
                    "kind": "table",
                    "layout": {
                      "columns": {
                        "prp_21": {
                          "width": 240
                        }
                      }
                    },
                    "name": "Open tasks",
                    "query": {
                      "select": [
                        "prp_21",
                        "prp_22"
                      ],
                      "sort": [
                        {
                          "property": "prp_22"
                        }
                      ]
                    },
                    "schema": "TASK",
                    "shared": true
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/NewView"
              }
            }
          },
          "description": "JSON, at most 86016 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "table": {
                    "summary": "A table view shared with the project.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Hans Pannekoek"
                        }
                      },
                      "id": "viw_3",
                      "kind": "table",
                      "layout": {
                        "columns": {
                          "prp_21": {
                            "width": 240
                          }
                        }
                      },
                      "name": "Open tasks",
                      "position": "V",
                      "query": {
                        "select": [
                          "prp_21",
                          "prp_22"
                        ],
                        "sort": [
                          {
                            "property": "prp_22"
                          }
                        ]
                      },
                      "revision": 1,
                      "saved_at": "2026-11-22T10:00:00Z",
                      "saved_by": "usr_1",
                      "schema": "TASK",
                      "shared": true
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ViewRead"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, operator_not_allowed, path_through_list, path_too_deep, sort_not_allowed, property_unknown, field_missing, name_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "retry-key: retry_key_reused, retry_in_progress."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, value_too_large, query_too_large, view_limit_reached."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: option_unknown, view_setting_invalid, dump_not_found, schema_not_found."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Save a view of a dump schema.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 86016
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "operator_not_allowed",
            "path_through_list",
            "path_too_deep",
            "sort_not_allowed",
            "property_unknown",
            "field_missing",
            "name_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "value_too_large",
            "query_too_large",
            "view_limit_reached"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "retry-key": [
            "retry_key_reused",
            "retry_in_progress"
          ],
          "unprocessable": [
            "option_unknown",
            "view_setting_invalid",
            "dump_not_found",
            "schema_not_found"
          ]
        }
      },
      "query": {
        "description": "The saved views the caller sees: those shared with the project and the caller's own personal ones (an agent's are its own). Per dump schema, the shared views come first, then the caller's own, each group by position. Not paged: a schema has at most 50 shared views and 50 personal ones per account. The views of a removed schema are left out until it is restored. schema gives the views of one schema.",
        "operationId": "views.query",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "schema": {
                  "summary": "The views of one schema.",
                  "value": {
                    "schema": "TASK"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ViewsQuery"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "schema": {
                    "summary": "The views of one schema.",
                    "value": {
                      "actors": null,
                      "views": [
                        {
                          "id": "viw_3",
                          "kind": "table",
                          "layout": {
                            "columns": {
                              "prp_21": {
                                "width": 240
                              }
                            }
                          },
                          "name": "Open tasks",
                          "position": "V",
                          "query": {
                            "select": [
                              "prp_21",
                              "prp_22"
                            ],
                            "sort": [
                              {
                                "property": "prp_22"
                              }
                            ]
                          },
                          "revision": 1,
                          "saved_at": "2026-11-22T10:00:00Z",
                          "saved_by": "usr_1",
                          "schema": "TASK",
                          "shared": true
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SavedViews"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The saved views of a project, or of one dump schema.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/views/query": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "The POST alias of `QUERY /projects/{p}/views`, for clients and intermediaries that cannot send the QUERY method. It takes the same body and answers the same way.\n\nThe saved views the caller sees: those shared with the project and the caller's own personal ones (an agent's are its own). Per dump schema, the shared views come first, then the caller's own, each group by position. Not paged: a schema has at most 50 shared views and 50 personal ones per account. The views of a removed schema are left out until it is restored. schema gives the views of one schema.",
        "operationId": "views.query.post_alias",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "schema": {
                  "summary": "The views of one schema.",
                  "value": {
                    "schema": "TASK"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ViewsQuery"
              }
            }
          },
          "description": "JSON, at most 5242880 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "schema": {
                    "summary": "The views of one schema.",
                    "value": {
                      "actors": null,
                      "views": [
                        {
                          "id": "viw_3",
                          "kind": "table",
                          "layout": {
                            "columns": {
                              "prp_21": {
                                "width": 240
                              }
                            }
                          },
                          "name": "Open tasks",
                          "position": "V",
                          "query": {
                            "select": [
                              "prp_21",
                              "prp_22"
                            ],
                            "sort": [
                              {
                                "property": "prp_22"
                              }
                            ]
                          },
                          "revision": 1,
                          "saved_at": "2026-11-22T10:00:00Z",
                          "saved_by": "usr_1",
                          "schema": "TASK",
                          "shared": true
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SavedViews"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, schema_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The saved views of a project, or of one dump schema.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-alias-of": "views.query",
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "schema_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      }
    },
    "/projects/{p}/views/{v}": {
      "delete": {
        "description": "For good: views are not versioned. A personal view is its owner's to delete; a shared view needs the developer tier (tier_too_low). Another account's personal view, and a view of a removed schema, are view_not_found.",
        "operationId": "views.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, view_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Delete a saved view.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "view_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "get": {
        "description": "A view shared with the project, or one of the caller's own. Another account's personal view, and a view of a removed schema, are view_not_found.",
        "operationId": "views.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "table": {
                    "summary": "A shared table view.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Hans Pannekoek"
                        }
                      },
                      "id": "viw_3",
                      "kind": "table",
                      "layout": {
                        "columns": {
                          "prp_21": {
                            "width": 240
                          }
                        }
                      },
                      "name": "Open tasks",
                      "position": "V",
                      "query": {
                        "select": [
                          "prp_21",
                          "prp_22"
                        ],
                        "sort": [
                          {
                            "property": "prp_22"
                          }
                        ]
                      },
                      "revision": 1,
                      "saved_at": "2026-11-22T10:00:00Z",
                      "saved_by": "usr_1",
                      "schema": "TASK",
                      "shared": true
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ViewRead"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, view_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "One saved view.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "view_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The view's identifier, such as viw_3.",
          "in": "path",
          "name": "v",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "patch": {
        "description": "Changes the name, query or layout, and moves the view with after; what is left out stays. revision must be the view's current one, or the change is refused with view_changed, which carries the current revision as current. Every change counts one revision up and records the caller as saved_by. A personal view is its owner's to change; a shared view needs the developer tier (tier_too_low). A view stays personal or shared, of its schema and kind, for good: save a copy with POST to change those. query and layout are checked as on create, each only when sent. Another account's personal view, and a view of a removed schema, are view_not_found.",
        "operationId": "views.update",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "rename": {
                  "summary": "Rename a view and move it first.",
                  "value": {
                    "after": null,
                    "name": "Mine first",
                    "revision": 1
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ViewChange"
              }
            }
          },
          "description": "JSON, at most 86016 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "rename": {
                    "summary": "Rename a view and move it first.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Hans Pannekoek"
                        }
                      },
                      "id": "viw_3",
                      "kind": "table",
                      "layout": {
                        "columns": {
                          "prp_21": {
                            "width": 240
                          }
                        }
                      },
                      "name": "Mine first",
                      "position": "F",
                      "query": {
                        "select": [
                          "prp_21",
                          "prp_22"
                        ],
                        "sort": [
                          {
                            "property": "prp_22"
                          }
                        ]
                      },
                      "revision": 2,
                      "saved_at": "2026-11-22T10:00:00Z",
                      "saved_by": "usr_1",
                      "schema": "TASK",
                      "shared": true
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ViewRead"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, operator_not_allowed, path_through_list, path_too_deep, sort_not_allowed, property_unknown, field_missing, name_invalid."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, view_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "conflict: view_changed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, value_too_large, query_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: option_unknown, view_setting_invalid, dump_not_found, schema_not_found, view_not_found."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Change or move a saved view.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 86016
        },
        "x-rejections": {
          "conflict": [
            "view_changed"
          ],
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "operator_not_allowed",
            "path_through_list",
            "path_too_deep",
            "sort_not_allowed",
            "property_unknown",
            "field_missing",
            "name_invalid"
          ],
          "limit-exceeded": [
            "request_too_large",
            "value_too_large",
            "query_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "view_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "option_unknown",
            "view_setting_invalid",
            "dump_not_found",
            "schema_not_found",
            "view_not_found"
          ]
        }
      }
    },
    "/projects/{p}/views/{v}/history": {
      "get": {
        "description": "Every save of a shared view that changed its query or layout (saved), only its name (renamed), or restored an earlier version (restored), newest first: who, when, and the view before the change. Creating, moving and a save that changes nothing write no entry. At most 100 entries are kept per view; the oldest go first. Not paged. A personal view keeps no log: its owner gets no entries. Not history: the log is not versioned and has no transaction. Another account's personal view, and a view of a removed schema, are view_not_found.",
        "operationId": "views.history",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "renamed": {
                    "summary": "A view renamed once.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Hans Pannekoek"
                        }
                      },
                      "entries": [
                        {
                          "at": "2026-11-23T10:04:00Z",
                          "before": {
                            "layout": {
                              "columns": {
                                "prp_21": {
                                  "width": 240
                                }
                              }
                            },
                            "name": "Open",
                            "query": {
                              "select": [
                                "prp_21",
                                "prp_22"
                              ],
                              "sort": [
                                {
                                  "property": "prp_22"
                                }
                              ]
                            },
                            "revision": 1
                          },
                          "by": "usr_1",
                          "change": "renamed",
                          "id": "vev_12"
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ViewHistory"
                }
              }
            },
            "description": "Success."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, view_not_found."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "The change log of a saved view.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "view_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ]
        }
      },
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The view's identifier, such as viw_3.",
          "in": "path",
          "name": "v",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/projects/{p}/views/{v}/history/{e}/restore": {
      "parameters": [
        {
          "description": "The project's identifier, such as prj_1.",
          "in": "path",
          "name": "p",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The view's identifier, such as viw_3.",
          "in": "path",
          "name": "v",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "description": "The log entry's identifier, such as vev_12.",
          "in": "path",
          "name": "e",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "post": {
        "description": "Saves the entry's before (name, query and layout) as the view's new version, as views.update would: revision must be the view's current one (view_changed), and the query and layout are checked against the schema as it is now, with views.update's codes. Who may change the view may restore it (a shared view: the developer tier, else tier_too_low). The restore is an entry of its own (restored), counts one revision up and records the caller as saved_by. An entry that is not this view's, or was pruned, is view_event_not_found. Answers the view.",
        "operationId": "views.restore",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "restore": {
                  "summary": "Bring back the name before a rename.",
                  "value": {
                    "revision": 2
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/ViewRestore"
              }
            }
          },
          "description": "JSON, at most 86016 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "restore": {
                    "summary": "Bring back the name before a rename.",
                    "value": {
                      "actors": {
                        "usr_1": {
                          "account": "usr_1",
                          "kind": "human",
                          "name": "Hans Pannekoek"
                        }
                      },
                      "id": "viw_3",
                      "kind": "table",
                      "layout": {
                        "columns": {
                          "prp_21": {
                            "width": 240
                          }
                        }
                      },
                      "name": "Open",
                      "position": "V",
                      "query": {
                        "select": [
                          "prp_21",
                          "prp_22"
                        ],
                        "sort": [
                          {
                            "property": "prp_22"
                          }
                        ]
                      },
                      "revision": 3,
                      "saved_at": "2026-11-22T10:00:00Z",
                      "saved_by": "usr_1",
                      "schema": "TASK",
                      "shared": true
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ViewRead"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, operator_not_allowed, path_through_list, path_too_deep, sort_not_allowed, property_unknown, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: token_missing, token_expired, token_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: tier_too_low, origin_not_allowed, consent_needed."
          },
          "404": {
            "$ref": "#/components/responses/Problem",
            "description": "not-found: project_not_found, view_not_found, view_event_not_found."
          },
          "409": {
            "$ref": "#/components/responses/Problem",
            "description": "conflict: view_changed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large, value_too_large, query_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: option_unknown, view_setting_invalid, dump_not_found, schema_not_found."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, busy."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [
          {
            "session": []
          },
          {
            "bearer": []
          }
        ],
        "summary": "Save an earlier version of a view again.",
        "tags": [
          "views"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "param": "p",
          "scope": "project",
          "sign_in": true,
          "tier": "reader"
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 86016
        },
        "x-rejections": {
          "conflict": [
            "view_changed"
          ],
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "operator_not_allowed",
            "path_through_list",
            "path_too_deep",
            "sort_not_allowed",
            "property_unknown",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large",
            "value_too_large",
            "query_too_large"
          ],
          "not-allowed": [
            "tier_too_low",
            "origin_not_allowed",
            "consent_needed"
          ],
          "not-found": [
            "project_not_found",
            "view_not_found",
            "view_event_not_found"
          ],
          "not-signed-in": [
            "token_missing",
            "token_expired",
            "token_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "busy"
          ],
          "unprocessable": [
            "option_unknown",
            "view_setting_invalid",
            "dump_not_found",
            "schema_not_found"
          ]
        }
      }
    },
    "/registrations": {
      "post": {
        "description": "For the Brain Dump app only. With the confirmation email on (the default), the server checks the name and the password, stores only the address, sends a six-digit code to it and answers with the address and until when the code works; no account exists until the code, the name and the password are sent to POST /registrations/confirmation. Registering an address that waits sends a new code that ends the one before, unless the last one went out less than 60 seconds ago: then nothing changes and that code stays valid. With the confirmation email off, the account and its own organization are made at once, the session cookie is set, and the answer holds the account as GET /me gives it. An address that has an account is email_taken. The request must come from this site (its Origin header).",
        "operationId": "registrations.create",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "waiting": {
                  "summary": "The code went out; the registration waits for it.",
                  "value": {
                    "email": "ann@example.com",
                    "password": "correct horse battery staple"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/RegistrationCreate"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "waiting": {
                    "summary": "The code went out; the registration waits for it.",
                    "value": {
                      "email": "ann@example.com",
                      "expires_at": "2026-11-27T09:30:00Z"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Registration"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, name_invalid, email_invalid, password_too_short, password_too_long."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: email_taken."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Register a person with an email address and a password.",
        "tags": [
          "registrations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536,
          "requests_per_minute_per_address": 60
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "name_invalid",
            "email_invalid",
            "password_too_short",
            "password_too_long"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed"
          ],
          "rate-limited": [
            "rate_limited"
          ],
          "unprocessable": [
            "email_taken"
          ]
        }
      }
    },
    "/registrations/code": {
      "post": {
        "description": "For the Brain Dump app only. When a registration waits for the address and its last message went out at least 60 seconds ago, the server sends a new code with fresh tries; the registration keeps its expiry. It answers 204 either way, and says nothing about the address. The request must come from this site (its Origin header).",
        "operationId": "registrations.resend",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegistrationResend"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, email_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Send a registration's code again.",
        "tags": [
          "registrations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536,
          "requests_per_minute_per_address": 60
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "email_invalid"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed"
          ],
          "rate-limited": [
            "rate_limited"
          ]
        }
      }
    },
    "/registrations/confirmation": {
      "post": {
        "description": "For the Brain Dump app only. With the right code, the server makes the account, with the name and the password of this request, and the private organization it owns, sets the session cookie (HttpOnly, Secure, SameSite=Strict, 30 days) and answers with the account as GET /me gives it; a session the request's cookie already carried ends. A code that is wrong, expired, ended by 5 wrong tries, or that does not exist for the address is code_invalid, one answer for all; ask for a new one with POST /registrations/code. An address that got an account meanwhile is email_taken. The request must come from this site (its Origin header).",
        "operationId": "registrations.confirm",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "confirmed": {
                  "summary": "The code was right: the person now owns one organization, with no projects.",
                  "value": {
                    "code": "042917",
                    "email": "ann@example.com",
                    "password": "correct horse battery staple"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/RegistrationConfirm"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "confirmed": {
                    "summary": "The code was right: the person now owns one organization, with no projects.",
                    "value": {
                      "account": "usr_1",
                      "agents": {
                        "live": 1
                      },
                      "authenticator": {
                        "enabled": true,
                        "recovery_codes_left": 9
                      },
                      "consent": {
                        "documents": [
                          {
                            "kind": "terms",
                            "sha256": "2979c0204d12fcaf972b93a2c5176bbc37adf4deeb56ee32a052abeb44a3c0ea",
                            "url": "https://braindump.example/legal/terms/2026-11-23",
                            "version": "2026-11-23"
                          },
                          {
                            "kind": "privacy",
                            "sha256": "94109952c739f1f9d9563be87e085916d8ddd97a614cf6a22daf459d074ce6a9",
                            "url": "https://braindump.example/legal/privacy/2026-11-23",
                            "version": "2026-11-23"
                          }
                        ],
                        "needed": false
                      },
                      "email": "ann@example.com",
                      "invites": {
                        "pending": 1
                      },
                      "kind": "human",
                      "name": "ann",
                      "organizations": [
                        {
                          "id": "org_1",
                          "name": "ann's organization",
                          "people": 1,
                          "personal": true,
                          "privilege": "owner"
                        }
                      ],
                      "preferences": {
                        "theme": "system",
                        "units": {
                          "domains": {
                            "temperature": "degC"
                          },
                          "show": "converted",
                          "system": "metric"
                        }
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Me"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing, name_invalid, email_invalid, password_too_short, password_too_long."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "422": {
            "$ref": "#/components/responses/Problem",
            "description": "unprocessable: email_taken, code_invalid."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Confirm a registration with the code sent to its address: make the account and sign in.",
        "tags": [
          "registrations"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536,
          "requests_per_minute_per_address": 60
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing",
            "name_invalid",
            "email_invalid",
            "password_too_short",
            "password_too_long"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed"
          ],
          "rate-limited": [
            "rate_limited"
          ],
          "unprocessable": [
            "email_taken",
            "code_invalid"
          ]
        }
      }
    },
    "/sessions": {
      "delete": {
        "description": "Ends the session that signs the request in (the session cookie, or a bearer token) and clears the cookie. It answers 204 also when the session had already ended or there was none, so it can be repeated safely. With the cookie, the request must come from this site (its Origin header).",
        "operationId": "sessions.delete",
        "responses": {
          "204": {
            "description": "Done. There is no content."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Sign out: end the session and clear its cookie.",
        "tags": [
          "sessions"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "request_bytes": 5242880
        },
        "x-rejections": {
          "internal": [],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed"
          ]
        }
      },
      "post": {
        "description": "For the Brain Dump app only. With the right address and password, the server sets the session cookie (HttpOnly, Secure, SameSite=Strict, 30 days); a session the request's cookie already carried ends, and so does the person's oldest beyond 10. The answer is the account, as GET /me gives it; the session token is never in the body. An unknown address and a wrong password get the same answer, credentials_invalid. After 10 wrong tries in a row, sign-in to the account is locked for 15 minutes: every sign-in is then account_locked, the right password included, with Retry-After. When the person's authenticator is on, a right password without a code is totp_required: send the same request again with totp_code (or recovery_code). A wrong, used or old code is totp_invalid, and counts as a wrong try; each code works once. The request must come from this site (its Origin header). Agents sign in with POST /agent-sign-ins instead.",
        "operationId": "sessions.create",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "password": {
                  "summary": "A person signs in with their address and password.",
                  "value": {
                    "email": "ann@example.com",
                    "password": "correct horse battery staple"
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/SessionCreate"
              }
            }
          },
          "description": "JSON, at most 65536 bytes (request_too_large beyond), 250000 values and 64 levels of nesting.",
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "examples": {
                  "password": {
                    "summary": "A person signs in with their address and password.",
                    "value": {
                      "account": "usr_1",
                      "agents": {
                        "live": 1
                      },
                      "authenticator": {
                        "enabled": true,
                        "recovery_codes_left": 9
                      },
                      "consent": {
                        "documents": [
                          {
                            "kind": "terms",
                            "sha256": "2979c0204d12fcaf972b93a2c5176bbc37adf4deeb56ee32a052abeb44a3c0ea",
                            "url": "https://braindump.example/legal/terms/2026-11-23",
                            "version": "2026-11-23"
                          },
                          {
                            "kind": "privacy",
                            "sha256": "94109952c739f1f9d9563be87e085916d8ddd97a614cf6a22daf459d074ce6a9",
                            "url": "https://braindump.example/legal/privacy/2026-11-23",
                            "version": "2026-11-23"
                          }
                        ],
                        "needed": false
                      },
                      "email": "ann@example.com",
                      "invites": {
                        "pending": 1
                      },
                      "kind": "human",
                      "name": "ann",
                      "organizations": [
                        {
                          "id": "org_1",
                          "name": "ann's organization",
                          "people": 1,
                          "personal": true,
                          "privilege": "owner"
                        }
                      ],
                      "preferences": {
                        "theme": "system",
                        "units": {
                          "domains": {
                            "temperature": "degC"
                          },
                          "show": "converted",
                          "system": "metric"
                        }
                      }
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Me"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "$ref": "#/components/responses/Problem",
            "description": "invalid-request: malformed_json, unknown_field, wrong_type, field_missing."
          },
          "401": {
            "$ref": "#/components/responses/NotSignedIn",
            "description": "not-signed-in: credentials_invalid, totp_required, totp_invalid."
          },
          "403": {
            "$ref": "#/components/responses/Problem",
            "description": "not-allowed: origin_not_allowed, account_disabled."
          },
          "413": {
            "$ref": "#/components/responses/Problem",
            "description": "limit-exceeded: request_too_large."
          },
          "429": {
            "$ref": "#/components/responses/RateLimited",
            "description": "rate-limited: rate_limited, account_locked."
          },
          "500": {
            "$ref": "#/components/responses/Problem",
            "description": "internal: our fault; the body carries only request_id."
          }
        },
        "security": [],
        "summary": "Sign a person in with their email address and password: start a session cookie.",
        "tags": [
          "sessions"
        ],
        "x-access": {
          "agents_only": false,
          "humans_only": false,
          "scope": "account",
          "sign_in": false
        },
        "x-limits": {
          "json_depth": 64,
          "json_values": 250000,
          "request_bytes": 65536,
          "requests_per_minute_per_address": 60
        },
        "x-rejections": {
          "internal": [],
          "invalid-request": [
            "malformed_json",
            "unknown_field",
            "wrong_type",
            "field_missing"
          ],
          "limit-exceeded": [
            "request_too_large"
          ],
          "not-allowed": [
            "origin_not_allowed",
            "account_disabled"
          ],
          "not-signed-in": [
            "credentials_invalid",
            "totp_required",
            "totp_invalid"
          ],
          "rate-limited": [
            "rate_limited",
            "account_locked"
          ]
        }
      }
    }
  },
  "tags": [
    {
      "name": "agent-keys"
    },
    {
      "name": "agent-sign-ins"
    },
    {
      "name": "capabilities"
    },
    {
      "name": "dumps"
    },
    {
      "name": "me"
    },
    {
      "name": "openapi"
    },
    {
      "name": "organizations"
    },
    {
      "name": "password-resets"
    },
    {
      "name": "presence"
    },
    {
      "name": "projects"
    },
    {
      "name": "registrations"
    },
    {
      "name": "schemas"
    },
    {
      "name": "search"
    },
    {
      "name": "sessions"
    },
    {
      "name": "transactions"
    },
    {
      "name": "views"
    }
  ]
}
