2017-02-13 12:01:05 +01:00
|
|
|
{
|
2017-05-04 10:54:38 +02:00
|
|
|
"required": [
|
|
|
|
"namespace",
|
|
|
|
"description",
|
|
|
|
"version",
|
|
|
|
"predicates"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"type": {
|
2017-05-04 11:34:59 +02:00
|
|
|
"minItems": 1,
|
2017-05-04 10:54:38 +02:00
|
|
|
"items": {
|
|
|
|
"type": "string"
|
2017-02-13 16:39:06 +01:00
|
|
|
},
|
2017-05-04 10:54:38 +02:00
|
|
|
"uniqueItems": true,
|
|
|
|
"type": "array"
|
|
|
|
},
|
|
|
|
"refs": {
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"type": "array"
|
2017-02-13 16:39:06 +01:00
|
|
|
},
|
2017-05-04 10:54:38 +02:00
|
|
|
"values": {
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/defs/entry",
|
|
|
|
"type": "object"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"type": "array"
|
|
|
|
},
|
|
|
|
"predicates": {
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/defs/predicate",
|
|
|
|
"type": "object"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"type": "array"
|
|
|
|
},
|
|
|
|
"version": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"expanded": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"namespace": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"type": "object",
|
|
|
|
"defs": {
|
|
|
|
"required": [
|
|
|
|
"predicate"
|
|
|
|
],
|
2017-02-13 16:39:06 +01:00
|
|
|
"entry": {
|
|
|
|
"properties": {
|
|
|
|
"entry": {
|
|
|
|
"items": {
|
2017-05-04 10:54:38 +02:00
|
|
|
"required": [
|
|
|
|
"value"
|
|
|
|
],
|
2017-02-13 16:39:06 +01:00
|
|
|
"properties": {
|
2017-05-04 10:54:38 +02:00
|
|
|
"numerical_value": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"expanded": {
|
2017-02-13 16:39:06 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2017-05-04 10:54:38 +02:00
|
|
|
"value": {
|
2017-02-13 16:39:06 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2017-05-04 10:54:38 +02:00
|
|
|
"additionalProperties": false,
|
|
|
|
"type": "object"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"type": "array"
|
|
|
|
},
|
|
|
|
"predicate": {
|
|
|
|
"type": "string"
|
2017-02-13 16:39:06 +01:00
|
|
|
}
|
2017-05-04 10:54:38 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"type": "object"
|
2017-02-13 16:39:06 +01:00
|
|
|
},
|
2017-05-04 10:54:38 +02:00
|
|
|
"predicate": {
|
|
|
|
"required": [
|
|
|
|
"value"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"expanded": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"numerical_value": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"colour": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"type": "object"
|
2017-02-13 12:01:05 +01:00
|
|
|
}
|
|
|
|
},
|
2017-05-04 10:54:38 +02:00
|
|
|
"id": "https://www.github.com/MISP/misp-taxonomies/schema.json",
|
|
|
|
"title": "Validator for misp-taxonomies",
|
|
|
|
"$schema": "http://json-schema.org/schema#"
|
2017-02-13 12:01:05 +01:00
|
|
|
}
|