{
   "$id":"http://example.com/example.json",
   "type":"object",
   "properties":{
      "list_id":{
         "$id":"/properties/list_id",
         "type":"string",
         "description":"If the search was successful the ID of the result list is returned.",
         "examples":[
            "ABV1234MN56BN"
         ]
      },
      "error_list": {
         "type": "array",
         "items": {
            "$id": "/properties/error_list/items/",
            "type": "object",
            "properties": {
               "error_code": {
                  "$id": "/properties/error_list/items/properties/error_code",
                  "type": "string",
                  "description": "If the search fails an error code is sent back.",
                  "default": "",
                  "examples": [
                     "unexpected-field-in-query"
                  ]
               },
               "field": {
                  "$id": "/properties/error_list/items/properties/field",
                  "type": "string",
                  "description": "Field name for which error is there.",
                  "default": "",
                  "examples": [
                     "operatio"
                  ]
               }
            },
            "required": [
               "error_code"
            ]
         }
      }
   },
   "oneOf": [
      {
         "required": [
            "list_id"
         ]
      },
      {
         "required": [
            "error_list"
         ]
      }
   ]
}