include "common.rnc"

start |= Viewer

Viewer = element viewer {
	Service
}

InterfaceType &= "viewer"

InvocationParameterElements &=
	(
	## javascript code to get back data from the viewer
	Format?
	)

Format =
	## a single javascript chunk
	element format { attribute base64encoded { xsd:boolean },attribute extension { xsd:string }?, Code }
