{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"title": "ServiceError",
	"type": "object",
	"additionalProperties": false,
	"description": "Analytics-v2 .. Service error object",
	"properties": {
		"log_context": {
			"$ref": "/resources/schema/analytics/client/v2/LogContext.json",
			"description": "Required Log Context Reference"
		},
		"event_name": {
			"type": "string",
			"enum": ["SERVICE_ERROR"]
		},
		"schema_definition": {
			"type": "string",
			"enum": ["ServiceError"]
		},
		"source": {
			"type": "string",
			"description": "Service which generated the errors. It can be DataSense or something else"
		},
		"error_list": {
			"type": "array",
			"maxItems": 1024,
			"items": {
				"type": "string"
			},
			"description": "Array of error messages"
		}
	},
	"required": [
		"log_context",
		"event_name",
		"schema_definition",
		"source",
		"error_list"
	]
}