Lexicon Garden lets you fully validate schemas and records. You can check if a lexicon schema is valid and, if you want, also validate record data against it.

We built this feature using the indigo project as a guide for both parsing and testing. Our aim was to match real-world validation, so you can spot problems before they reach production.

Validation is available throughout the site. When you create or edit a lexicon in the management interface, you can check your schema before saving. Each lexicon has a "Validate Schema" button to check its definition. You can also validate example records against their schema with one click.

You can also use the standalone validation page at lexicon.garden/validate. Just paste in a schema and click validate, or include record data to check both at once. This helps when you're drafting a new lexicon and want to test ideas quickly before creating anything.

The validator works with all lexicon definition types: records, objects, arrays, queries, procedures, and subscriptions. If validation fails, you'll see clear error messages showing what needs fixing. If it passes, you'll get a green confirmation and a ready-to-use curl example for calling the validation endpoint programmatically.