{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Cleard Phase 1 fictional purchase",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema_version",
    "mode",
    "purchase_id",
    "merchant_id",
    "order_id",
    "asset",
    "network",
    "amount_units",
    "asset_decimals",
    "payment_destination",
    "refund_beneficiary",
    "collection_source",
    "policy_version",
    "maximum_refund_units",
    "claim_window_seconds",
    "claim_window_starts_at",
    "delivery_due_seconds_after_settlement",
    "covered_failure",
    "evidence_rules",
    "decision_authority",
    "partial_collection_allowed",
    "guarantee",
    "offer_expires_at",
    "nonce",
    "signature",
    "verification_status"
  ],
  "properties": {
    "schema_version": {
      "type": "string"
    },
    "mode": {
      "type": "string",
      "const": "simulation"
    },
    "purchase_id": {
      "type": "string"
    },
    "merchant_id": {
      "type": "string"
    },
    "order_id": {
      "type": "string"
    },
    "asset": {
      "type": "string"
    },
    "network": {
      "type": "string"
    },
    "amount_units": {
      "type": "integer",
      "minimum": 0
    },
    "asset_decimals": {
      "type": "integer",
      "minimum": 0
    },
    "payment_destination": {
      "type": "string"
    },
    "refund_beneficiary": {
      "type": "string"
    },
    "collection_source": {
      "type": "string"
    },
    "policy_version": {
      "type": "string"
    },
    "maximum_refund_units": {
      "type": "integer",
      "minimum": 0
    },
    "claim_window_seconds": {
      "type": "integer",
      "minimum": 0
    },
    "claim_window_starts_at": {
      "type": "string"
    },
    "delivery_due_seconds_after_settlement": {
      "type": "integer",
      "minimum": 0
    },
    "covered_failure": {
      "type": "string"
    },
    "evidence_rules": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "decision_authority": {
      "type": "string"
    },
    "partial_collection_allowed": {
      "type": "boolean"
    },
    "guarantee": {
      "type": "null"
    },
    "offer_expires_at": {
      "type": "string"
    },
    "nonce": {
      "type": "string"
    },
    "signature": {
      "type": "null",
      "description": "No cryptographic signature exists in this Phase 1 fixture."
    },
    "verification_status": {
      "type": "string"
    }
  }
}
