{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/firstsales-io/json-schema/firstsales-io-dkim-result-schema.json",
  "title": "DkimResult",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/firstsales-io-openapi.json#/components/schemas/DkimResult",
  "type": "object",
  "properties": {
    "domain": {
      "type": "string"
    },
    "selector": {
      "type": "string"
    },
    "recordFound": {
      "type": "boolean"
    },
    "validStructure": {
      "type": "boolean"
    },
    "publicKeyPresent": {
      "type": "boolean"
    },
    "rawRecord": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "Valid",
        "Invalid",
        "Not Found"
      ]
    },
    "details": {
      "type": "object",
      "properties": {
        "versionTag": {
          "type": "boolean"
        },
        "keyType": {
          "type": "string"
        },
        "estimatedKeyBits": {
          "type": [
            "number",
            "null"
          ]
        },
        "testingMode": {
          "type": "boolean"
        },
        "allSelectorsFound": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "domain",
    "selector",
    "recordFound",
    "validStructure",
    "publicKeyPresent",
    "rawRecord",
    "status"
  ]
}