We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d751685 + fca988b commit d7f98b5Copy full SHA for d7f98b5
jsonschema-validation.xml
@@ -546,6 +546,16 @@
546
</t>
547
</section>
548
549
+ <section title="const">
550
+ <t>
551
+ The value of this keyword MAY be of any type, including null.
552
+ </t>
553
554
+ An instance validates successfully against this keyword if its value is
555
+ equal to the value of the keyword.
556
557
+ </section>
558
+
559
<section title="type">
560
<t>
561
The value of this keyword MUST be either a string or an array. If it is
schema.json
@@ -124,6 +124,7 @@
124
]
125
}
126
},
127
+ "const": {},
128
"enum": {
129
"type": "array",
130
"minItems": 1,
0 commit comments