Filling Out the File Area Inventory Classes
The <File_Area_Inventory> contains a reference to a single physical file, and an Inventory description detailing the structure in the file. An Inventory object is a specific form of delimited table, with defined field names and characteristics.
For additional explanation, see the PDS4 Standards Reference, or contact your PDS node consultant.
Following are the attributes and subclasses you'll find in the File_Area_Inventory, in label order.
Note that in the PDS4 master schema, all classes have capitalized names; attributes never do.
This class is handled identically in all File_Area_* classes. It is described in detail on the Filling_Out_the_File_Class page.
This is a special form of a Table_Delimited data structure. Start by creating a Table_Delimited data structure as described in Filling_Out_the_Table_Delimited_Data_Structure, but using these modifications and constraints:
- Use <Inventory> and </Inventory> in place of <Table_Delimiter> and <Table_Delimited>.
- There must be exactly two <Field_Delimited> subclasses.
- The first Field_Delimited class must have:
- <name> of "Member_Status"
- <field_number> present and set to "1"
- <data_type> of "ASCII_String"
- <maximum_field_length> of 1 byte
- The second Field_Delimited class must have:
- <name> of "LIDVID_LID"
- <field_number> present and equal to "2"
- <data_type> of "ASCII_LIDVID_LID"
In the corresponding data file there must be two columns following the PDS DSV 1 table standard (still in development as of this writing). The first column must contain either 'P' or 'S', to indicate whether the product is a primary or secondary member, respectively, of the collection. The second column contains the LID or LIDVID of the product to be included in the collection (using only a LID means that all versions of that product are considered to be members of the given type).
A secondary member is any product that has (or will be) archived as the primary member of another collection. A product must be a primary member of exactly collection - the one that has the same LID as found in the product's LID. A product may be a secondary member of many collections. No product may be both a primary and a secondary member of the same collection.
This attribute must follow the <Record_Delimited> class, and must have the value inventory_has_member_product.