{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-schema/platform-dnsresolutionrecord-schema.json", "title": "DnsResolutionRecord", "description": "DnsResolutionRecord schema from Censys Platform API", "type": "object", "properties": { "first_seen": { "description": "The time this record was first observed.", "format": "date-time", "type": "string" }, "ip": { "description": "The IP of the record. IPv4 if the record_type is A. IPv6 if the record_type is AAAA. Otherwise not present.", "type": "string" }, "last_seen": { "description": "The time this record was last observed.", "format": "date-time", "type": "string" }, "mail_server": { "description": "The MX mail server. Only present when record_type is MX. Otherwise not present.", "type": "string" }, "mname": { "description": "The primary name server. Only present when record_type is SOA. Otherwise not present.", "type": "string" }, "name_server": { "description": "The name server. Only present when record_type is NS. Otherwise not present.", "type": "string" }, "priority": { "description": "The MX priority. Only present when record_type is MX. Otherwise not present.", "format": "int64", "type": "integer" }, "record_type": { "description": "The record type. Either A, AAAA, MX, NS, SOA, or TXT.", "enum": [ "A", "AAAA", "MX", "NS", "SOA", "TXT" ], "type": "string" }, "rname": { "description": "The responsible contact, as email. Only present when record_type is SOA. Otherwise not present.", "type": "string" }, "value": { "description": "Full, untruncated string. Only present when record_type is TXT. Otherwise not present.", "type": "string" } }, "required": [ "first_seen", "last_seen", "record_type" ], "additionalProperties": false }