{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-request-form-recipient-confirm-response-schema.json",
  "title": "RequestFormRecipientConfirmResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-forms-api-openapi.yml#/components/schemas/RequestFormRecipientConfirmResponse",
  "type": "object",
  "properties": {
    "item": {
      "$ref": "#/$defs/FormRecipient"
    },
    "sent": {
      "type": "boolean",
      "description": "True when a confirm email went out. False when the address is already a member or confirmed (nothing to do), or when email is not configured on this server."
    }
  },
  "required": [
    "item",
    "sent"
  ],
  "$defs": {
    "FormRecipient": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "description": "The address, lowercased."
        },
        "state": {
          "type": "string",
          "enum": [
            "member",
            "confirmed",
            "pending",
            "expired",
            "unconfirmed"
          ],
          "description": "`member`: a verified member of the site, so form emails go out. `confirmed`: clicked the confirm link, so form emails go out. `pending`: a confirm link is out and still valid. `expired`: the last link expired unused. `unconfirmed`: no link out. Only `member` and `confirmed` receive form emails."
        },
        "confirmedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the address confirmed, Unix ms."
        },
        "requestedAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the last confirm link was sent, Unix ms."
        },
        "expiresAt": {
          "type": [
            "integer",
            "null"
          ],
          "description": "When the outstanding confirm link expires, Unix ms."
        }
      },
      "required": [
        "email",
        "state",
        "confirmedAt",
        "requestedAt",
        "expiresAt"
      ]
    }
  }
}