Skip to content

Commit

Permalink
small mods (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
GantMan authored and madskristensen committed Oct 30, 2017
1 parent d878a02 commit 20537b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/schemas/json/solidaritySchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"type": ["string", "integer"]
},
"matchIndex": { "type": "integer" },
"platform": { "enum": ["darwin", "macos", "freebsd", "linux", "sunos", "win32", "windows"] },
"error": { "type": "string"}
},
"required": ["rule", "binary"]
Expand All @@ -54,7 +55,8 @@
"description": "Dir Rule",
"type": "object",
"properties": {
"rule": { "enum": [ "dir" ] },
"rule": { "enum": [ "dir", "directory" ] },
"platform": { "enum": ["darwin", "macos", "freebsd", "linux", "sunos", "win32", "windows"] },
"error": { "type": "string"}
},
"required": ["rule", "location"]
Expand All @@ -64,6 +66,7 @@
"type": "object",
"properties": {
"rule": { "enum": [ "file" ] },
"platform": { "enum": ["darwin", "macos", "freebsd", "linux", "sunos", "win32", "windows"] },
"error": { "type": "string"}
},
"required": ["rule", "location"]
Expand All @@ -73,6 +76,7 @@
"type": "object",
"properties": {
"rule": { "enum": [ "env" ] },
"platform": { "enum": ["darwin", "macos", "freebsd", "linux", "sunos", "win32", "windows"] },
"error": { "type": "string"}
},
"required": ["rule", "variable"]
Expand Down

0 comments on commit 20537b7

Please sign in to comment.