jsd-valid
($ns as string, $name as string, $instance as json-item()) as boolean
Validates the $instance JSON item against the JSound type with name $name and namespace $ns, from the JSound schema definition $jsd. |
jsd-valid
($jsd as object(), $name as string, $ns as string, $instance as item()) as boolean
Validates the $instance JSON item against the JSound type with name $name and namespace $ns, from the JSound schema definition $jsd. |
declare %an:sequential function jsv:jsd-valid($ns as string, $name as string, $instance as json-item()) as boolean
declare %an:sequential function jsv:jsd-valid($jsd as object(), $name as string, $ns as string, $instance as item()) as boolean