group.json
Copy Json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"schema": {
"enum": [
"1.0"
]
},
"id": {
"description": "UUID4 represented as string with or without {}",
"type": "string",
"pattern": "^(#{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}}{0,1})$"
},
"name": {
"type": "string",
"minLength": 1
},
"description": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"modified": {
"type": "string",
"format": "date-time"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"pattern": ".*\\.(u3m|u3ma|json)$"
},
"id": {
"description": "UUID4 represented as string with or without {}",
"type": "string",
"pattern": "^(#{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}}{0,1})$"
}
},
"additionalProperties": false,
"required": [
"path",
"id"
]
}
},
"custom": {
"type": [
"object",
"null"
]
}
},
"additionalProperties": false,
"required": [
"schema",
"id",
"name",
"created",
"modified",
"items",
"custom"
]
}