{
    "title": "xmleditor read configuration answer OTHER",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.xmleditor.read.other.AnswerConfiguration",
    "type": "object",
    "description": "",
    "required": [
        "name"
    ],
    "properties": {
        "id": {
            "type": "integer"
        },
        "name": {
            "type": "string"
        },
        "schema": {
            "type": "string"
        },
        "schemaIdentifier": {
            "type": "string"
        },
        "configuration": {
            "type": "string"
        },
        "configurationJson": {
            "type": "string"
        },
        "recreateJson": {
            "type": "boolean"
        },
        "state": {
            "javaType": "com.sos.joc.model.xmleditor.read.other.AnswerConfigurationState",
            "type": "object",
            "description": "Describes the draft situation",
            "properties": {
                "deployed": {
                    "type": "boolean"
                },
                "versionState": {
                    "javaType": "com.sos.joc.model.xmleditor.common.ObjectVersionState",
                    "type": "string",
                    "enum": [
                        "LIVE_IS_NEWER",
                        "DRAFT_IS_NEWER",
                        "LIVE_NOT_EXIST",
                        "DRAFT_NOT_EXIST",
                        "NO_CONFIGURATION_EXIST"
                    ]
                },
                "message": {
                    "javaType": "com.sos.joc.model.xmleditor.common.AnswerMessage",
                    "type": "object",
                    "properties": {
                        "code": {
                            "type": "string"
                        },
                        "message": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "validation": {
            "javaType": "com.sos.joc.model.xmleditor.validate.ValidateConfigurationAnswer",
            "type": "object",
            "description": "",
            "properties": {
                "validated": {
                    "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
                    "type": "string",
                    "format": "date-time"
                },
                "validationError": {
                    "javaType": "com.sos.joc.model.xmleditor.validate.ErrorMessage",
                    "type": "object",
                    "properties": {
                        "code": {
                            "type": "string"
                        },
                        "message": {
                            "type": "string"
                        },
                        "line": {
                            "type": "integer"
                        },
                        "column": {
                            "type": "integer"
                        },
                        "elementName": {
                            "type": "string"
                        },
                        "elementPosition": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "modified": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        }
    }
}