{
    "title": "order filter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.order.OrderVariablesFilter",
    "type": "object",
    "required": [
        "controllerId",
        "orderId"
    ],
    "properties": {
        "controllerId": {
            "type": "string",
            "pattern": "^[^/\\<>?:\"|*]*$",
            "maxLength": 100
        },
        "orderId": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "position": {
            "description": "Actually, each even item is a string, each odd item is an integer",
            "type": "array",
            "items": {
                "anyOf": [
                    {
                        "type": "integer"
                    },
                    {
                        "type": "string"
                    }
                ]
            }
        }
    }
}