Update schema_vocabularies.json

pull/918/head
Alexander Petree 2024-01-25 22:13:17 -08:00 committed by GitHub
parent 5882751986
commit bd3d74858f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 48 additions and 16 deletions

View File

@ -37,22 +37,54 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"description": { "description": {
"type": "string" },
"#$Jschema:"
"http://json-schema.org/schema#",
"title":
"Validator for misp-galaxies - Vocabularies",
"id":
"https://www.github.com/MISP/misp-galaxies/schema_vocabularies.json",
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "integer"
},
"description": {
"type": "string" "type": "string"
}, },
"value": { "source": {
"type": "string" },
"author": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string" "type": "string"
} }
}
}
}
}, },
"required": [ "uuid": {
"version", "type": "string"
"description", },
"author", "stix": {
"uuid", "type": "string" },"type": {
"type", "type": "string" },
"values" "values":
{ "type": " array"
"uniqueItems": true
"items": "type":,
"object",
"additionalProperties": false,
"properties":
{
"description": { "type":
"string" }, "value": { "type":"string" } } l #" } } }
,"required": [ "version", # "description" "%> author:" uuid type" values
] ]
} }