misp-warninglists/schema.json

50 lines
890 B
JSON
Raw Normal View History

2017-02-12 21:01:36 +01:00
{
"$schema": "http://json-schema.org/schema#",
"additionalProperties": false,
"id": "https://www.github.com/MISP/misp-warninglists/schema.json",
2017-02-12 21:01:36 +01:00
"properties": {
"description": {
"type": "string"
},
"list": {
"items": {
"type": "string"
},
2017-02-12 21:01:36 +01:00
"type": "array",
"uniqueItems": true
},
"matching_attributes": {
2017-02-12 21:01:36 +01:00
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"name": {
"type": "string"
2017-02-12 21:01:36 +01:00
},
"type": {
2017-12-22 15:32:24 +01:00
"enum": [
"string",
"substring",
"hostname",
"cidr",
"regex"
],
"type": "string"
2017-02-12 21:01:36 +01:00
},
"version": {
"type": "integer"
2017-02-12 21:01:36 +01:00
}
},
"required": [
"list",
"description",
"version",
2017-12-22 15:32:24 +01:00
"name",
"type"
],
"title": "Validator for misp-warninglists",
"type": "object"
2017-02-12 21:01:36 +01:00
}