Skip to content

Commit 4a8e5f9

Browse files
authored
Add note on transitive schemas in externalSchema (SchemaStore#4726)
1 parent d21ad94 commit 4a8e5f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@ See [this PR](https://github.com/SchemaStore/schemastore/pull/2421/files) for a
634634
- In `schema_x.json`, add ref to `schema_y.json`: `"$ref": "https://json.schemastore.org/schema_y.json#..."`
635635
- Within [schema-validation.jsonc](./src/schema-validation.jsonc), in `"options": []`, add an entry:
636636
`{ "schema_x.json": {"externalSchema": ["schema_y.json"] } }`
637+
- Note that all transitive schemas must be specified in `externalSchema`
637638

638639
### How to add a `$ref` to a JSON Schema that's self-hosted
639640

0 commit comments

Comments
 (0)