misp-warninglists/schema.json

49 lines
873 B
JSON
Raw Normal View History

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