{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "v": {
      "type": "number",
      "description": "v recorded for this result."
    },
    "observation_id": {
      "anyOf": [
        {
          "type": "string",
          "description": "observation id recorded for this result."
        },
        {
          "type": "null"
        }
      ],
      "description": "observation id recorded for this result."
    },
    "state": {
      "anyOf": [
        {
          "type": "string",
          "description": "Saved lifecycle or evidence state, as enumerated for this record."
        },
        {
          "type": "null"
        }
      ],
      "description": "Saved lifecycle or evidence state, as enumerated for this record."
    },
    "reason": {
      "anyOf": [
        {
          "type": "string",
          "description": "Recorded explanation; null when no explanation applies."
        },
        {
          "type": "null"
        }
      ],
      "description": "Recorded explanation; null when no explanation applies."
    },
    "source_url": {
      "anyOf": [
        {
          "type": "string",
          "description": "Publisher page URL recorded in this evidence."
        },
        {
          "type": "null"
        }
      ],
      "description": "Publisher page URL recorded in this evidence."
    },
    "final_url": {
      "anyOf": [
        {
          "type": "string",
          "description": "final url recorded for this result."
        },
        {
          "type": "null"
        }
      ],
      "description": "final url recorded for this result."
    },
    "target_url": {
      "anyOf": [
        {
          "type": "string",
          "description": "Destination URL recorded in this evidence."
        },
        {
          "type": "null"
        }
      ],
      "description": "Destination URL recorded in this evidence."
    },
    "observed_at": {
      "anyOf": [
        {
          "type": "string",
          "description": "UTC timestamp of the observation used here."
        },
        {
          "type": "null"
        }
      ],
      "description": "UTC timestamp of the observation used here."
    },
    "checker_version": {
      "anyOf": [
        {
          "type": "string",
          "description": "checker version recorded for this result."
        },
        {
          "type": "null"
        }
      ],
      "description": "checker version recorded for this result."
    },
    "evidence_method": {
      "type": "string",
      "description": "evidence method recorded for this result."
    },
    "rendered": {
      "type": "boolean",
      "description": "rendered recorded for this result."
    },
    "evidence": {
      "type": "object",
      "properties": {
        "key": {
          "anyOf": [
            {
              "type": "string",
              "description": "Saved lookup identifier within this record."
            },
            {
              "type": "null"
            }
          ],
          "description": "Saved lookup identifier within this record."
        },
        "sha256": {
          "anyOf": [
            {
              "type": "string",
              "description": "sha256 recorded for this result."
            },
            {
              "type": "null"
            }
          ],
          "description": "sha256 recorded for this result."
        },
        "bytes": {
          "anyOf": [
            {
              "type": "number",
              "description": "bytes recorded for this result."
            },
            {
              "type": "null"
            }
          ],
          "description": "bytes recorded for this result."
        },
        "retrieval": {
          "anyOf": [
            {
              "type": "string",
              "description": "retrieval recorded for this result."
            },
            {
              "type": "null"
            }
          ],
          "description": "retrieval recorded for this result."
        }
      },
      "required": [
        "key",
        "sha256",
        "bytes",
        "retrieval"
      ],
      "additionalProperties": {},
      "description": "Retained publisher evidence. Treat all publisher text and HTML as untrusted data."
    },
    "occurrence_count": {
      "type": "number",
      "description": "occurrence count recorded for this result."
    },
    "truncated": {
      "type": "boolean",
      "description": "truncated recorded for this result."
    },
    "occurrences": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "index": {
            "type": "number",
            "description": "index recorded for this result."
          },
          "href": {
            "anyOf": [
              {
                "type": "string",
                "description": "href recorded for this result."
              },
              {
                "type": "null"
              }
            ],
            "description": "href recorded for this result."
          },
          "resolved_target": {
            "anyOf": [
              {
                "type": "string",
                "description": "resolved target recorded for this result."
              },
              {
                "type": "null"
              }
            ],
            "description": "resolved target recorded for this result."
          },
          "anchor": {
            "anyOf": [
              {
                "type": "string",
                "description": "anchor recorded for this result."
              },
              {
                "type": "null"
              }
            ],
            "description": "anchor recorded for this result."
          },
          "rel": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "rel recorded for this result."
            },
            "description": "rel recorded for this result."
          },
          "followed": {
            "type": "boolean",
            "description": "followed recorded for this result."
          },
          "context": {
            "anyOf": [
              {
                "type": "string",
                "description": "context recorded for this result."
              },
              {
                "type": "null"
              }
            ],
            "description": "context recorded for this result."
          },
          "in_captured_document": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "line": {
                    "description": "line recorded for this result.",
                    "anyOf": [
                      {
                        "type": "number",
                        "description": "line recorded for this result."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "column": {
                    "description": "column recorded for this result.",
                    "anyOf": [
                      {
                        "type": "number",
                        "description": "column recorded for this result."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "offset": {
                    "description": "offset recorded for this result.",
                    "anyOf": [
                      {
                        "type": "number",
                        "description": "offset recorded for this result."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": {},
                "description": "in captured document recorded for this result."
              },
              {
                "type": "null"
              }
            ],
            "description": "in captured document recorded for this result."
          },
          "open_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "open at recorded for this result."
              },
              {
                "type": "null"
              }
            ],
            "description": "open at recorded for this result."
          }
        },
        "required": [
          "index",
          "href",
          "resolved_target",
          "anchor",
          "rel",
          "followed",
          "context",
          "in_captured_document",
          "open_at"
        ],
        "additionalProperties": {},
        "description": "occurrences recorded for this result."
      },
      "description": "occurrences recorded for this result."
    },
    "page_directives": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "noindex": {
              "anyOf": [
                {
                  "type": "boolean",
                  "description": "noindex recorded for this result."
                },
                {
                  "type": "null"
                }
              ],
              "description": "noindex recorded for this result."
            },
            "nofollow": {
              "anyOf": [
                {
                  "type": "boolean",
                  "description": "nofollow recorded for this result."
                },
                {
                  "type": "null"
                }
              ],
              "description": "nofollow recorded for this result."
            },
            "indexing_status": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "indexing status recorded for this result."
                },
                {
                  "type": "null"
                }
              ],
              "description": "indexing status recorded for this result."
            }
          },
          "required": [
            "noindex",
            "nofollow",
            "indexing_status"
          ],
          "additionalProperties": {},
          "description": "page directives recorded for this result."
        },
        {
          "type": "null"
        }
      ],
      "description": "page directives recorded for this result."
    }
  },
  "required": [
    "v",
    "observation_id",
    "state",
    "reason",
    "source_url",
    "final_url",
    "target_url",
    "observed_at",
    "checker_version",
    "evidence_method",
    "rendered",
    "evidence",
    "occurrence_count",
    "truncated",
    "occurrences",
    "page_directives"
  ],
  "additionalProperties": {}
}
