{
    "title": "available positions for a resume/add order",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "javaType": "com.sos.joc.model.order.Position",
    "properties": {
        "position": {
            "description": "Actually, each even item is a string, each odd item is an integer",
            "type": "array",
            "minItems": 1,
            "items": {
                "anyOf": [
                    {
                        "type": "integer"
                    },
                    {
                        "type": "string"
                    }
                ]
            }
        },
        "positionString": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "type": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "label": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        }
    },
    "additionalProperties": false
}