{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "A tag is some kind of a global keyword that could be set for some entries",
    "id": "http://schlothauer.de/schemas/shared/domain.json",
    "properties": {
        "active": {
            "type": "boolean"
        },
        "color": {
            "description": "color that marks this tag",
            "type": "string"
        },
        "comment": {
            "description": "Comment to that tab",
            "type": "string"
        },
        "created": {
            "_format": "datetime",
            "type": "string"
        },
        "group": {
            "description": "Short text that describes the tag",
            "type": "string"
        },
        "guid": {
            "_format": "uuid",
            "type": "string"
        },
        "internal": {
            "type": "boolean"
        },
        "text": {
            "description": "Short text that describes the tag",
            "type": "string"
        }
    },
    "required": [
        "guid",
        "text"
    ],
    "type": "object",
    "version": 1
}