{
    "title": "WorkflowPosition",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.controller.model.workflow.WorkflowPosition",
    "type": "object",
    "required": [
        "workflowId",
        "position"
    ],
    "properties": {
        "workflowId": {
            "javaType": "com.sos.controller.model.workflow.WorkflowId",
            "type": "object",
            "required": [
                "path"
            ],
            "properties": {
                "path": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                },
                "versionId": {
                    "type": "string",
                    "pattern": "^[^<>]*$",
                    "maxLength": 255
                }
            },
            "additionalProperties": false
        },
        "position": {
            "description": "Actually, each even item is a string, each odd item is an integer",
            "type": "array",
            "items": {
                "anyOf": [
                    {
                        "type": "integer"
                    },
                    {
                        "type": "string"
                    }
                ]
            }
        }
    },
    "additionalProperties": false
}