Enforce meta-category

pull/15/head
Raphaël Vinot 2017-06-28 11:18:10 +02:00
parent c3186cbcb2
commit 16af934386
3 changed files with 10 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "email",
"uuid": "a0c666e0-fc65-4be8-b48f-3423d788b552",
"meta-category": "email",
"meta-category": "network",
"description": "Email object describing an email with meta-information",
"version": 1,
"attributes": {

View File

@ -60,7 +60,7 @@
},
"version": 1,
"description": "An object to describe a geographic location.",
"meta-category": "location",
"meta-category": "misc",
"uuid": "fdd30d5f-6752-45ed-bef2-25e8ce4d8a3",
"name": "geolocation"
}

View File

@ -57,7 +57,14 @@
"additionalProperties": false,
"properties": {
"meta-category": {
"type": "string"
"type": "string",
"enum": [
"file",
"network",
"financial",
"misc",
"internal"
]
},
"name": {
"type": "string"