{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-schema/platform-serviceonhostrange-schema.json",
  "title": "ServiceOnHostRange",
  "description": "ServiceOnHostRange schema from Censys Platform API",
  "type": "object",
  "properties": {
    "end_time": {
      "description": "When the service was last observed",
      "format": "date-time",
      "type": "string"
    },
    "ip": {
      "description": "IP address where the service was observed",
      "type": "string"
    },
    "port": {
      "description": "Port number where the service was observed",
      "type": "string"
    },
    "protocol": {
      "description": "Application protocol (e.g., HTTP, HTTPS)",
      "type": "string"
    },
    "start_time": {
      "description": "When the service was first observed",
      "format": "date-time",
      "type": "string"
    },
    "transport_protocol": {
      "description": "Transport protocol (e.g., TCP, UDP, QUIC)",
      "type": "string"
    }
  },
  "required": [
    "ip",
    "port",
    "protocol",
    "transport_protocol",
    "start_time",
    "end_time"
  ],
  "additionalProperties": false
}