{
    "title": "metadata",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.note.common.Metadata",
    "type": "object",
    "properties": {
        "created": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "createdBy": {
            "javaType": "com.sos.joc.model.note.common.Author",
            "type": "object",
            "properties": {
                "userName": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255,
                    "minLength": 1
                }
            },
            "additionalProperties": false
        },
        "modified": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        },
        "modifiedBy": {
            "javaType": "com.sos.joc.model.note.common.Author",
            "type": "object",
            "properties": {
                "userName": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255,
                    "minLength": 1
                }
            },
            "additionalProperties": false
        },
        "postCount": {
            "type": "integer",
            "minimum": 0
        },
        "participantCount": {
            "type": "integer",
            "minimum": 0
        },
        "severity": {
            "javaType": "com.sos.joc.model.note.common.Severity",
            "type": "string",
            "enum": [
                "CRITICAL",
                "HIGH",
                "NORMAL",
                "LOW",
                "INFO"
            ],
            "default": "NORMAL"
        },
        "displayPreferences": {
            "javaType": "com.sos.joc.model.note.common.DisplayPreferences",
            "type": "object",
            "properties": {
                "width": {
                    "type": "integer",
                    "minimum": 0
                },
                "height": {
                    "type": "integer",
                    "minimum": 0
                }
            },
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}