Foundry PAR-007
Repair bounded near-JSON into valid deterministic JSON and optionally validate a safe JSON Schema subset.
Offering
- Provider
- foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Development
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v1/json/repair- MIME type
- Not provided
- First seen
- 2026-10-16T01:50:14.534Z
- Last seen
- Tags
- JSON, repair, Validation, deterministic
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608"
}
]Observed health
- Status
- Reachable
- Latest latency
- 293 ms
- Average latency
- 944 ms
- HTTP status
- 405
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"max_repairs": {
"default": 8,
"maximum": 12,
"minimum": 0,
"type": "integer"
},
"schema": {
"description": "Optional bounded JSON Schema subset.",
"type": "object"
},
"text": {
"maxLength": 32768,
"minLength": 1,
"type": "string"
}
},
"required": [
"text"
],
"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 schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"max_repairs": {
"default": 8,
"maximum": 12,
"minimum": 0,
"type": "integer"
},
"schema": {
"description": "Optional bounded JSON Schema subset.",
"type": "object"
},
"text": {
"maxLength": 32768,
"minLength": 1,
"type": "string"
}
},
"required": [
"text"
],
"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": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"endpoint": {
"const": "json-contract-repair",
"type": "string"
},
"protocol": {
"const": "x402-v2",
"type": "string"
},
"result": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"input_sha256": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"normalized_json": {
"type": "string"
},
"output_sha256": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"repaired": {
"type": "boolean"
},
"repairs": {
"items": {
"type": "string"
},
"type": "array"
},
"schema_errors": {
"items": {
"type": "string"
},
"type": "array"
},
"schema_valid": {
"type": "boolean"
},
"valid": {
"const": true,
"type": "boolean"
},
"value": {
"description": "Repaired JSON value; any valid JSON type is allowed"
}
},
"required": [
"repaired",
"repairs",
"input_sha256",
"valid",
"value",
"normalized_json",
"schema_valid",
"schema_errors",
"output_sha256"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"error": {
"enum": [
"UNREPAIRABLE_JSON",
"MAX_DEPTH_EXCEEDED"
],
"type": "string"
},
"input_sha256": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"repaired": {
"type": "boolean"
},
"repairs": {
"items": {
"type": "string"
},
"type": "array"
},
"valid": {
"const": false,
"type": "boolean"
}
},
"required": [
"repaired",
"repairs",
"input_sha256",
"valid",
"error"
],
"type": "object"
}
]
},
"service": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"endpoint",
"protocol",
"result",
"service",
"version"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}