diff --git a/draft/spec/index.html b/draft/spec/index.html index dff539f9..8f19132e 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -860,7 +860,17 @@

Logs Directory

wrong, while others may wish to only store a log entry if an intervention was required.

+ +
+

Extensions directory

+

+ The base directory of an OCFL Object MAY contain a directory named extensions for the purposes + of extending the functionality of an OCFL Object. Sub-directories of the extensions directory MUST be named + according to a registered extension name. OCFL Validators MUST ignore any content in extensions that are + not understood. The specific structure and function of the extension, as well as a declaration of the + registered extension name MUST be defined in the OCFL Extensions Registry. +

@@ -954,7 +964,7 @@

Storage Hierarchies

-

Extensions

+

Root Extensions

The behavior of the storage root may be extended to support features from other specifications. An OCFL validator MUST ignore any files in the storage root it does not understand. Additional @@ -1513,6 +1523,27 @@

Moab in an OCFL Object

}
+
+

Example Extended OCFL Object

+

+ The following example OCFL Object has an extension containing custom content. The OCFL Object itself + remains valid. +

+
+[object root]
+    ├── 0=ocfl_object_1.0
+    ├── inventory.json
+    ├── inventory.json.sha512
+    ├── extensions
+    │   └── my-extension
+    │       └── file1-new.txt
+    └── v1
+        ├── inventory.json
+        ├── inventory.json.sha512
+        └── content
+            └── file.txt
+
+