# Advanced JSON Editor Example

This example demonstrates the following:

- Loading external schemas via ajax (using $ref)
- Setting the editor's value from javascript (try the Restore to Default button)
- Validating the editor's contents (try setting name to an empty string)
- Macro templates (try changing the city or state fields and watch the citystate field update automatically)
- Enabling and disabling editor fields