collection_defined_by_project.tsv

Sourced from the CFDE-CC Documentation Wiki

collection_defined_by_project optionally attaches a unique primary generating project to a C2M2 collection: this is meant to express the same relationship between a project and a collection as is (for example) expressed by the project foreign key in the file.tsv table: "collection C was defined under the auspices of project P," just as "file F was created by project P."

Usage notes:

  • Not every collection will have a well-defined project under which it was created, so populating collection_defined_by_project.tsv is optional.

  • The collection_defined_by_project.tsv table will contain at most one row for each collection listed in collection.tsv.

  • Please see the technical docs for a complete discussion of the rules governing the use of this table.

FieldField DescriptionRequired?Field Value TypeExtra Info
collection_id_namespaceIdentifier namespace for this collectionRequiredstringThis will be the value of id_namespace in the row in collection.tsv corresponding to the collection referenced in this row. If your program has not registered multiple CFDE identifier namespaces, this will be exactly the same value for all rows.
collection_local_idThe ID of this collectionRequiredstringThis will be the value of local_id in the row in collection.tsv corresponding to the collection referenced in this row.
project_id_namespaceIdentifier namespace for this projectRequiredstringThis will be the value of id_namespace in the row in project.tsv corresponding to the project referenced in this row. If your program has not registered multiple CFDE identifier namespaces, this will be exactly the same value for all rows.
project_local_idThe ID of this projectRequiredstringThis will be the value of local_id in the row in project.tsv corresponding to the project referenced in this row.

Return to C2M2 Documentation