{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faable-com/json-schema/faable-com-post-passwordless-start-request-schema.json",
  "title": "PostPasswordlessStartRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/faable-com-openapi-generated.yml#/components/schemas/PostPasswordlessStartRequest",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The client driving the login."
    },
    "email": {
      "type": "string",
      "description": "Recipient address. Validated server-side."
    },
    "send": {
      "type": "string",
      "description": "\"link\" for a magic link, \"code\" for a 6-digit OTP."
    },
    "connection_id": {
      "type": "string",
      "description": "Required when the account has more than one enabled passwordless_email connection."
    },
    "auth_params": {
      "type": "object",
      "description": "Extra parameters forwarded to the OAuth callback after verification (e.g. state, redirect_uri)."
    }
  },
  "required": [
    "client_id",
    "email"
  ]
}