{"id":"json-schema-validate","version":"1.0.0","description":"Validate a JSON instance against ComputeFirst Schema 1.0.","supported_operations":["json schema validate","validate json against schema","check json instance against schema","computefirst schema validate"],"unsupported_operations":["regex patterns","string formats","remote $ref","float numbers","allOf anyOf oneOf not","draft-2020-12 full"],"semantics":["ComputeFirst Schema 1.0 is a closed keyword subset; unknown schema keys are rejected.","type is a single string: null, boolean, string, integer, object, or array. integer means Number.isSafeInteger; numeric strings do not match.","const uses exact JSON equality (object key order does not matter). enum lists at most 64 such values.","Object checks use own keys only. required names are unique and checked in listed order. additionalProperties is a boolean and defaults to true.","items is one subschema applied to every array element. minLength and maxLength use JavaScript UTF-16 string.length.","Validation failures are collected as {path, keyword, message} with JSON Pointer paths, DFS order, at most 100 errors.","Non-JSON values and invalid schemas throw. The instance is not mutated. Empty schema {} matches any valid JSON value."],"limits":{"max_input_bytes":256000,"max_output_bytes":1048576,"max_errors":100,"max_enum_values":64,"max_required":256,"max_depth":16,"max_object_keys":5000,"max_array_items":5000,"max_properties":5000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["schema","instance"],"properties":{"schema":{"type":"object"},"instance":{}}},"output_schema":{"type":"object","additionalProperties":false,"required":["valid","errors"],"properties":{"valid":{"type":"boolean"},"errors":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["path","keyword","message"],"properties":{"path":{"type":"string"},"keyword":{"type":"string"},"message":{"type":"string"}}}}}},"examples":[{"input":{"schema":{"type":"object","required":["name","count"],"properties":{"name":{"type":"string","minLength":1},"count":{"type":"integer"}},"additionalProperties":false},"instance":{"name":"Ada","count":3}},"output":{"valid":true,"errors":[]}}],"execute_url":"/v1/tools/json-schema-validate/versions/1.0.0/execute"}