--- title: AppBlockMissingSchema description: >- Makes sure schema definition is present for app blocks in theme app extensions. source_url: html: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-missing-schema md: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-missing-schema.md --- ExpandOn this page * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-missing-schema.md#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-missing-schema.md#options) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-missing-schema.md#disabling-this-check) # AppBlockMissingSchema Makes sure schema definition is present for app blocks in theme app extensions. *** ## Examples The following examples contain code snippets that either fail or pass this check. ### ✗ Fail ```liquid ``` ### ✓ Pass ```liquid {% schema %} { "name": "Footer", "max_blocks": 8, "blocks": [ { "type": "link", "name": "Link", "settings": [ { "id": "linkurl", "type": "url", "label": "URL link" }, { "id": "linktext", "type": "text", "label": "Link text" } ] }, { "type": "custom-text", "name": "Custom Text", "settings": [ { "id": "custom-text-field", "type": "textarea", "label": "Text" } ] } ] } {% endschema %} ``` *** ## Options ```yaml AppBlockMissingSchema: enabled: true severity: error ``` | Parameter | Description | | - | - | | `enabled` | Whether this check is enabled. | | `severity` | The [severity](https://shopify.dev/themes/tools/theme-check/configuration#check-severity) of the check. | *** ## Disabling this check Disabling this check isn't recommended. *** * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-missing-schema.md#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-missing-schema.md#options) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/app-block-missing-schema.md#disabling-this-check)