Skip to content

Commit

Permalink
update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
GantMan committed Feb 4, 2018
1 parent e7935ac commit b88a28d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions solidaritySchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
{ "$ref": "#/definitions/file" },
{ "$ref": "#/definitions/env" },
{ "$ref": "#/definitions/shell" }
{ "$ref": "#/definitions/custom" }
]
},
"minItems": 1,
Expand Down Expand Up @@ -92,6 +93,20 @@
"match": { "type": "string", "description": "A regexp to search the output." }
},
"required": ["rule", "match"]
},
"custom": {
"description": "Custom Rule",
"type": "object",
"additionalProperties": true,
"properties": {
"rule": { "enum": [ "custom" ] },
"plugin": { "type": "string" },
"name": { "type": "string" },
"platform": { "enum": ["darwin", "macos", "freebsd", "linux", "sunos", "win32", "windows"] },
"error": { "type": "string" },
"match": { "type": "string", "description": "A regexp to search the output." }
},
"required": ["rule", "plugin", "name"]
}
}
}

0 comments on commit b88a28d

Please sign in to comment.