Skip to content

Commit

Permalink
fix: fix validate objects properties in args schema
Browse files Browse the repository at this point in the history
Fixed validate objects properties in `args.json` core schema

Closes #171
  • Loading branch information
romanrostislavovich authored and xferra committed Jul 31, 2018
1 parent dc5a5ef commit 2f98d22
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/schema/args.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,16 @@
"title": "Object",
"description": "The arguments object schema",
"type": "object",
"patternProperties": {
"^[-a-z]+$|^$": {
"$ref": "#/definitions/arg"
"properties": {
"properties": {
"title": "Properties",
"description": "The arguments properties of package",
"type": "object",
"patternProperties": {
"^[-a-z]+$|^$": {
"$ref": "#/definitions/arg"
}
}
}
}
}
Expand Down

0 comments on commit 2f98d22

Please sign in to comment.