File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 49
49
"submissionSchema" : {
50
50
"description" : " Schema describing the data to submit along with the request" ,
51
51
"allOf" : [ { "$ref" : " #" } ]
52
+ },
53
+ "$comment" : {
54
+ "type" : " string"
52
55
}
53
56
}
54
57
}
Original file line number Diff line number Diff line change 583
583
editing this keyword. The value of this keyword MAY be used in debug or error
584
584
output which is intended for developers making use of schemas.
585
585
586
+ Schema vocabularies SHOULD allow "$comment" within any object containing
587
+ vocabulary keywords. Implementations MAY assume "$comment" is allowed
588
+ unless the vocabulary specifically forbids it. Vocabularies MUST NOT
589
+ specify any effect of "$comment" beyond what is described in this
590
+ specification.
591
+
586
592
Tools that translate other media types or programming languages
587
- to and from application/schema+json MAY choose convert that media type or
593
+ to and from application/schema+json MAY choose to convert that media type or
588
594
programming language's native comments to or from "$comment" values.
589
595
The behavior of such translation when both native comments and "$comment"
590
596
properties are present is implementation-dependent.
You can’t perform that action at this time.
0 commit comments