JSON
{ "id": "auth-DE-442", "tenant": "http://www.slub-dresden.de", "commercialuse": true, "template": "Authentification", "actions": [ { "type": "displaymetadata", "permission": true }, { "type": "index", "permission": true }, { "type": "archive", "permission": true }, { "type": "read", "permission": true, "restrictions": [ { "type": "group", "groups": [ "registered" ] } ] }, { "type": "download", "permission": true, "restrictions": [ { "type": "group", "groups": [ "registered" ] } ] }, { "type": "print", "permission": true, "restrictions": [ { "type": "group", "groups": [ "registered" ] } ] } ] }
XML
<?xml version='1.0' encoding='ASCII'?> <libRML version="0.3"> <item id="auth-DE-442" tenant="http://slub-dresden.de" commercialuse="true" template="Authentification"> <action type="displaymetadata" permission="true"/> <action type="index" permission="true"/> <action type="archive" permission="true"/> <action type="read" permission="true"> <restriction type="group" groups="registered"/> </action> <action type="download" permission="true"> <restriction type="group" groups="registered"/> </action> <action type="print" permission="true"> <restriction type="group" groups="registered"/> </action> </item> </libRML>