diff --git a/meta-schemas/core.yaml b/meta-schemas/core.yaml index a729d3d0..e623fda0 100644 --- a/meta-schemas/core.yaml +++ b/meta-schemas/core.yaml @@ -30,6 +30,15 @@ definitions: $ref: "string-array.yaml" memory-region: $ref: "cell.yaml#array" + propertyNames: + # Ensure DT property names are not json-schema vocabulary names + not: + enum: [ $ref, additionalItems, additionalProperties, allOf, anyOf, + const, contains, default, dependencies, deprecated, description, + else, enum, if, items, maxItems, maximum, minItems, minimum, + multipleOf, not, oneOf, pattern, patternProperties, properties, + propertyNames, required, then, unevaluatedProperties ] + patternProperties: '.*-names$': $ref: "string-array.yaml"