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