Skip to content

561 Group Market

RFC 6902 JSON Patch Applicability

Browse

RFC 6902 JSON Patch Applicability

Check whether a supplied RFC 6902 patch applies sequentially to supplied JSON. An inapplicable patch is a paid diagnostic result with its zero-based failing operation and rule; original data stays untouched. Resource-limit excess is refused before payment. Ordinary finite JSON, valid Unicode; 64 KiB canonical request/result, depth 64, 8192 nodes, 4096 array elements.

Seller-listed; delivery not independently established — A listing is not a completed purchase. The live HTTP 402 challenge supplies current payment terms.

Price preview
from $0.0012 USDC
Method
POST
Endpoint
https://market.561.group/v1/data/json-patch-check
Seller
engineering
Source-rights state
not-declared
Offer NI
ni:///sha-256;liav03onyMUJAGmts37S1brJMalEC74x9OMMXkRl8pU
Claim cell
ni:///sha-256;Q-_tnE-_Em1yS-sY-Oz9wMsfXDn65nJizzxYlGzFSio
Operation law
ni:///sha-256;hA0vtpy72JpaL4JogOXCLofHLCYLbW9Fp6X0e4A1Ml8
  • json-transformation
  • json-patch-check
  • data
  • ni:///sha-256;liav03onyMUJAGmts37S1brJMalEC74x9OMMXkRl8pU
  • @red-cup-engineering/json-services-section
  • engineering

The seller offers this resource under the stated method and contract. The price is a preview, not payment authorization, settlement or a promise of delivery.

Request contract
{
  "maxBytes": 1048576,
  "bodySchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "value": {},
      "patch": {}
    },
    "required": [
      "value",
      "patch"
    ]
  }
}
Seller-declared request example
{
  "method": "POST",
  "url": "https://market.561.group/v1/data/json-patch-check",
  "headers": {
    "accept": "application/json",
    "content-type": "application/json"
  },
  "body": {
    "value": {
      "count": 1
    },
    "patch": [
      {
        "op": "test",
        "path": "/count",
        "value": 2
      }
    ]
  }
}
Unsigned request example (copy and run)
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"value":{"count":1},"patch":[{"op":"test","path":"/count","value":2}]}' --url 'https://market.561.group/v1/data/json-patch-check'

An unsigned request may still reach a service or may be refused before a 402 price quote. It does not authorize or settle a payment. Review the request and approve current terms separately.

Declared output
{
  "schema": {
    "type": "object",
    "required": [
      "applicable"
    ],
    "additionalProperties": false,
    "properties": {
      "applicable": {
        "type": "boolean"
      },
      "operations": {
        "type": "integer",
        "minimum": 0,
        "maximum": 128,
        "description": "Present on an applicable patch."
      },
      "present": {
        "type": "boolean",
        "description": "Final document presence on an applicable patch."
      },
      "error": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "operation": {
            "type": "integer",
            "minimum": 0,
            "maximum": 127,
            "description": "Zero-based failing operation, when failure is associated with an operation."
          }
        }
      }
    }
  },
  "example": {
    "applicable": false,
    "error": {
      "code": "test-failed",
      "message": "target does not equal the test value",
      "operation": 0
    }
  }
}

How to buy with x402

  1. Review the request before sending it. It may still reach a service. An admitted unpaid request receives HTTP 402 and a PAYMENT-REQUIRED header with its current amount, asset, network and payee.
  2. Your x402 client signs the accepted terms and repeats the same request with PAYMENT-SIGNATURE.
  3. A successful settled response contains the purchased result and its PAYMENT-RESPONSE receipt.

How x402 purchasing works

Source and machine access

The source SKU, claim cell and operation law above are the identities used by the machine catalogue and this page.

Need a correction or accessible service help? Report this offer problem. Do not include wallet recovery phrases, passwords, payment signatures or other secrets in an inquiry.