Answer: You configure JSON schemas via settings by associating JSON Schemas with file paths using relative paths in your language server settings under "lsp" > "json-language-server" > "settings" > "json" > "schemas", with each entry having a "fileMatch" and "url". Paths starting with `./` resolve relative to the worktree root, and paths starting with `~/` expand to your home directory. Status: Overdue (check was due 2026-11-20T13:42:30Z and has not succeeded) Entry: tool/zed/settings/json-schema-via-settings Revision: 1 Digest: sha256:a3635a1aef27fbe7 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:04:00Z Last changed: 2026-11-13T04:04:00Z Last verified: 2026-11-19T13:42:30Z Next check: 2026-11-20T13:42:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of settings key | json-language-server | [1] | 2026-11-19 schemas array | schemas | [1] | 2026-11-19 example fileMatch | config/*.json | [1] | 2026-11-19 example relative url | ./schemas/custom-schema.json | [1] | 2026-11-19 home directory prefix | ~/ | [1] | 2026-11-19 worktree root prefix | ./ | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/languages/json.md". https://zed.dev/docs/languages/json.md Role: primary. Accessed: 2026-11-19T13:42:30Z Quote: ""json-language-server": {" (Supports: settings key) Quote: ""schemas": [" (Supports: schemas array) Quote: ""fileMatch": ["config/*.json"]," (Supports: example fileMatch) Quote: ""url": "./schemas/custom-schema.json"" (Supports: example relative url) Quote: "Paths starting with `~/` expand to your home directory." (Supports: home directory prefix) Quote: "Paths starting with `./` resolve relative to the worktree root." (Supports: worktree root prefix) Snapshot SHA-256: d94504a87eed5b6c4077fca8c056b7687f921d26a8684818703a34eb76d95b46 (captured 2026-11-13T04:03:58Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:04:00Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:42:30Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:42:30Z Last attempt: 2026-11-19T13:42:30Z Notes and limitations: Extracted automatically from a single official source (section "Schema Specification via Settings"). Human-readable page: https://zed.dev/docs/languages/json.html Related: https://latestn.com/tool/zed/settings/kotlin-java-home How do I configure JAVA_HOME for the Kotlin Language Server in Zed? https://latestn.com/tool/zed/settings/kotlin-jvm-target How do I set the JVM target for the Kotlin Language Server in Zed? https://latestn.com/tool/zed/settings/language-specific-settings How do I configure language-specific settings in Zed? https://latestn.com/tool/zed/settings/install-switch-themes How do I install and switch themes in Zed? https://latestn.com/tool/zed/settings/jdtls-initialization-options How do I configure JDTLS initialization options in Zed? https://latestn.com/tool/zed/settings/jetbrains-keymap-setup How do I set up the JetBrains keymap in Zed when migrating from PyCharm? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:04:00Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/json-schema-via-settings/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/json-schema-via-settings POST: https://latestn.com/dispute/tool/zed/settings/json-schema-via-settings with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/json-schema-via-settings?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure a JSON schema via settings in Zed? Revision 1, last verified 2026-11-19T13:42:30Z. https://latestn.com/tool/zed/settings/json-schema-via-settings (accessed 2026-11-21T10:00:55Z). @misc{LatestN_tool_zed_settings_json_schema_via_settings_r1, title = {How do I configure a JSON schema via settings in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/json-schema-via-settings}}, note = {Revision 1; digest sha256:a3635a1aef27fbe7; last verified 2026-11-19T13:42:30Z; accessed 2026-11-21T10:00:55Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/json-schema-via-settings