{
    "title": "xmleditor read standard configuration (YADE, NOTIFICATION) answer",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.xmleditor.read.standard.ReadStandardConfigurationAnswer",
    "type": "object",
    "description": "",
    "required": [
        "configuration",
        "schema",
        "state"
    ],
    "properties": {
        "configuration": {
            "type": "string"
        },
        "configurationJson": {
            "type": "string"
        },
        "recreateJson": {
            "type": "boolean"
        },
        "schema": {
            "type": "string"
        },
        "schemaIdentifier": {
            "type": "string"
        },
        "state": {
            "javaType": "com.sos.joc.model.xmleditor.read.standard.ReadStandardConfigurationAnswerState",
            "type": "object",
            "description": "Describes the situation live/draft",
            "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"
                        }
                    }
                }
            }
        },
        "warning": {
            "javaType": "com.sos.joc.model.xmleditor.common.AnswerMessage",
            "type": "object",
            "properties": {
                "code": {
                    "type": "string"
                },
                "message": {
                    "type": "string"
                }
            }
        },
        "modified": {
            "description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
            "type": "string",
            "format": "date-time"
        }
    }
}