Home / Validator

Schema Validator

Validate UI Potion JSON files against schemas directly in your browser. No data is sent to any server—everything runs client-side.

Validation Results

Select a schema category and paste your JSON, then click "Validate JSON" to see results.

How It Works

  • Client-Side Only: All validation happens in your browser. No data is sent to any server.
  • Schema Support: Validates against UI Potion category schemas (Components, Layouts, Features, Patterns, Tooling).
  • Detailed Errors: Get specific error messages with JSON paths pointing to validation issues.
  • Schema References: Automatically resolves schema references ($ref) including base schemas and contracts.

Example Usage

  1. Select the appropriate schema category for your potion (e.g., "Components" for a navbar component)
  2. Paste your potion JSON into the text area
  3. Click "Validate JSON" to check for errors
  4. Review the detailed error messages and fix any issues