{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "ErrorResponse",
  "description": "Error response",
  "properties": {
    "message": {
      "type": [
        "string",
        "null"
      ],
      "title": "message"
    },
    "messageKey": {
      "type": "string",
      "title": "messageKey"
    },
    "params": {
      "type": [
        "array",
        "null"
      ],
      "title": "params"
    }
  },
  "required": [
    "messageKey"
  ]
}

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "ErrorResponse",
  "description": "Error response",
  "properties": {
    "message": {
      "type": "string",
      "title": "message"
    },
    "messageKey": {
      "type": "string",
      "title": "messageKey"
    },
    "params": {
      "type": [
        "array",
        "null"
      ],
      "title": "params"
    }
  },
  "required": [
    "message",
    "messageKey"
  ]
}

Set message as required field for error response (FEOLMIS-690)
OLMIS-1399: Set message as required field for error response (FEOLMIS-690)
