Skip to content

Commit

Permalink
Add dot to patternProperties (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
schnuerle authored Sep 27, 2024
2 parents cddb212 + b23b226 commit 4d407b5
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 4d407b5

Please sign in to comment.