{
  "$schema": "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": {
      "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"
              }
          }
      }
    }
  },
  "required": [
    "version",
    "description",
    "author",
    "uuid",
    "type",
    "values"
  ]
}