{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/run402-com/json-schema/run402-com-auth-magic-link-response-schema.json",
  "title": "AuthMagicLinkResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/run402-com-auth-api-openapi.yml#/components/schemas/AuthMagicLinkResponse",
  "type": "object",
  "required": [
    "message"
  ],
  "properties": {
    "message": {
      "type": "string"
    },
    "challenge_id": {
      "type": "string",
      "format": "uuid",
      "description": "Opaque public handle returned for accepted code/both requests. Never the emailed code."
    },
    "warnings": {
      "type": "array",
      "description": "Non-blocking configuration warnings. Present when redirect_url matches an active GET static route alias.",
      "items": {
        "type": "object",
        "required": [
          "code",
          "message",
          "path",
          "target_file"
        ],
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "MAGIC_LINK_REDIRECT_STATIC_ALIAS"
            ]
          },
          "message": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "target_file": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}