Censys · JSON Structure

Platform Alternativequery Structure

AlternativeQuery schema from Censys Platform API

Type: object Properties: 2 Required: 2
SecurityInternet IntelligenceAttack Surface ManagementThreat HuntingCyber Threat IntelligenceOSINTInternet ScanningCertificatesAsset Discovery

AlternativeQuery is a JSON Structure definition published by Censys, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

query targets

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-structure/platform-alternativequery-structure.json",
  "name": "AlternativeQuery",
  "description": "AlternativeQuery schema from Censys Platform API",
  "type": "object",
  "required": [
    "query",
    "targets"
  ],
  "additionalProperties": false,
  "properties": {
    "query": {
      "type": "string",
      "description": "An alternative query that may be used."
    },
    "targets": {
      "type": [
        "array",
        "null"
      ],
      "description": "The types of Platform data records (host, cert, and web) that can be targeted by the alternative query.",
      "items": {
        "type": "string",
        "enum": [
          "host",
          "web",
          "cert",
          "unknown"
        ]
      }
    }
  }
}