{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coinrebate-vip/json-schema/coinrebate-vip-link-evidence-response-schema.json",
  "title": "LinkEvidenceResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coinrebate-vip-openapi.json#/components/schemas/LinkEvidenceResponse",
  "type": "object",
  "properties": {
    "schema": {
      "type": "string",
      "enum": [
        "link-evidence/1"
      ]
    },
    "observed_at": {
      "type": "string"
    },
    "input": {
      "type": "object",
      "properties": {
        "host": {
          "type": "string"
        },
        "registrable_domain": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "host",
        "registrable_domain"
      ],
      "additionalProperties": false
    },
    "exchange": {
      "type": [
        "string",
        "null"
      ]
    },
    "domain_identity": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "official",
            "configured_mirror",
            "unrecognized"
          ]
        },
        "lookalike_of": {
          "type": [
            "string",
            "null"
          ]
        },
        "basis": {
          "type": "string"
        },
        "evidence_date": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "status",
        "lookalike_of",
        "basis",
        "evidence_date"
      ],
      "additionalProperties": false
    },
    "reachability": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "ok",
            "waf_challenge",
            "failed",
            "not_probed"
          ]
        },
        "http_status": {
          "type": [
            "number",
            "null"
          ]
        },
        "final_host": {
          "type": [
            "string",
            "null"
          ]
        },
        "ends_on_official_domain": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "status",
        "http_status",
        "final_host",
        "ends_on_official_domain"
      ],
      "additionalProperties": false
    },
    "referral_code": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "coinrebate_current",
            "coinrebate_retired",
            "third_party_unverified",
            "absent",
            "ambiguous",
            "not_checked"
          ]
        },
        "survives_redirect": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "status",
        "survives_redirect"
      ],
      "additionalProperties": false
    },
    "regional_policy": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "listed_available",
            "listed_restricted",
            "unknown"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        },
        "reviewed_at": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "status",
        "country",
        "reviewed_at"
      ],
      "additionalProperties": false
    },
    "benefit": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "configured",
            "unknown"
          ]
        },
        "rate": {
          "type": [
            "number",
            "null"
          ]
        },
        "conditions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "status",
        "rate",
        "conditions"
      ],
      "additionalProperties": false
    },
    "summary": {
      "type": "string"
    },
    "summary_cn": {
      "type": "string"
    },
    "next_steps": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "next_steps_cn": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "disclosure": {
      "type": "string"
    }
  },
  "required": [
    "schema",
    "observed_at",
    "input",
    "exchange",
    "domain_identity",
    "reachability",
    "referral_code",
    "regional_policy",
    "benefit",
    "summary",
    "summary_cn",
    "next_steps",
    "next_steps_cn",
    "disclosure"
  ],
  "additionalProperties": false
}