{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dmarc-examiner-com/json-schema/dmarc-examiner-com-dmarc-check-result-schema.json",
  "title": "DmarcCheckResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dmarc-examiner-com-tools-api-openapi.yml#/components/schemas/DmarcCheckResult",
  "type": "object",
  "required": [
    "domain",
    "has_existing_dmarc",
    "existing_record",
    "existing_policy",
    "existing_rua",
    "existing_ruf"
  ],
  "properties": {
    "domain": {
      "type": "string"
    },
    "has_existing_dmarc": {
      "type": "boolean"
    },
    "existing_record": {
      "type": [
        "string",
        "null"
      ],
      "description": "Raw DMARC record string, if present."
    },
    "existing_policy": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "none",
        "quarantine",
        "reject",
        null
      ]
    },
    "existing_rua": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      },
      "description": "Email addresses parsed from the `rua=` tag."
    },
    "existing_ruf": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      },
      "description": "Email addresses parsed from the `ruf=` tag."
    }
  }
}