{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "snapshot": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string",
          "const": "competitor-inventory-v2"
        },
        "id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,160}$",
          "description": "Resource identifier returned by the operation."
        },
        "retrieval_id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,128}$"
        },
        "analysis_id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,128}$"
        },
        "workspace_id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,128}$",
          "description": "Workspace that owns this record."
        },
        "project_id": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,128}$",
          "description": "Project that owns this record."
        },
        "competitor_binding": {
          "type": "object",
          "properties": {
            "set_id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,128}$"
            },
            "set_revision": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "member_id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,128}$"
            }
          },
          "required": [
            "set_id",
            "set_revision",
            "member_id"
          ],
          "additionalProperties": false
        },
        "provider": {
          "type": "string",
          "const": "dataforseo"
        },
        "data_mode": {
          "type": "string",
          "const": "provider_index"
        },
        "rank_scale": {
          "type": "string",
          "const": "one_thousand"
        },
        "target": {
          "type": "string"
        },
        "include_subdomains": {
          "type": "boolean"
        },
        "query_hash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "evidence_revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "state": {
          "type": "string",
          "enum": [
            "pending",
            "complete",
            "partial"
          ],
          "description": "Saved lifecycle or evidence state, as enumerated for this record."
        },
        "coverage": {
          "type": "string",
          "enum": [
            "complete_provider_query",
            "partial_provider_query"
          ],
          "description": "Dataset scope and completeness, including limits on what these results establish."
        },
        "partial_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "pages": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "returned_rows": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "accepted_candidates": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "rejected_rows": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "duplicate_rows": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "provider_total_count": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$",
          "description": "UTC timestamp when the record was created."
        },
        "retrieved_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
        },
        "expires_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
        }
      },
      "required": [
        "version",
        "id",
        "retrieval_id",
        "analysis_id",
        "workspace_id",
        "project_id",
        "competitor_binding",
        "provider",
        "data_mode",
        "rank_scale",
        "target",
        "include_subdomains",
        "query_hash",
        "evidence_revision",
        "state",
        "coverage",
        "partial_reason",
        "pages",
        "returned_rows",
        "accepted_candidates",
        "rejected_rows",
        "duplicate_rows",
        "provider_total_count",
        "created_at",
        "retrieved_at",
        "expires_at"
      ],
      "additionalProperties": false
    },
    "items": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "v": {
            "type": "number",
            "const": 1
          },
          "id": {
            "type": "string",
            "pattern": "^dc_[a-f0-9]{64}$",
            "description": "Resource identifier returned by the operation."
          },
          "workspace_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "description": "Workspace that owns this record."
          },
          "project_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "description": "Project that owns this record."
          },
          "discovery_run_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[a-zA-Z0-9_-]+$"
          },
          "source_url": {
            "type": "string",
            "maxLength": 4096,
            "description": "Publisher page URL recorded in this evidence."
          },
          "target_url": {
            "type": "string",
            "maxLength": 4096,
            "description": "Destination URL recorded in this evidence."
          },
          "provider": {
            "type": "string",
            "enum": [
              "linktrail_corpus",
              "dataforseo",
              "imported"
            ]
          },
          "data_mode": {
            "type": "string",
            "enum": [
              "synthetic",
              "owned_corpus",
              "provider_index",
              "imported"
            ]
          },
          "provider_task_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[a-zA-Z0-9_-]+$"
          },
          "provider_retrieved_at": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$",
            "description": "Timestamp when the upstream evidence was retrieved."
          },
          "provider_first_seen": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider_prev_seen": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider_last_seen": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider_status": {
            "type": "object",
            "properties": {
              "is_lost": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_broken": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_new": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "is_lost",
              "is_broken",
              "is_new"
            ],
            "additionalProperties": false
          },
          "anchor": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4096
              },
              {
                "type": "null"
              }
            ]
          },
          "rel": {
            "anyOf": [
              {
                "maxItems": 32,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "dofollow": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "link_type": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "source_http_status": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 100,
                "maximum": 599
              },
              {
                "type": "null"
              }
            ]
          },
          "target_http_status": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 100,
                "maximum": 599
              },
              {
                "type": "null"
              }
            ]
          },
          "links_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "provider_metrics": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "dataforseo": {
                    "type": "object",
                    "properties": {
                      "rank": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "page_from_rank": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "domain_from": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 253
                      },
                      "domain_from_rank": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "backlink_spam_score": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "rank_scale": {
                        "type": "string",
                        "const": "one_thousand"
                      }
                    },
                    "required": [
                      "rank",
                      "page_from_rank",
                      "domain_from_rank",
                      "backlink_spam_score",
                      "rank_scale"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "dataforseo"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "imported": {
                    "type": "object",
                    "properties": {
                      "supplier": {
                        "type": "string",
                        "enum": [
                          "ahrefs",
                          "google_search_console",
                          "bing_webmaster_tools",
                          "semrush",
                          "majestic",
                          "moz",
                          "dataforseo",
                          "linkody",
                          "csv"
                        ]
                      },
                      "supplier_row_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 256
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "target_basis": {
                        "type": "string",
                        "enum": [
                          "supplier_observed",
                          "user_supplied_target_expectation"
                        ]
                      },
                      "supplier_generated_at": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "supplier_metrics": {
                        "anyOf": [
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "maxLength": 256
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "supplier",
                      "supplier_row_id",
                      "supplier_generated_at",
                      "supplier_metrics"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "imported"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "linktrail_corpus": {
                    "type": "object",
                    "properties": {
                      "source_outlink_count": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "source_external_outlink_count": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "fetch_kind": {
                        "type": "string",
                        "enum": [
                          "direct",
                          "rendered",
                          "proxied"
                        ]
                      },
                      "extraction_complete": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "source_outlink_count",
                      "source_external_outlink_count",
                      "fetch_kind",
                      "extraction_complete"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "linktrail_corpus"
                ],
                "additionalProperties": false
              }
            ]
          },
          "verification_status": {
            "type": "string",
            "enum": [
              "not_checked",
              "present",
              "absent",
              "unknown",
              "source_unavailable"
            ],
            "description": "AgentLinkOps check state, independent of supplier flags. not_checked means no AgentLinkOps check is recorded."
          },
          "verified_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$",
                "description": "Timestamp of the AgentLinkOps check; null until checked."
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp of the AgentLinkOps check; null until checked."
          },
          "observation_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 128,
                "pattern": "^[a-zA-Z0-9_-]+$"
              },
              {
                "type": "null"
              }
            ]
          },
          "evidence_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024,
                "description": "Reference to retained evidence from the check."
              },
              {
                "type": "null"
              }
            ],
            "description": "Reference to retained evidence from the check."
          },
          "analysis": {
            "type": "object",
            "properties": {
              "source_check": {
                "type": "object",
                "properties": {
                  "state": {
                    "type": "string",
                    "enum": [
                      "not_started",
                      "pending",
                      "running",
                      "completed",
                      "failed",
                      "unavailable"
                    ],
                    "description": "Saved lifecycle or evidence state, as enumerated for this record."
                  },
                  "verdict": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "present",
                          "absent",
                          "unknown",
                          "source_unavailable"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "Recorded explanation; null when no explanation applies."
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Recorded explanation; null when no explanation applies."
                  },
                  "checked_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "UTC timestamp of the saved check."
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "UTC timestamp of the saved check."
                  },
                  "job_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "state",
                  "verdict",
                  "reason",
                  "checked_at",
                  "job_id"
                ],
                "additionalProperties": false
              },
              "occurrence_context": {
                "type": "object",
                "properties": {
                  "state": {
                    "type": "string",
                    "enum": [
                      "not_started",
                      "pending",
                      "completed",
                      "partial",
                      "failed",
                      "unavailable",
                      "previous"
                    ],
                    "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."
                  },
                  "capture_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "occurrence_count": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "state",
                  "reason",
                  "capture_id",
                  "occurrence_count"
                ],
                "additionalProperties": false
              },
              "assessment": {
                "type": "object",
                "properties": {
                  "state": {
                    "type": "string",
                    "enum": [
                      "not_started",
                      "pending",
                      "completed",
                      "partial",
                      "failed",
                      "unavailable",
                      "previous",
                      "no_role"
                    ],
                    "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."
                  },
                  "category_contract": {
                    "description": "Version of the shared table, API and export category projection.",
                    "type": "string",
                    "const": "link-category-v1"
                  },
                  "chosen_category": {
                    "description": "The saved choice and recorded account attribution. Cleared keeps the type empty; automatic permits eligible existing page evidence to supply the displayed category. Neither action reviews or starts AI work.",
                    "type": "object",
                    "properties": {
                      "intent": {
                        "type": "string",
                        "enum": [
                          "chosen",
                          "cleared",
                          "automatic"
                        ]
                      },
                      "id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "contextual_citation",
                              "guest_post",
                              "recommendation",
                              "resource_entry",
                              "technical_reference",
                              "directory_entry",
                              "profile_website",
                              "author_attribution",
                              "discussion_contribution",
                              "navigation_template",
                              "badge_embed_attribution",
                              "partner_sponsor",
                              "other"
                            ],
                            "description": "Resource identifier returned by the operation."
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Resource identifier returned by the operation."
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "standard_name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "actor_id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "recorded_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991,
                        "description": "Saved label revision; pass as revision to set_link_type. Required for intent=automatic."
                      },
                      "deliberate_clear": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intent",
                      "id",
                      "name",
                      "standard_name",
                      "actor_id",
                      "recorded_at",
                      "revision",
                      "deliberate_clear"
                    ],
                    "additionalProperties": {}
                  },
                  "page_assessment": {
                    "description": "What retained page evidence says about link occurrences. Applicability separates current, previous, expired and unavailable evidence. Suggested is provisional; accepted_manual requires a recorded review; accepted_auto requires a qualified saved policy.",
                    "type": "object",
                    "properties": {
                      "status": {
                        "type": "string",
                        "enum": [
                          "ready",
                          "unavailable"
                        ],
                        "description": "Resource lifecycle status."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Recorded explanation; null when no explanation applies."
                      },
                      "read_reason": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "explanation": {
                        "type": "string"
                      },
                      "applicability": {
                        "type": "string"
                      },
                      "binding": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "workspaceId": {
                                "type": "string"
                              },
                              "projectId": {
                                "type": "string"
                              },
                              "watchId": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "workspaceId",
                              "projectId",
                              "watchId"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "capture": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Resource identifier returned by the operation."
                              },
                              "manifest_id": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "observation_id": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "observed_at": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "description": "UTC timestamp of the observation used here."
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "UTC timestamp of the observation used here."
                              },
                              "expires_at": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "manifest_id",
                              "observation_id",
                              "observed_at",
                              "expires_at"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "source": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "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."
                              },
                              "observed_at": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "description": "UTC timestamp of the observation used here."
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "UTC timestamp of the observation used here."
                              },
                              "observation_id": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pageUnavailable": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "state",
                              "observed_at",
                              "observation_id",
                              "pageUnavailable"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "assessed_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "revision": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991,
                            "description": "Highest retained eligible occurrence decision or review revision, or null. Evidence provenance, not a write token."
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Highest retained eligible occurrence decision or review revision, or null. Evidence provenance, not a write token."
                      },
                      "model_revisions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "model": {
                              "type": "string"
                            },
                            "revision": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "description": "Recorded model version or revision, or null. Evidence provenance, not a write token."
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Recorded model version or revision, or null. Evidence provenance, not a write token."
                            }
                          },
                          "required": [
                            "model",
                            "revision"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "policy_revisions": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "taxonomy_version": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "rubric_version": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "policy_revision": {
                              "anyOf": [
                                {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "number"
                                    }
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "Recorded policy revision as a string or number, or null. Evidence provenance, not a write token."
                            }
                          },
                          "required": [
                            "taxonomy_version",
                            "rubric_version",
                            "policy_revision"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "roles": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "enum": [
                                "contextual_citation",
                                "guest_post",
                                "recommendation",
                                "resource_entry",
                                "technical_reference",
                                "directory_entry",
                                "profile_website",
                                "author_attribution",
                                "discussion_contribution",
                                "navigation_template",
                                "badge_embed_attribution",
                                "partner_sponsor",
                                "other"
                              ],
                              "description": "Resource identifier returned by the operation."
                            },
                            "name": {
                              "type": "string"
                            },
                            "standard_name": {
                              "type": "string"
                            },
                            "count": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "states": {
                              "type": "object",
                              "properties": {
                                "suggested": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "accepted_manual": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "accepted_auto": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "suggested",
                                "accepted_manual",
                                "accepted_auto"
                              ],
                              "additionalProperties": {}
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "standard_name",
                            "count",
                            "states"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "decision_state": {
                        "type": "string",
                        "enum": [
                          "suggested",
                          "accepted_manual",
                          "accepted_auto",
                          "mixed",
                          "none"
                        ]
                      },
                      "mixed": {
                        "type": "boolean"
                      },
                      "coverage": {
                        "type": "object",
                        "properties": {
                          "assessed": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "classified": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "eligible": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "retained": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "excluded": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unassessed": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unclassified": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "partial": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "assessed",
                          "classified",
                          "eligible",
                          "retained",
                          "excluded",
                          "unassessed",
                          "unclassified",
                          "partial"
                        ],
                        "additionalProperties": {},
                        "description": "Occurrence counts for this watch. Null means unavailable. Assessed counts completed evaluations, including inconclusive ones. Classified counts occurrences with a determined role; partial describes type coverage. Retained includes excluded occurrences. Counts do not represent separate watched links."
                      },
                      "pending_count": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "failed_count": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "job_count": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "review_required_count": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "status",
                      "reason",
                      "read_reason",
                      "explanation",
                      "applicability",
                      "binding",
                      "capture",
                      "source",
                      "assessed_at",
                      "revision",
                      "model_revisions",
                      "policy_revisions",
                      "roles",
                      "decision_state",
                      "mixed",
                      "coverage",
                      "pending_count",
                      "failed_count",
                      "job_count",
                      "review_required_count"
                    ],
                    "additionalProperties": {}
                  },
                  "display_category": {
                    "description": "The category shown in the everyday table. A deliberate saved choice takes precedence. Otherwise page evidence supplies a category or Mixed types, with its evidence state. Read the reason when no category is available.",
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "enum": [
                          "chosen",
                          "page_assessment",
                          "none"
                        ]
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "category",
                          "mixed",
                          "cleared",
                          "unknown"
                        ]
                      },
                      "id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "contextual_citation",
                              "guest_post",
                              "recommendation",
                              "resource_entry",
                              "technical_reference",
                              "directory_entry",
                              "profile_website",
                              "author_attribution",
                              "discussion_contribution",
                              "navigation_template",
                              "badge_embed_attribution",
                              "partner_sponsor",
                              "other"
                            ],
                            "description": "Resource identifier returned by the operation."
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Resource identifier returned by the operation."
                      },
                      "name": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string",
                        "description": "Saved lifecycle or evidence state, as enumerated for this record."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Recorded explanation; null when no explanation applies."
                      },
                      "applicability": {
                        "type": "string"
                      },
                      "coverage": {
                        "type": "object",
                        "properties": {
                          "assessed": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "classified": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "eligible": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "retained": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "excluded": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unassessed": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "unclassified": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "partial": {
                            "anyOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "assessed",
                          "classified",
                          "eligible",
                          "retained",
                          "excluded",
                          "unassessed",
                          "unclassified",
                          "partial"
                        ],
                        "additionalProperties": {},
                        "description": "Occurrence counts for this watch. Null means unavailable. Assessed counts completed evaluations, including inconclusive ones. Classified counts occurrences with a determined role; partial describes type coverage. Retained includes excluded occurrences. Counts do not represent separate watched links."
                      }
                    },
                    "required": [
                      "source",
                      "kind",
                      "id",
                      "name",
                      "state",
                      "reason",
                      "applicability",
                      "coverage"
                    ],
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "state",
                  "reason"
                ],
                "additionalProperties": false
              },
              "watch_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "google_index": {
                "type": "object",
                "properties": {
                  "state": {
                    "type": "string",
                    "const": "unavailable",
                    "description": "Saved lifecycle or evidence state, as enumerated for this record."
                  },
                  "reason": {
                    "type": "string",
                    "const": "COMPETITOR_PROPERTY_ACCESS_UNAVAILABLE",
                    "description": "Recorded explanation; null when no explanation applies."
                  }
                },
                "required": [
                  "state",
                  "reason"
                ],
                "additionalProperties": false
              },
              "recurring_monitoring_created": {
                "type": "boolean",
                "const": false,
                "description": "Whether this operation enrolled recurring monitoring."
              }
            },
            "required": [
              "source_check",
              "occurrence_context",
              "assessment",
              "watch_id",
              "google_index",
              "recurring_monitoring_created"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "v",
          "id",
          "workspace_id",
          "project_id",
          "discovery_run_id",
          "source_url",
          "target_url",
          "provider",
          "data_mode",
          "provider_task_id",
          "provider_retrieved_at",
          "provider_first_seen",
          "provider_prev_seen",
          "provider_last_seen",
          "provider_status",
          "anchor",
          "rel",
          "dofollow",
          "link_type",
          "source_http_status",
          "target_http_status",
          "links_count",
          "provider_metrics",
          "verification_status",
          "verified_at",
          "observation_id",
          "evidence_id",
          "analysis"
        ],
        "additionalProperties": false,
        "description": "Records in this bounded page."
      },
      "description": "Records in this bounded page."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string",
          "description": "Opaque continuation for the same listing; null means no further page."
        },
        {
          "type": "null"
        }
      ],
      "description": "Opaque continuation for the same listing; null means no further page."
    },
    "outcome_revision": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "snapshot",
    "items",
    "next_cursor",
    "outcome_revision"
  ],
  "additionalProperties": false
}
