User:Alsroot/trash/Object Bundles: Difference between revisions

Line 31: Line 31:


=== METADATA file ===
=== METADATA file ===
METADATA files could consists of several predefined sections:
* ''[Metadata*]''
* ''[Activity]'' (reserved for future use)
* ''[Library]'' (reserved for future use)
* ''[General]'' (reserved for future use)


Any field in METADATA file can have ''_file'' suffix, in that case content of this field(substring w/o ''_file'' suffix) will be fetched from file inside of the bundle.
Any field in METADATA file can have ''_file'' suffix, in that case content of this field(substring w/o ''_file'' suffix) will be fetched from file inside of the bundle.
Line 69: Line 63:


METADATA file could have several ''[Manifest]'' sections, in that case they would be parted by different suffixes e.g. ''[Manifest2]'', ''[Manifest.additional]'' etc. Multi-object bundles could be utilized in >0.86 for collections of objects or actions.
METADATA file could have several ''[Manifest]'' sections, in that case they would be parted by different suffixes e.g. ''[Manifest2]'', ''[Manifest.additional]'' etc. Multi-object bundles could be utilized in >0.86 for collections of objects or actions.
==== [Bundle] section ====
If ''[Metadata]/journal_file'' is omited(bundle will be stored as is in Journal), this section describes additional to ''[Metadata]'' properties.
{| border=1 cellpadding=3 style="border: 1px solid white; border-collapse: collapse; background: #e3e4e5;"
|-style="background:#787878; color: white;"
! Field
! Flags
! Notes
|-
|}


=== MANIFEST file ===
=== MANIFEST file ===