{
	"$id": "https://www.atsc-schemas.org/atsc3.0/a344/cs-20240822/org.atsc.unsubscribe-response.json",
	"$schema": "https://json-schema.org/draft/2019-09/schema#",
	"title": "Integrated Unubscribe API Response",
	"description": "Integrated Unubscribe API Response",
	"type": "object",
	"properties": {
		"jsonrpc": {
			"type": "string",
			"enum": [ "2.0" ]
		},
		"id": {
			"type": "integer"
		},
		"result": {
			"type": "object",
			"properties": {
				"msgType": {
					"type": "array",
					"items": {
						"type": "string",
						"examples": [ "ratingBlock", "serviceChange", "captionState", "languagePref", "captionDisplayPrefs", "audioAccessibilityPref", "alertingChange", "contentChange", "serviceGuideChange", "signalingData", "dialogEnhancementPrefChange", "dialogEnhancementLimitChange", "contentRecoveryStateChange", "displayOverrideChange", "recoveredComponentInfoChange", "rmpMediaTimeChange", "rmpPlaybackStateChange", "rmpPlaybackRateChange", "DRM", "xlinkResolution" ]
					}
				}
			},
			"required": [ "msgType" ]
		},
		"error": {
			"type": "object",
			"properties": {
				"code": {
					"type": "integer"
				},
				"message": {
					"type": "string"
				},
				"data": {}
			},
			"required": [
				"code",
				"message"
			]
		}
	},
	"required": [ "jsonrpc", "id" ],
	"oneOf": [
		{
			"required": [
				"result"
			]
		},
		{
			"required": [
				"error"
			]
		}
	]
}
