{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/scribe-handwritten/main/json-schema/scribe-handwritten-contact-schema.json",
  "title": "Contact",
  "description": "A single contact/recipient record",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scribe-handwritten-openapi.json#/components/schemas/Contact",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "campaign_id": {
      "description": "ID of the related campaign/order",
      "type": "integer",
      "format": "int64"
    },
    "listing_id": {
      "description": "ID of the associated listing",
      "type": "integer",
      "format": "int64"
    },
    "first_name": {
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "address": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "zip": {
      "type": "string"
    },
    "created_by": {
      "description": "User ID who created this contact",
      "type": "integer",
      "format": "int64"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "type": "object"
}