"The property ... is not defined and the definition does not allow additional"

From semantic-mediawiki.org
< Help:Schema‎ | Error handling
SchemaSchema/Error handling"The property ... is not defined and the definition does not allow additional"

Explanation[edit]

The validation schema expects that only properties that are defined in the JSON schema are to be used within a constraint schema. As for the example, mandatory_properties is defined for the CLASS_CONSTRAINT_SCHEMA schema type but not for PROPERTY_CONSTRAINT_SCHEMA (both types a have different validation schemata) which is why the validation error appears.