{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-structure/platform-scansrescaninputbody-structure.json", "name": "ScansRescanInputBody", "description": "ScansRescanInputBody schema from Censys Platform API", "type": "object", "required": [ "target" ], "additionalProperties": false, "properties": { "target": { "type": "object", "oneOf": [ { "type": "object", "description": "Rescan of known service", "required": [ "service_id" ], "properties": { "service_id": { "type": "object", "required": [ "ip", "port", "protocol", "transport_protocol" ], "additionalProperties": false, "properties": { "ip": { "type": "string", "description": "IP address of service" }, "port": { "type": "int32", "description": "Port number of service", "minimum": 1, "maximum": 65535 }, "protocol": { "type": "string", "description": "Name of service protocol" }, "transport_protocol": { "type": "string", "enum": [ "unknown", "tcp", "udp", "icmp", "quic" ] } } } } }, { "type": "object", "description": "Rescan of known web property", "required": [ "web_origin" ], "properties": { "web_origin": { "type": "object", "required": [ "hostname", "port" ], "additionalProperties": false, "properties": { "hostname": { "type": "string", "description": "Hostname of the web origin" }, "port": { "type": "int32", "description": "Port number of the web origin", "minimum": 1, "maximum": 65535 } } } } } ] } } }