瀏覽代碼

Add server managed terms.

Stefano Cossu 7 年之前
父節點
當前提交
28e4f3b189
共有 1 個文件被更改,包括 35 次插入0 次删除
  1. 35 0
      lakesuperior/dictionaries/srv_mgd_terms.py

+ 35 - 0
lakesuperior/dictionaries/srv_mgd_terms.py

@@ -0,0 +1,35 @@
+from lakesuperior.dictionaries.namespaces import ns_collection as nsc
+
+srv_mgd_subjects = {
+    nsc['fcsystem'].root,
+}
+
+srv_mgd_predicates = {
+    nsc['fcrepo'].created,
+    nsc['fcrepo'].createdBy,
+    nsc['fcrepo'].hasFixityService,
+    nsc['fcrepo'].hasParent,
+    nsc['fcrepo'].lastModified,
+    nsc['fcrepo'].lastModifiedBy,
+    nsc['fcrepo'].writable,
+    nsc['iana'].describedBy,
+    nsc['ldp'].contains,
+    nsc['premis'].hasMessageDigest,
+    nsc['premis'].hasSize,
+}
+
+srv_mgd_types = {
+    nsc['fcrepo'].Binary,
+    nsc['fcrepo'].Container,
+    nsc['fcrepo'].Pairtree,
+    nsc['fcrepo'].Resource,
+    nsc['ldp'].BasicContainer,
+    nsc['ldp'].Container,
+    nsc['ldp'].DirectContainer,
+    nsc['ldp'].IndirectContainer,
+    nsc['ldp'].NonRDFSource,
+    nsc['ldp'].RDFSource,
+    nsc['ldp'].Resource,
+}
+
+