{
  "id": "https://schemaregistry.analysis.ext.hp.com/cdm/id/sw/clientError.schema.json", 
  "version": "1.0.7", 
  "gun": "com.hp.cdm.platform.software.domain.eventing.resource.eventDetail.type.clientError.version.1", 
  "description": "CDM client error event. Sent when the client finds errors from a previous run", 
  "required": [
    "id", 
    "version"
  ], 
  "anyOf": [
    {
      "required": [
        "errors"
      ]
    }, 
    {
      "required": [
        "logFile"
      ]
    }
  ], 
  "additionalProperties": false, 
  "$schema": "http://json-schema.org/draft-04/schema#", 
  "type": "object", 
  "properties": {
    "id": {
      "type": "string", 
      "format": "uri", 
      "description": "id of the schema to validate against"
    }, 
    "version": {
      "description": "Version number 2-dots", 
      "maxLength": 32, 
      "pattern": "^([0-9]+[.][0-9]+[.][0-9]+)$", 
      "type": "string"
    }, 
    "errors": {
      "description": "A list of error lines with a maximum length of limit.", 
      "type": "array", 
      "additionalItems": false, 
      "items": {
        "type": "string", 
        "maxItems": 256, 
        "minItems": 1, 
        "description": "Log line of the error"
      }, 
      "maxItems": 50
    }, 
    "logFile": {
      "description": "This is the log filed that has been GZIPed and then base64ed", 
      "type": "string", 
      "contentEncoding": "base64", 
      "contentMediaType": "text/gzip", 
      "maxLength": 136534
    }
  }, 
  "jsonSchemaGun": "com.hp.cdm.platform.software.domain.eventing.resource.eventDetail.type.clientError.version.1.schema.json"
}
