{"id":19217011,"url":"https://github.com/bkeys818/shopify-template-schema","last_synced_at":"2026-04-21T10:02:11.981Z","repository":{"id":41866069,"uuid":"477752671","full_name":"bkeys818/shopify-template-schema","owner":"bkeys818","description":"A tool for converting Shopify schemas into a JSON schemas.","archived":false,"fork":false,"pushed_at":"2023-12-19T18:43:23.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-04T18:44:23.575Z","etag":null,"topics":["json-schema","json-schema-generator","shopify","shopify-theme"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bkeys818.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-04T15:05:34.000Z","updated_at":"2022-07-16T15:06:30.000Z","dependencies_parsed_at":"2024-11-09T14:20:05.690Z","dependency_job_id":"1b038ae7-c7d9-4b51-bc5f-b12bf5125078","html_url":"https://github.com/bkeys818/shopify-template-schema","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkeys818%2Fshopify-template-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkeys818%2Fshopify-template-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkeys818%2Fshopify-template-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkeys818%2Fshopify-template-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkeys818","download_url":"https://codeload.github.com/bkeys818/shopify-template-schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240292368,"owners_count":19778311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json-schema","json-schema-generator","shopify","shopify-theme"],"created_at":"2024-11-09T14:19:51.572Z","updated_at":"2026-04-21T10:02:11.875Z","avatar_url":"https://github.com/bkeys818.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shopify Template Schema\n\n\u003e A tool for converting Shopify schemas into a JSON schema for templates.\n\n[![Version][version-image]][version-link]\n[![Downloads Stats][npm-downloads]][npm-link]\n[![Run test][test-status]][test-link]\n\n## Installation\n\nYarn:\n\n```sh\nyarn add shopify-template-schema\n```\n\n## Usage\n\nShopify template schema will only create a schema for your templates. It won't valid them.\n\nIf your using [Visual Studio Code](https://code.visualstudio.com) we recommend using the [json schema setting](https://code.visualstudio.com/Docs/languages/json#_json-schemas-and-settings), like this:\n\n```json\n{\n  \"json.schemas\": [\n    {\n      \"fileMatch\": [\"templates/*.json\"],\n      \"url\": \"./template.schema.json\"\n    },\n    {\n      \"fileMatch\": [\"config/settings_schema.json\"],\n      \"url\": \"./config/settings_schema.schema.json\"\n    },\n    {\n      \"fileMatch\": [\"config/settings_data.json\"],\n      \"url\": \"./config/settings_data.schema.json\"\n    },\n    {\n      \"fileMatch\": [\"locales/*.json\"],\n      \"url\": \"./locale.schema.json\"\n    }\n  ]\n}\n```\n\n## Running from command line\n\nYou can run `shopify-template-schema` directly from the CLI with a variety of options.\n\nHere's how you would run it if the current directory isn't the a shopify project.\n\n```sh\nshopify-template-schema path/to/shopify-project\n```\n\nTo view all options run:\n\n```sh\nshopify-template-schema -h\n```\n\n\u003c!-- Markdown link \u0026 img dfn's --\u003e\n\n[version-image]: https://img.shields.io/github/package-json/v/bkeys818/shopify-template-schema/v0.1.1?label=version\n[version-link]: https://github.com/bkeys818/shopify-template-schema/releases/tag/v0.1.1\n[npm-downloads]: https://img.shields.io/npm/dm/shopify-template-schema.svg\n[npm-link]: https://www.npmjs.com/package/shopify-template-schema/v/0.1.1\n[test-status]: https://github.com/bkeys818/shopify-template-schema/actions/workflows/run-tests.yaml/badge.svg?branch=main\n[test-link]: https://github.com/bkeys818/shopify-template-schema/actions/workflows/run-tests.yaml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkeys818%2Fshopify-template-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkeys818%2Fshopify-template-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkeys818%2Fshopify-template-schema/lists"}