{
  "x402Version": 2,
  "id": 1437,
  "slug": "1437",
  "resource": "https://www.mahastrategies.com/api/v1/micro/policy-version-comparison",
  "description": "Review a structured policy revision before release. Compare up to 40 caller-supplied clauses per version by stable ID, text and scope; report additions, removals and changes. Checks declared chronology, not legal effect, applicability or compliance.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "17000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "after": [
              {
                "clauseId": "retain",
                "scope": "sandbox",
                "text": "Retain for three days."
              }
            ],
            "afterSequence": 2,
            "afterVersion": "v2",
            "before": [
              {
                "clauseId": "retain",
                "scope": "sandbox",
                "text": "Retain for seven days."
              }
            ],
            "beforeSequence": 1,
            "beforeVersion": "v1",
            "dataClass": "synthetic",
            "policyId": "example-policy"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "amountBaseUnits": "17000",
            "boundaries": [
              "Public or synthetic inputs only. Caller labels are declarations,…"
            ],
            "inputDigest": "sha256:7b79acb2a65dfb30f4c116e2c4e5b4d132e30dbeb6c0205acffe42c57…",
            "offerId": "policy-version-comparison",
            "receiptDigest": "sha256:d30406e9a7aec34b69314254146b7865961e2d935684e8b9c1a1a9179…",
            "result": {
              "added": [],
              "afterDigest": "sha256:104dd5865b0149480461aa21a51f2edfa4ba0d51c60aad999496b0fa4…",
              "beforeDigest": "sha256:2b44232263e7fe7e523c334678c39988458d71e04c3b82c3f6d1743df…",
              "changed": [
                {
                  "clauseId": "retain",
                  "fields": [
                    "text"
                  ]
                }
              ],
              "legalEffectDetermined": false,
              "policyId": "example-policy",
              "removed": []
            },
            "version": "maha-microproducts/0.1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "after": {
                    "maxItems": 40,
                    "minItems": 0,
                    "type": "array"
                  },
                  "afterSequence": {
                    "maximum": 1000000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "afterVersion": {
                    "maxLength": 80,
                    "type": "string"
                  },
                  "before": {
                    "maxItems": 40,
                    "minItems": 0,
                    "type": "array"
                  },
                  "beforeSequence": {
                    "maximum": 1000000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "beforeVersion": {
                    "maxLength": 80,
                    "type": "string"
                  },
                  "dataClass": {
                    "enum": [
                      "public",
                      "synthetic"
                    ],
                    "type": "string"
                  },
                  "policyId": {
                    "maxLength": 80,
                    "type": "string"
                  }
                },
                "required": [
                  "dataClass",
                  "policyId",
                  "beforeVersion",
                  "afterVersion",
                  "beforeSequence",
                  "afterSequence",
                  "before",
                  "after"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "amountBaseUnits": {
                    "enum": [
                      "17000"
                    ],
                    "type": "string"
                  },
                  "boundaries": {
                    "maxItems": 128,
                    "minItems": 0,
                    "type": "array"
                  },
                  "inputDigest": {
                    "maxLength": 71,
                    "type": "string"
                  },
                  "offerId": {
                    "enum": [
                      "policy-version-comparison"
                    ],
                    "type": "string"
                  },
                  "receiptDigest": {
                    "maxLength": 71,
                    "type": "string"
                  },
                  "result": {
                    "type": "object"
                  },
                  "version": {
                    "enum": [
                      "maha-microproducts/0.1"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "version",
                  "offerId",
                  "amountBaseUnits",
                  "inputDigest",
                  "result",
                  "boundaries",
                  "receiptDigest"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "declaration-integrity": {
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/policy-version-comparison",
      "declarationDigest": "sha256:86358c12361fd3581cb13973e0c0038180bb43a6046a64e6f85fddc00904ddc7",
      "metadataVersion": "2026-08-10"
    },
    "maha-offer": {
      "amount": "17000",
      "asset": "USDC",
      "assetDecimals": 6,
      "canonicalResource": "https://www.mahastrategies.com/api/v1/micro/policy-version-comparison",
      "declarationInline": "compact",
      "declarationUrl": "https://www.mahastrategies.com/api/discovery/x402-offers/policy-version-comparison",
      "fullSourceTextStored": false,
      "maxRequestBytes": 32768,
      "method": "POST",
      "network": "eip155:8453",
      "offerId": "policy-version-comparison",
      "payableInProduction": true,
      "status": "available",
      "verbatimExcerptsRetained": false
    }
  },
  "tags": [
    "bazaar",
    "declaration-integrity",
    "maha-offer"
  ],
  "sourceHost": "www.mahastrategies.com",
  "lastUpdated": "2026-09-13T06:55:06.987Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-13T06:55:06.621Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.mahastrategies.com",
    "manifest_name": "www.mahastrategies.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}