{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://theloopbreaker.com/schemas/x402-owner-screenshot-review.schema.json",
  "title": "Vaultfire x402 owner screenshot review",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "$schema",
    "schema",
    "reviewedScreenshotCount",
    "exactDuplicatePairCount",
    "visibleTransactionHashCount",
    "matchedReferenceTransactionCount",
    "referenceTransactionCount",
    "visibleOnchainReceiptCount",
    "visiblePaymentResponseReceiptCount",
    "visibleFacilitatorResultCount",
    "visibleExternalWalletInvocationCount",
    "visibleCoinbaseBazaarDiscoveryCount",
    "visibleRouteEvidence",
    "unverifiedVisibleAssertions",
    "activation",
    "conclusion"
  ],
  "properties": {
    "$schema": {
      "const": "../schemas/x402-owner-screenshot-review.schema.json"
    },
    "schema": {
      "const": "vaultfire.x402.owner-screenshot-review.v1"
    },
    "reviewedScreenshotCount": {
      "const": 20
    },
    "exactDuplicatePairCount": {
      "const": 3
    },
    "visibleTransactionHashCount": {
      "const": 0
    },
    "matchedReferenceTransactionCount": {
      "const": 0
    },
    "referenceTransactionCount": {
      "const": 19
    },
    "visibleOnchainReceiptCount": {
      "const": 0
    },
    "visiblePaymentResponseReceiptCount": {
      "const": 0
    },
    "visibleFacilitatorResultCount": {
      "const": 0
    },
    "visibleExternalWalletInvocationCount": {
      "const": 0
    },
    "visibleCoinbaseBazaarDiscoveryCount": {
      "const": 0
    },
    "visibleRouteEvidence": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "routePattern",
          "method",
          "hostnameVisible"
        ],
        "properties": {
          "routePattern": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "hostnameVisible": {
            "type": "boolean"
          }
        }
      }
    },
    "unverifiedVisibleAssertions": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "claim",
          "independentDiscoveryEvidenceVisible"
        ],
        "properties": {
          "claim": {
            "type": "string"
          },
          "independentDiscoveryEvidenceVisible": {
            "const": false
          }
        }
      }
    },
    "activation": {
      "const": "fail-closed-no-payment-or-response-correlation"
    },
    "conclusion": {
      "type": "string",
      "minLength": 1
    }
  }
}
