{"uid":"cap_yVk_2GaGmJLbnOYbq5DQB","slug":"json-cross-field-order-6a7b3cb1","name":"JSON Cross Field Order","description":"JSON Cross Field Order: JSON Cross Field Order checks two numeric fields for a caller-selected ordering relation from bounded caller-supplied values without an external provider. Call JSON Cross Field Order before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Cross Field Order as versioned deterministic JSON. Price: $0.…","url":"https://api.delx.ai/api/v1/x402/json-cross-field-order","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"object":{"type":"object","description":"Object supplied to JSON Cross Field Order; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true},"relation":{"type":"string","maxLength":8192,"description":"Relation supplied to JSON Cross Field Order; used only for this bounded calculation and processed in memory without retention."},"left_field":{"type":"string","maxLength":8192,"description":"Left Field supplied to JSON Cross Field Order; used only for this bounded calculation and processed in memory without retention."},"right_field":{"type":"string","maxLength":8192,"description":"Right Field supplied to JSON Cross Field Order; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"left":1,"right":10,"passed":true,"relation":"lte"},"schema":"delx/util-json-cross-field-order/v1","status":"pass","evidence":{"retained":false,"input_sha256":"0eefc5177112e97ab4f032636f3cff5f82ee8866f4f9bb4e74667c81c8bc5165","external_calls":0},"operation":"data_batch:json_cross_field_order"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sBg4CNux2M7GHfaN6c25q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates or checks the ordering relation (e.g. less-than, greater-than, equal) between two numeric fields within a JSON object, returning a versioned deterministic result.","exampleAgentPrompt":"Check if the 'min_price' field is less than the 'max_price' field in this JSON object: {\"min_price\": 50, \"max_price\": 120, \"item\": \"widget\"} — use the 'lt' relation.","exampleUseCases":[{"title":"Budget range constraint validation","prompt":"Before I send this pricing object to the order system, check that 'budget_floor' is less than 'budget_ceiling' — here's the object: {\"budget_floor\": 200, \"budget_ceiling\": 500, \"currency\": \"USD\"}, use relation 'lt'."},{"title":"Inventory threshold ordering check","prompt":"I need to verify that 'reorder_point' is less than or equal to 'max_stock' in this inventory record: {\"reorder_point\": 30, \"max_stock\": 100, \"sku\": \"ABC-9\"}, relation should be 'lte'."},{"title":"Timeline field ordering assertion","prompt":"Can you confirm that 'start_block' is strictly less than 'end_block' in this schedule object: {\"start_block\": 1000, \"end_block\": 2500, \"job_id\": \"j-42\"}, using the 'lt' relation?"}],"resultDescription":"Returns a versioned deterministic JSON result containing the validation outcome (pass/fail), the normalized values of both compared fields, counts, and a versioned result contract indicating whether the specified ordering relation holds between the two fields.","failureModes":["Field names not found in the object — returns an error or failed validation result","Specified fields are non-numeric — type mismatch error","Invalid or unrecognized relation string — returns an error indicating unsupported relation","Object exceeds maxProperties 128 limit — request rejected","Missing required fields (object, relation, left_field, right_field) — validation error"],"whenToPreferThis":"Use this endpoint when an agent needs to enforce a cross-field numeric ordering constraint on a JSON object before handing it off to a downstream tool or system with strict data contracts. It is ideal when you need a deterministic, versioned, auditable validation result rather than writing ad-hoc comparison logic. Prefer it over general-purpose code execution when you want a lightweight, pay-per-call, stateless check with a standardized output envelope.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:29.155Z","isFirstParty":false}