{"slug":"fastapi-service-5ag4-onrender-com-verify-schema-9c634f","title":"General-purpose JSON Schema validation service","host":"fastapi-service-5ag4.onrender.com","method":"POST","resource":"https://fastapi-service-5ag4.onrender.com/verify/schema","category":"code","description":"General-purpose JSON Schema validation service. Validates any JSON value — agent tool outputs, API responses, generated documents, configuration payloads, or data exchanged between agents — against a caller-supplied JSON Schema (draft-04 through 2020-12) and returns every violation found, not just t","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":272,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"expected_schema":{"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"submitted_output":{"name":"Alice"},"task_id":"example-task-001"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Agent Id"},"bounds":{"anyOf":[{"additionalProperties":{"description":"Optional inclusive min/max for one field. Numbers, or ISO-8601 date /\ndatetime strings (compared as datetimes; naive values are treated as UTC).","properties":{"max":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}],"default":null,"title":"Max"},"min":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}],"default":null,"title":"Min"}},"title":"Bound","type":"object"},"maxProperties":50,"type":"object"},{"type":"null"}],"default":null,"description":"Optional per-field min/max, keyed by dotted path with '[]' array wildcard (e.g. 'items[].price'). Numbers or ISO-8601 dates. Violations are reported as informational flags only.","title":"Bounds"},"expected_schema":{"additionalProperties":true,"title":"Expected Schema","type":"object"},"rules":{"anyOf":[{"items":{"description":"One caller-supplied cross-field rule. Paths use dotted keys with '[]'\nas an array wildcard, e.g. 'items[].price' or 'order.total'.\n\n  sum_equals: sum of `field` values == `equals_field` value (or `equals`)\n  gte / lte:  `field` >= / <= `other_field` value (or `value`)\n  exists_in:  every `field` value is among `in_field` values (or `values`)\n  unique:     no duplicates among `field` values; if `field` names an\n              array itself, no duplicate elements in it","properties":{"equals":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"title":"Equals"},"equals_field":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Equals Field"},"field":{"title":"Field","type":"string"},"in_field":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"In Field"},"other_field":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Other Field"},"tolerance":{"default":1e-09,"minimum":0,"title":"Tolerance","type":"number"},"type":{"enum":["sum_equals","gte","lte","exists_in","unique"],"title":"Type","type":"string"},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}],"default":null,"title":"Value"},"values":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"default":null,"title":"Values"}},"required":["type","field"],"title":"ConsistencyRule","type":"object"},"maxItems":50,"type":"array"},{"type":"null"}],"default":null,"description":"Optional cross-field rules: sum_equals, gte, lte, exists_in, unique (duplicate detection). Violations are reported as informational flags only.","title":"Rules"},"strict_content_check":{"default":false,"description":"Opt-in. When true, any string in submitted_output containing control characters (e.g. null bytes) or embedded HTML/script markup makes the result 'fail'. When false (default) this is not checked at all.","title":"Strict Content Check","type":"boolean"},"submitted_output":{"title":"Submitted Output"},"task_id":{"title":"Task Id","type":"string"}},"required":["task_id","expected_schema","submitted_output"],"title":"VerifySchemaRequest","type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"attestation":{"description":"Ed25519 signature over this response (every field above) plus the timestamp and key_version. The timestamp is this service's own clock, not an externally verified one. Public key and verification steps: /.well-known/agent-card.json, capabilities.extensions (attestation entry).","properties":{"algorithm":{"const":"Ed25519","title":"Algorithm","type":"string"},"key_version":{"title":"Key Version","type":"string"},"signature":{"title":"Signature","type":"string"},"timestamp":{"title":"Timestamp","type":"string"}},"required":["algorithm","key_version","timestamp","signature"],"title":"Attestation","type":"object"},"errors":{"items":{"type":"string"},"title":"Errors","type":"array"},"flags":{"description":"Informational integrity findings (placeholder text, possible truncation, bounds and consistency-rule violations). Never affect 'result'.","items":{"properties":{"check":{"title":"Check","type":"string"},"detail":{"title":"Detail","type":"string"},"field":{"title":"Field","type":"string"},"severity":{"const":"info","default":"info","title":"Severity","type":"string"}},"required":["check","field","detail"],"title":"Flag","type":"object"},"title":"Flags","type":"array"},"result":{"enum":["pass","fail"],"title":"Result","type":"string"},"task_id":{"title":"Task Id","type":"string"},"verified_at":{"title":"Verified At","type":"string"},"verifier_version":{"title":"Verifier Version","type":"string"}},"required":["task_id","result","errors","verified_at","verifier_version","attestation"],"title":"VerifySchemaResponse","type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":272,"error":null}],"description_full":"General-purpose JSON Schema validation service. Validates any JSON value — agent tool outputs, API responses, generated documents, configuration payloads, or data exchanged between agents — against a caller-supplied JSON Schema (draft-04 through 2020-12) and returns every violation found, not just the first. Read-only: never modifies the submitted data.","last_updated":"2026-09-22T00:48:13.598Z","schemes":["exact"]}