additionalProperties : Schema | Boolean
additionalProperties
Schema | BooleanValidation succeeds if the schema validates against each value not matched by other object applicators in this vocabulary. If set to false, no additional properties are allowed in the instance.
| Value |
This keyword must be set to a valid JSON Schema
Hint: Use the jsonschema metaschema and jsonschema lint commands to catch keywords set to invalid values
|
|---|---|
| Kind | Applicator |
| Applies To | Object |
| Base Dialect | Draft 4 |
| Changed In | None |
| Introduced In | Draft 0 |
| Vocabulary | Validation |
| Specification | https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.5.4.4 |
| Metaschema | http://json-schema.org/draft-04/schema# |
| Official Tests | draft4/additionalProperties.json |
| Default |
{}
|
| Annotation | None |
| Affected By |
|
| Affects | None |
| Also See |
|