{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
        },
        "description": {
            "type": "string"
        },
        "objectid": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
        },
        "string-id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 2,
            "pattern": "^[0-9a-z][0-9a-z.@_-]{0,30}[0-9a-z]$"
        },
        "user-id": {
            "type": "string",
            "format": "email"
        },
        "info": {
            "type": "object"
        },
        "timestamp": {
            "type": [
                "string",
                "null"
            ],
            "format": "date-time"
        },
        "deleted-count": {
            "type": "object",
            "properties": {
                "deleted": {
                    "type": "integer"
                }
            }
        },
        "modified-count": {
            "type": "object",
            "properties": {
                "modified": {
                    "type": "integer"
                }
            }
        },
        "object-created": {
            "type": "object",
            "properties": {
                "_id": {
                    "type": "string"
                }
            },
            "x-sdk-return": "_id"
        }
    },
    "properties": {
        "label": {
            "$ref": "#/definitions/label"
        },
        "description": {
            "$ref": "#/definitions/description"
        },
        "objectid": {
            "$ref": "#/definitions/objectid"
        },
        "string-id": {
            "$ref": "#/definitions/string-id"
        },
        "user-id": {
            "$ref": "#/definitions/user-id"
        },
        "timestamp": {
            "$ref": "#/definitions/timestamp"
        },
        "deleted-count": {
            "$ref": "#/definitions/deleted-count"
        },
        "modified-count": {
            "$ref": "#/definitions/modified-count"
        },
        "object-created": {
            "$ref": "#/definitions/object-created"
        }
    },
    "required": [
        "label",
        "description",
        "objectid",
        "string-id",
        "user-id",
        "timestamp",
        "deleted-count",
        "modified-count",
        "object-created"
    ]
}