{
    "title": "changes",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.inventory.changes.StoreChangeRequest",
    "type": "object",
    "required": [
        "store"
    ],
    "properties": {
        "store": {
            "javaType": "com.sos.joc.model.inventory.changes.common.ChangeIdentifier",
            "type": "object",
            "required": [
                "name"
            ],
            "properties": {
                "name": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 100
                },
                "title": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "state": {
                    "javaType": "com.sos.joc.model.inventory.changes.common.ChangeState",
                    "type": "string",
                    "enum": [
                        "OPEN",
                        "CLOSED",
                        "PUBLISHED"
                    ]
                }
            },
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}