How to fill out top container template CSV¶
Example of completed top_containers.csv
¶
container_profile | type | indicator | barcode | container_location | internal_note |
---|---|---|---|---|---|
/container_profiles/225 | box | 34 | 41151034441778 | Bound-with Box 12 | |
/container_profiles/145 | folder | 2 | 41151034444400 | status==current;;start_date==2019-07-18;;ref== /locations/37 | |
/container_profiles/227 | item | 4 | 41151084448799 |
CSV columns¶
container_profile
- ArchivesSpace field equivalent: Container Profile
- Required in CSV:
False
- Allows multiple values:
False
- Data type: Ref
type
- ArchivesSpace field equivalent: Container Type
- Required in CSV:
True
- Allows multiple values:
False
- Data type: Controlled list - Container Type
indicator
- ArchivesSpace field equivalent: Indicator
- Required in CSV:
True
- Allows multiple values:
False
- Data type: String
barcode
- ArchivesSpace field equivalent: Barcode
- Required in CSV:
True
- Allows multiple values:
False
- Data type: String
internal_note
- ArchivesSpace field equivalent: Internal Note
- Required in CSV:
False
- Allows multiple values:
False
- Data type: String
Columns related to Locations
¶
container_location
- ArchivesSpace field equivalent: Locations section
- Required in CSV:
False
- Allows multiple values:
True
- Data type: Subfield type
- Allowed subfields:
- status
- ArchivesSpace field equivalent: Status
- Required in field:
True
- Data type: Controlled list - Container Location Status
- start_date
- ArchivesSpace field equivalent: Start Date
- Required in field:
True
- Data type: String - YYYY-MM-DD
- end_date
- ArchivesSpace field equivalent: End Date
- Required in field:
False
- Data type: String - YYYY-MM-DD
- note
- ArchivesSpace field equivalent: Note
- Required in field:
False
- Data type: String
- ref
- ArchivesSpace field equivalent: Location
- Required in field:
True
- Data type: Ref
- status
Default values¶
These are values automatically added to each record and can only be changed by editing the postTopContainers.py
script.
'jsonmodel_type': 'top_container'
'publish': True
'restricted': False
If container location is added:
'jsonmodel_type': 'container_location'