Skip to content

Commit

Permalink
Add dot to patternProperties;
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailpw committed Mar 14, 2024
1 parent a4e0d04 commit b23b226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/data-types/vehicle-type-counts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ propertyNames:
$ref: ./vehicle-type.yaml

patternProperties:
"": # i.e. match all properties
".": # i.e. match all properties
$ref: ./integer-positive.yaml
2 changes: 1 addition & 1 deletion models/policy-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b23b226

Please sign in to comment.