--- title: SchemaJsonFormat description: Identifies improperly formatted JSON in schema tags. source_url: html: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format md: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md --- ExpandOn this page * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md#options) * [Auto-correction](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md#auto-correction) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md#disabling-this-check) # SchemaJsonFormat Deprecated This check only exists in Theme Check `v1.X.X`. We consider this to be [the formatter](https://shopify.dev/docs/storefronts/themes/tools/liquid-prettier-plugin)'s job. Identifies improperly formatted JSON in `{% schema %}` tags. *** ## Examples The following examples contain code snippets that either fail or pass this check. ### ✗ Fail ```liquid {% schema %} { "locales": { "en": { "title": "Welcome", "product": "Product" }, "fr": { "title": "Bienvenue", "product": "Produit" } } } {% endschema %} ``` ### ✓ Pass ```liquid {% schema %} { "locales": { "en": { "title": "Welcome", "product": "Product" }, "fr": { "title": "Bienvenue", "product": "Produit" } } } {% endschema %} ``` *** ## Options The following example contains the default configuration for this check: ```yaml SchemaJsonFormat: enabled: true severity: style ``` | Parameter | Description | | - | - | | enabled | Whether the check is enabled. | | severity | The [severity](https://shopify.dev/themes/tools/theme-check/configuration#check-severity) of the check. | *** ## Auto-correction Theme Check can correct this error using the `--auto-correct` flag. When the flag is specified, Theme Check prettifies the JSON data inside of the `{% schema %}` tag. *** ## Disabling this check This check is safe to [disable](https://shopify.dev/docs/storefronts/themes/tools/theme-check/configuration). You might want to disable this check if you don't care about the visual appearance of your schema tags. *** * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md#options) * [Auto-correction](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md#auto-correction) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/schema-json-format.md#disabling-this-check)