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": {
"type": "string" "description": {
}, "type": "string" },
"value": { "#$Jschema:"
"type": "string" "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"
},
"source": {
"type": "string" },
"author": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
} }
} },
}, "uuid": {
"required": [ "type": "string"
"version", },
"description", "stix": {
"author", "type": "string" },"type": {
"uuid", "type": "string" },
"type", "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
] ]
} }