Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion doc/ch02-md-elements-storage_information.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ sha512sum) and other higher order approaches. Sub elements include:
* file_size: Size of file according to the units expressed as attribute
unit. Valid units are MB, GB and TB.
* checksum: A checksum for the file. This element require attribute type
to be present.
to be present.
* storage_expiry_date: The date when the dataset reaches the end of its life cycle management. After this date the dataset can be deleted. When this information is not present, it is implied that the dataset does not have a storage expiration date, that it is in active life cycle management, and that it can not be deleted.

Virtual datasets that are established through aggregation of individual
files on e.g. an OPeNDAP server are not described with this element. For
Expand All @@ -41,6 +42,7 @@ harvested data usually only file format is available, if any.
<checksum type="sha512sum">
ad33563f9ab3a6f2ba74ebd72cb1f45fda00d55121a29a29230147e3472ef267c50882b0e0b21ef9ee5ed5cc25e454167cd19a1818f1e13bc044b6fc3ef8f285
</checksum>
<storage_expiry_date>2027-10-24</storage_expiry_date>
</storage_information>
----

Expand Down
11 changes: 6 additions & 5 deletions xsd/mmd.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,12 @@
</xs:simpleType>
<xs:complexType name="storage_information_type">
<xs:all>
<xs:element name="file_name" type="xs:string" maxOccurs="1" minOccurs="0"/>
<xs:element name="file_location" type="xs:string" maxOccurs="1" minOccurs="0"/>
<xs:element name="file_format" type="xs:string" maxOccurs="1" minOccurs="0"/>
<xs:element name="file_size" type="mmd:value_size" maxOccurs="1" minOccurs="0"/>
<xs:element name="checksum" type="mmd:value_checksum" maxOccurs="1" minOccurs="0"/>
<xs:element name="file_name" type="xs:string" maxOccurs="1" minOccurs="0"/>
<xs:element name="file_location" type="xs:string" maxOccurs="1" minOccurs="0"/>
<xs:element name="file_format" type="xs:string" maxOccurs="1" minOccurs="0"/>
<xs:element name="file_size" type="mmd:value_size" maxOccurs="1" minOccurs="0"/>
<xs:element name="checksum" type="mmd:value_checksum" maxOccurs="1" minOccurs="0"/>
<xs:element name="storage_expiry_date" type="xs:date" maxOccurs="1" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:complexType name="value_size">
Expand Down
1 change: 1 addition & 0 deletions xsd/mmd_strict.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@
<xs:element name="file_format" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
<xs:element name="file_size" type="mmd:value_size" maxOccurs="1" minOccurs="0"></xs:element>
<xs:element name="checksum" type="mmd:value_checksum" maxOccurs="1" minOccurs="0"></xs:element>
<xs:element name="storage_expiry_date" type="xs:date" maxOccurs="1" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="value_size">
Expand Down