{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-schema/platform-ntp-ntpheader-schema.json", "title": "Ntp_NTPHeader", "description": "Ntp_NTPHeader schema from Censys Platform API", "type": "object", "properties": { "leap_indicator": { "description": "An enumerated value from 0 to 3 signifying whether a leap second will occur at the end of the current month. 0 signifies no leap second, 1 signifies an additive leap second, 2 signifies a subtractive leap second, and 3 signifies the state is unknown.", "format": "int32", "minimum": 0, "type": "integer" }, "mode": { "description": "An enumerated value from 0 to 7 signifying the operational mode of the server.", "format": "int32", "minimum": 0, "type": "integer" }, "poll": { "description": "The interval within which the server will expect a subsequent synchronization message, in log2 seconds.", "format": "int32", "type": "integer" }, "precision": { "description": "The precision of the system's clock, in log2 seconds.", "format": "int32", "type": "integer" }, "reference_id": { "description": "The identifier of the reference clock. For servers in stratum 1, one of an IANA-maintained list of sources. For servers in stratum 2, the ID of the stratum 1 server from which the time was retrieved (usually, its IP address), etc.", "format": "hex", "type": "string" }, "stratum": { "description": "The number of servers between a client and a non-NTP time source. 1 signifies that the server is authoritative, having direct access to a sensor. 2 signifies that the server got its time from a \"stratum 1\" server, etc. 16 means the clock is unsynchronized.", "format": "int32", "minimum": 0, "type": "integer" }, "version": { "description": "The NTP version indicated in the server's response.", "format": "int32", "minimum": 0, "type": "integer" } }, "additionalProperties": false }