misp-galaxy/schema_clusters.json

160 lines
3.6 KiB
JSON
Raw Normal View History

2017-02-13 18:32:53 +01:00
{
"$schema": "http://json-schema.org/schema#",
"title": "Validator for misp-galaxies - Clusters",
"id": "https://www.github.com/MISP/misp-galaxies/schema_clusters.json",
2017-02-13 18:32:53 +01:00
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"type": {
"type": "string"
},
"version": {
"type": "integer"
},
"name": {
"type": "string"
},
"uuid": {
"type": "string"
},
"source": {
"type": "string"
},
"values": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"value": {
"type": "string"
},
2018-02-23 08:53:41 +01:00
"uuid": {
2018-08-08 16:12:29 +02:00
"type": "string"
},
2018-08-08 16:05:11 +02:00
"related": {
"type": "array",
2018-08-08 16:05:11 +02:00
"additionalProperties": false,
"items": {
"type": "object"
},
2018-08-08 16:05:11 +02:00
"properties": {
"dest-uuid": {
"type": "string"
},
"type": {
"type": "string"
},
"tags": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
}
}
2018-02-23 08:53:41 +01:00
},
2017-02-13 18:32:53 +01:00
"meta": {
"type": "object",
"additionalProperties": true,
"properties": {
2017-03-16 23:12:11 +01:00
"type": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
2017-03-16 23:12:11 +01:00
"complexity": {
"type": "string"
},
2017-03-16 23:12:11 +01:00
"effectiveness": {
"type": "string"
},
"country": {
"type": "string"
},
2017-03-16 23:12:11 +01:00
"possible_issues": {
"type": "string"
},
2017-03-16 23:12:11 +01:00
"colour": {
"type": "string"
},
2017-03-16 23:12:11 +01:00
"motive": {
"type": "string"
},
"impact": {
"type": "string"
},
"refs": {
2017-02-24 23:36:45 +01:00
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
2017-03-16 23:12:11 +01:00
"synonyms": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
2017-03-16 23:12:11 +01:00
"status": {
"type": "string"
2017-07-25 13:13:27 +02:00
},
"date": {
"type": "string"
},
"encryption": {
"type": "string"
},
"extensions": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"ransomnotes": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
}
}
2017-02-13 18:32:53 +01:00
}
},
"required": [
"value"
]
}
},
"authors": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
}
},
"required": [
"description",
"type",
"version",
"name",
"uuid",
"values",
"authors",
"source"
]
}