{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dialogbrain-com/json-schema/dialogbrain-com-src-api-workspace-browser-identities-complete-request-schema.json",
  "title": "CompleteRequest",
  "description": "Cookies for the completion endpoint.\n\nTwo call shapes are valid:\n- Body with storage_state_json set: caller (typically a test harness\n  or future internal pusher) already has the cookies. Used as-is.\n- Empty body / storage_state_json=None: the gateway pulls\n  storage_state from browser-mcp via /claim/complete server-side.\n  This is the user-facing path — the frontend Close button POSTs\n  with no body and the gateway handles the round-trip.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dialogbrain-com-browser-identities-api-openapi.yml#/components/schemas/src__api__workspace_browser_identities__CompleteRequest",
  "properties": {
    "storage_state_json": {
      "anyOf": [
        {
          "type": "string",
          "contentMediaType": "application/octet-stream"
        },
        {
          "type": "null"
        }
      ],
      "title": "Storage State Json"
    },
    "login_url_patterns": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Login Url Patterns"
    }
  },
  "type": "object"
}