{
	"$id": "https://www.atsc-schemas.org/atsc3.0/a344/20240213/org.atsc.notify-rfSignalChange.json",
	"$schema": "https://json-schema.org/draft/2019-09/schema#",
	"title": "RF Signal Change Notification API",
	"description": "RF Signal Change Notification API",
	"type": "object",
	"properties": {
		"jsonrpc": {
			"type": "string",
			"enum": [ "2.0" ]
		},
		"method": {
			"type": "string",
			"enum": [ "org.atsc.notify" ]
		},
		"params": {
			"type": "object",
			"properties": {
				"msgType": {
					"type": "string",
					"enum": [ "rfSignalChange" ]
				},
				"rfChannel": { "type": "integer" },
				"frequency": { "type": "integer" },
				"signalQuality": {
					"type": "string",
					"enum": [ "lost", "weak", "strong" ]
				},
				"signalStrength": {
					"type": "integer",
					"minimum": 0,
					"maximum": 100
				},
				"gainLevel": {
					"type": "integer",
					"minimum": 0,
					"maximum": 100
				},
				"bootstrapLock": { "type": "boolean" },
				"alpLock": { "type": "boolean" }
			},
			"required": [ "msgType", "rfChannel", "frequency", "signalQuality" ]
		}
	},
	"required": [ "jsonrpc", "method", "params" ]
}
