{
	"$id": "https://www.atsc-schemas.org/atsc3.0/a344/20210323/org.atsc.xlinkResolution-request.json",
	"$schema": "https://json-schema.org/draft/2019-09/schema#",
	"title": "XLink Resolved API",
	"description": "XLink Resolved API",
	"type": "object",
 	 "properties": {
		"jsonrpc": {
			"type": "string", 
			"enum": [ "2.0" ]
		},
		"id": { 
			"type": "integer"
		},
		"method": 
{"type": "string",
	"enum": [
		"org.atsc.xlinkResolution"] 
	 },
	"params":{
    "type": "object",
    "oneOf": [
        {
            "properties": {
                "xlink": {"type": "string", "format": "uri"},
                "mpdURL": {"type": "string", "format": "uri"}
            },
            "required": ["xlink", "mpdURL"]
        },
        {
            "properties": {
                "xlink": {"type": "string", "format": "uri"},
                "period": {"type": "string", "format": "xml"}
            },
            "required": ["xlink", "period"]
        }]
    }
},
	"required": [ "jsonrpc", "id", "method", "params" ] 
}
