{
	"$schema":"http://json-schema.org/draft-04/schema#",
	"title":"ContentSwitch",
	"type":"object",
	"additionalProperties":false,
	"description":"Analytics-v4 .. Content Switch object",
	"properties":{
		"log_context":{
			"$ref":"/resources/schema/analytics/client/v4/LogContext.json",
			"description":"Required Log Context Reference"
		},
		"event_name":{
			"type": "string",
			"enum": ["CONTENT_SWITCH"]
		},
		"schema_definition":{
			"type": "string",
			"enum": ["ContentSwitch"]
		},
		"previous_map_type":{
			"type": "string",
			"enum": ["BASE_MAP", "STREAMING"],
			"description":"The map the switched started from."
		},
		"current_map_type":{
			"type": "string",
			"enum": ["BASE_MAP", "STREAMING"],
			"description":"The map resulted after the switch."
		},
		"status":{
			"$ref":"/resources/schema/analytics/client/v4/type/ContentSwitchStatusValues.json",
			"description":"The status of content switch"
		},
		"error_type":{
			"$ref":"/resources/schema/analytics/client/v4/type/ContentSwitchErrorType.json",
			"description":"The reason if there was a switch fail"
		}
	},
	"required":[
		"log_context",
		"event_name",
		"schema_definition",
		"previous_map_type",
		"current_map_type",
		"status"
	]
}