Skip to content

Commit df7a6f5

Browse files
committed
provide explicit permission to download schemas
1 parent cd8f7d3 commit df7a6f5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

jsonschema-core.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,17 +1264,19 @@ The use of IRIs to identify remote schemas does not necessarily mean anything is
12641264
downloaded, but instead JSON Schema implementations SHOULD understand ahead of
12651265
time which schemas they will be using, and the IRIs that identify them.
12661266

1267-
When schemas are downloaded, for example by a generic user-agent that does not
1268-
know until runtime which schemas to download, see [Usage for
1269-
Hypermedia](#hypermedia).
1270-
12711267
Implementations SHOULD be able to associate arbitrary IRIs with an arbitrary
12721268
schema and/or automatically associate a schema's `$id`-given IRI, depending on
12731269
the trust that the validator has in the schema. Such IRIs and schemas can be
12741270
supplied to an implementation prior to processing instances, or may be noted
12751271
within a schema document as it is processed, producing associations as shown in
12761272
{{idexamples}}.
12771273

1274+
Implementations MAY provide functionality to automatically fetch schemas based
1275+
on location semantics expressed by the URI, however such functionality MUST be
1276+
disabled by default to prefer offline operation. When schemas are downloaded,
1277+
for example by a generic user-agent that does not know until runtime which
1278+
schemas to download, see {{hypermedia}}.
1279+
12781280
#### Detecting a Meta-Schema
12791281

12801282
Implementations MUST recognize a schema as a meta-schema if it is being examined

0 commit comments

Comments
 (0)