From bd3d74858fe2b6128eb8e6e0fbc8b0ca1f9e471d Mon Sep 17 00:00:00 2001 From: Alexander Petree <124588263+Apetree100122@users.noreply.github.com> Date: Thu, 25 Jan 2024 22:13:17 -0800 Subject: [PATCH] Update schema_vocabularies.json --- schema_vocabularies.json | 64 ++++++++++++++++++++++++++++++---------- 1 file changed, 48 insertions(+), 16 deletions(-) diff --git a/schema_vocabularies.json b/schema_vocabularies.json index 664fa03..918c70f 100644 --- a/schema_vocabularies.json +++ b/schema_vocabularies.json @@ -37,22 +37,54 @@ "type": "object", "additionalProperties": false, "properties": { - "description": { - "type": "string" - }, - "value": { - "type": "string" - } - } + + "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" + }, + "source": { + "type": "string" }, + "author": { + + "type": "array", + "uniqueItems": true, + + "items": { + "type": "string" } - } - }, - "required": [ - "version", - "description", - "author", - "uuid", - "type", - "values" + }, + "uuid": { + "type": "string" + }, + "stix": { + "type": "string" },"type": { + "type": "string" }, + "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 ] }