{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dropto-run/json-schema/dropto-run-accept-invite-response-schema.json",
  "title": "AcceptInviteResponse",
  "description": "What the accepter joined.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dropto-run-account-api-openapi.yml#/components/schemas/AcceptInviteResponse",
  "properties": {
    "accountId": {
      "description": "The account they are now a member of.",
      "type": "string"
    },
    "accountName": {
      "description": "What it calls itself, or null when nobody has named it.",
      "type": [
        "null",
        "string"
      ]
    },
    "requiresTwoFactor": {
      "description": "Whether the account joined requires two-factor, so the page can say so before the gate does\n(IMPLEMENTATION-PLAN §5.3.6).",
      "type": "boolean"
    },
    "role": {
      "description": "What they may do there.",
      "type": "string"
    }
  },
  "required": [
    "accountId",
    "accountName",
    "role",
    "requiresTwoFactor"
  ],
  "type": "object"
}