{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-structure/platform-reject-structure.json",
  "name": "Reject",
  "description": "Reject schema from Censys Platform API",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "reason": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "",
        "wrong_version",
        "invalid_username",
        "wrong_user_pw",
        "wrong_server_pw",
        "username_in_use",
        "server_full",
        "no_certificate",
        "authenticator_fail"
      ]
    }
  }
}