{"id":"jmespath-expression-validate","version":"1.0.0","description":"Parse a JMESPath expression and return whether it is valid, plus the zero-based error position and reason.","supported_operations":["validate a JMESPath expression","parse an AWS CLI query without running it","find a JMESPath syntax error position","check JSON query expression syntax","lint a JMESPath filter expression","verify a JSON projection query","diagnose an Ansible json_query expression"],"unsupported_operations":["evaluate an expression against JSON","validate JSONPath or jq syntax"],"semantics":["Parses the complete JMESPath 1.0 expression grammar without evaluating data.","Invalid expressions return valid false with a zero-based UTF-16 error position and bounded parser reason.","Validation is synchronous and deterministic with bounded expression bytes and tokens.","Unterminated raw strings and JSON literals are lexer errors positioned at their opening delimiter."],"limits":{"max_expression_length":256,"max_tokens":256,"max_input_bytes":256,"max_output_bytes":512},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["expression"],"properties":{"expression":{"type":"string","maxLength":256}}},"output_schema":{"type":"object","additionalProperties":false,"required":["valid","error_position","reason","standard_version"],"properties":{"valid":{"type":"boolean"},"error_position":{"type":["number","null"],"minimum":0,"maximum":256},"reason":{"type":["string","null"],"maxLength":240},"standard_version":{"type":"string","const":"JMESPath Specification 1.0"}}},"examples":[{"input":{"expression":"foo.bar[0]"},"output":{"valid":true,"error_position":null,"reason":null,"standard_version":"JMESPath Specification 1.0"}},{"input":{"expression":"foo["},"output":{"valid":false,"error_position":4,"reason":"Expected Star, got: EOF","standard_version":"JMESPath Specification 1.0"}}],"execute_url":"/v1/tools/jmespath-expression-validate/versions/1.0.0/execute"}