{
    "id": "http://schlothauer.de/schemas/shared/app_module.json",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "application specific module",
    "type": "object",
    "properties": {
        "name": {
            "description": "Name of the module",
            "type": "string",
            "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
            "__unique": true,
            "__visKey": true
        },
        "description": {
            "description": "some more words to explain",
            "type": "string"
        },
        "guid": {
            "description": "global identifier",
            "type": "string",
            "format": "uuid"
        },
        "app_id": {
            "description": "Which application owns that module",
            "type": "string",
            "format": "uuid",
            "__ref": "./application.json"
        },
        "active": {
            "description": "is this entry still active",
            "type": "boolean"
        }
    },
    "required": [
        "name",
        "gid"
    ],
    "version": 1
}