@@ -2768,7 +2768,7 @@ Bray, T., Ed., Hollander, D., Ed., Layman, A., Ed., and R. Tobin, Ed.,
2768
2768
"Namespaces in XML 1.1 (Second Edition)", August 2006,
2769
2769
<< http://www.w3.org/TR/2006/REC-xml-names11-20060816 > >.
2770
2770
2771
- ## Appendix A. Schema identification examples
2771
+ ## [ Appendix] Schema identification examples
2772
2772
Consider the following schema, which shows ` $id ` being used to identify both the
2773
2773
root schema and various subschemas, and ` $anchor ` being used to define plain
2774
2774
name fragment identifiers.
@@ -2841,12 +2841,12 @@ embedded schema
2841
2841
resources] ( #921-json-pointer-fragments-and-embedded-schema-resources ) section
2842
2842
for futher comments.
2843
2843
2844
- ## Appendix B. Manipulating schema documents and references
2844
+ ## [ Appendix] Manipulating schema documents and references
2845
2845
Various tools have been created to rearrange schema documents based on how and
2846
2846
where references (` $ref ` ) appear. This appendix discusses which use cases and
2847
2847
actions are compliant with this specification.
2848
2848
2849
- ### B.1. Bundling schema resources into a single document
2849
+ ### Bundling schema resources into a single document
2850
2850
A set of schema resources intended for use together can be organized with each
2851
2851
in its own schema document, all in the same schema document, or any granularity
2852
2852
of document grouping in between.
@@ -2868,7 +2868,7 @@ changing any aspect of validation or annotation results. The names of the
2868
2868
schemas under ` $defs ` do not affect behavior, assuming they are each unique, as
2869
2869
they do not appear in the canonical IRIs for the embedded resources.
2870
2870
2871
- ### B.2. Reference removal is not always safe
2871
+ ### Reference removal is not always safe
2872
2872
Attempting to remove all references and produce a single schema document does
2873
2873
not, in all cases, produce a schema with identical behavior to the original
2874
2874
form.
@@ -2880,7 +2880,7 @@ scope of this specification to determine or provide a set of safe `$ref` removal
2880
2880
transformations, as they depend not only on the schema structure but also on the
2881
2881
intended usage.
2882
2882
2883
- ## Appendix C. Example of recursive schema extension
2883
+ ## [ Appendix] Example of recursive schema extension
2884
2884
Consider the following two schemas describing a simple recursive tree structure,
2885
2885
where each node in the tree can have a "data" field of any type. The first
2886
2886
schema allows and ignores other instance properties. The second is more strict
@@ -2976,9 +2976,9 @@ of the node schema objects were moved under `$defs`. It is the matching
2976
2976
` $dynamicAnchor ` values which tell us how to resolve the dynamic reference, not
2977
2977
any sort of correlation in JSON structure.
2978
2978
2979
- ## Appendix D. Working with vocabularies
2979
+ ## [ Appendix] Working with vocabularies
2980
2980
2981
- ### D.1. Best practices for vocabulary and meta-schema authors
2981
+ ### Best practices for vocabulary and meta-schema authors
2982
2982
Vocabulary authors should take care to avoid keyword name collisions if the
2983
2983
vocabulary is intended for broad use, and potentially combined with other
2984
2984
vocabularies. JSON Schema does not provide any formal namespacing system, but
@@ -3026,7 +3026,7 @@ resulting behavior is undefined.
3026
3026
Meta-schemas intended for local use, with no need to test for vocabulary support
3027
3027
in arbitrary implementations, can safely omit ` $vocabulary ` entirely.
3028
3028
3029
- ### D.2. Example meta-schema with vocabulary declarations
3029
+ ### Example meta-schema with vocabulary declarations
3030
3030
This meta-schema explicitly declares both the Core and Applicator vocabularies,
3031
3031
together with an extension vocabulary, and combines their meta-schemas with an
3032
3032
` allOf ` . The extension vocabulary's meta-schema, which describes only the
@@ -3118,7 +3118,7 @@ to ensure that it is validated even when `format` functions purely as an
3118
3118
annotation, as explained in the [Validation
3119
3119
specification ](#json-schema-validation).
3120
3120
3121
- ## Appendix E. References and generative use cases
3121
+ ## [ Appendix] References and generative use cases
3122
3122
While the presence of references is expected to be transparent to validation
3123
3123
results, generative use cases such as code generators and UI renderers often
3124
3124
consider references to be semantically significant.
@@ -3167,7 +3167,7 @@ instance of a distinct class.
3167
3167
This style of usage requires the annotation to be in the same object as the
3168
3168
reference, which must be recognizable as a reference.
3169
3169
3170
- ## Appendix F. Acknowledgments
3170
+ ## [ Appendix] Acknowledgments
3171
3171
Thanks to Gary Court, Francis Galiegue, Kris Zyp, Geraint Luff, and Henry
3172
3172
Andrews for their work on the initial drafts of JSON Schema.
3173
3173
@@ -3176,16 +3176,16 @@ Bowman, Gowry Sankar, Donald Pipowitch, Dave Finlay, Denis Laxalde, Phil
3176
3176
Sturgeon, Shawn Silverman, and Karen Etheridge for their submissions and patches
3177
3177
to the document.
3178
3178
3179
- ## Appendix G. Change Log[^19]
3179
+ ## [ Appendix] Change Log[^19]
3180
3180
[^19 ]: This section to be removed before leaving Internet-Draft status.
3181
3181
3182
- ### G.1. draft-bhutton-json-schema-next
3182
+ ### draft-bhutton-json-schema-next
3183
3183
- `contains` now applies to objects as well as arrays
3184
3184
- Use IRIs instead of URIs
3185
3185
- Remove bookending requirement for `$dynamicRef`
3186
3186
- Add `propertyDependencies` keyword
3187
3187
3188
- ### G.2. draft-bhutton-json-schema-01
3188
+ ### draft-bhutton-json-schema-01
3189
3189
- Improve and clarify the `type`, `contains`, `unevaluatedProperties`, and
3190
3190
`unevaluatedItems` keyword explanations
3191
3191
- Clarify various aspects of "canonical URIs"
@@ -3194,7 +3194,7 @@ to the document.
3194
3194
- Remove references to remaining media-type parameters
3195
3195
- Fix multiple examples
3196
3196
3197
- ### G.3. draft-bhutton-json-schema-00
3197
+ ### draft-bhutton-json-schema-00
3198
3198
- `$schema` MAY change for embedded resources
3199
3199
- Array-value `items` functionality is now `prefixItems`
3200
3200
- `items` subsumes the old function of `additionalItems`
@@ -3211,7 +3211,7 @@ interactions now specified
3211
3211
- Moved `unevaluatedItems` and `unevaluatedProperties` from core into their own
3212
3212
vocabulary
3213
3213
3214
- ### G.4. draft-handrews-json-schema-02
3214
+ ### draft-handrews-json-schema-02
3215
3215
- Update to RFC 8259 for JSON specification
3216
3216
- Moved `definitions` from the Validation specification here as `$defs`
3217
3217
- Moved applicator keywords from the Validation specification as their own
@@ -3237,7 +3237,7 @@ meta-schemas
3237
3237
- Clarified that the behavior of JSON Pointers across `$id` boundary is
3238
3238
unreliable
3239
3239
3240
- ### G.5. draft-handrews-json-schema-01
3240
+ ### draft-handrews-json-schema-01
3241
3241
- This draft is purely a clarification with no functional changes
3242
3242
- Emphasized annotations as a primary usage of JSON Schema
3243
3243
- Clarified $id by use cases
@@ -3250,7 +3250,7 @@ schema identifiers during parsing
3250
3250
same process
3251
3251
- Minor formatting improvements
3252
3252
3253
- ### G.6. draft-handrews-json-schema-00
3253
+ ### draft-handrews-json-schema-00
3254
3254
- Make the concept of a schema keyword vocabulary more clear
3255
3255
- Note that the concept of "integer" is from a vocabulary, not the data model
3256
3256
- Classify keywords as assertions or annotations and describe their general
@@ -3262,7 +3262,7 @@ behavior
3262
3262
- Add `application/schema-instance+json` media type
3263
3263
- Recommend a "schema" link relation / parameter instead of "profile"
3264
3264
3265
- ### G.7. draft-wright-json-schema-01
3265
+ ### draft-wright-json-schema-01
3266
3266
- Updated intro
3267
3267
- Allowed for any schema to be a boolean
3268
3268
- `$schema` SHOULD NOT appear in subschemas, although that may change
@@ -3271,7 +3271,7 @@ behavior
3271
3271
- Note applicability to formats such as CBOR that can be represented in the JSON
3272
3272
data model
3273
3273
3274
- ### G.8. draft-wright-json-schema-00
3274
+ ### draft-wright-json-schema-00
3275
3275
- Updated references to JSON
3276
3276
- Updated references to HTTP
3277
3277
- Updated references to JSON Pointer
@@ -3286,7 +3286,7 @@ data model
3286
3286
- Rewrote section on usage with rel="describedBy" and rel="profile"
3287
3287
- Fixed numerous invalid examples
3288
3288
3289
- ### G.9. draft-zyp-json-schema-04
3289
+ ### draft-zyp-json-schema-04
3290
3290
- Salvaged from draft v3.
3291
3291
- Split validation keywords into separate document.
3292
3292
- Split hypermedia keywords into separate document.
@@ -3295,23 +3295,12 @@ data model
3295
3295
- Define the role of `id`. Define URI resolution scope.
3296
3296
- Add interoperability considerations.
3297
3297
3298
- ### G.10. draft-zyp-json-schema-00
3298
+ ### draft-zyp-json-schema-00
3299
3299
- Initial draft.
3300
3300
3301
3301
## Authors' Addresses
3302
-
3303
- ### Austin Wright (*editor*)
3304
-
3305
-
3306
- ### Ben Hutton (*editor*)
3307
- Postman
3308
-
3309
-
3310
-
3311
- URI: <https://jsonschema.dev>
3312
-
3313
- ### Greg Dennis
3314
-
3315
-
3316
-
3317
- URI: <https://github.com/gregsdennis>
3302
+ | Author | Company | Email | URI |
3303
+ |--------------------------|---------|-------------------------|----------------------------------|
3304
+ | Austin Wright (*editor*) | | <[email protected] > | |
3305
+ | Ben Hutton (*editor*) | Postman | <[email protected] > | <https://jsonschema.dev> |
3306
+ | Greg Dennis | | <[email protected] > | <https://github.com/gregsdennis> |
0 commit comments