From b23b226b2347051af17df084bc6751ade35a23de Mon Sep 17 00:00:00 2001 From: Mihail Podshivadlov <9678914+mihailpw@users.noreply.github.com> Date: Thu, 14 Mar 2024 18:06:46 +0300 Subject: [PATCH] Add dot to patternProperties; --- models/data-types/vehicle-type-counts.yaml | 2 +- models/policy-rule.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/data-types/vehicle-type-counts.yaml b/models/data-types/vehicle-type-counts.yaml index 6827e10..026c787 100644 --- a/models/data-types/vehicle-type-counts.yaml +++ b/models/data-types/vehicle-type-counts.yaml @@ -11,5 +11,5 @@ propertyNames: $ref: ./vehicle-type.yaml patternProperties: - "": # i.e. match all properties + ".": # i.e. match all properties $ref: ./integer-positive.yaml diff --git a/models/policy-rule.yaml b/models/policy-rule.yaml index 0b32feb..1d44399 100644 --- a/models/policy-rule.yaml +++ b/models/policy-rule.yaml @@ -21,7 +21,7 @@ $defs: # allow any vehicle state to be a property name $ref: ./data-types/vehicle-state.yaml patternProperties: - "": # i.e. match all properties of the `states` object + ".": # i.e. match all properties of the `states` object type: array uniqueItems: true items: