{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mailinapp-com/json-schema/mailinapp-com-contact-schema.json",
  "title": "Contact",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mailinapp-com-openapi.json#/components/schemas/Contact",
  "type": "object",
  "required": [
    "listId",
    "listName",
    "rowId",
    "email",
    "fields",
    "status",
    "verification",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "listId": {
      "type": "string"
    },
    "listName": {
      "type": "string"
    },
    "rowId": {
      "type": "string",
      "description": "Stable per address: the same in every list."
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "fields": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "pending"
      ],
      "description": "pending until a double opt-in signup confirms."
    },
    "verification": {
      "type": [
        "object",
        "null"
      ],
      "description": "The server's email verification verdict; null when not checked yet.",
      "required": [
        "status",
        "reasons",
        "checkedAt"
      ],
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "valid",
            "risky",
            "invalid",
            "unknown"
          ]
        },
        "reasons": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "checkedAt": {
          "type": "integer",
          "description": "Epoch ms."
        }
      }
    },
    "createdAt": {
      "type": "integer",
      "description": "Epoch ms."
    },
    "updatedAt": {
      "type": "integer",
      "description": "Epoch ms."
    }
  }
}