Sourced from the CFDE-CC Documentation Wiki
Assignment of a subject as a member of a collection
If populated, subject_in_collection.tsv
will contain one row for every assignment of a subject as a member of a collection.
All fields are required: this table can be empty (header-row only), but any non-header rows must leave no fields blank.
Some examples:
Usage note:
X
, and collection X
is itself a subcollection of some other collection Y
(as expressed in the collection_in_collection table), then subject_in_collection.tsv
should only record the membership of the subject in collection X
: the subject's (transitive) membership in collection Y
will be automatically computed. In general, subject_in_collection.tsv
should record only the most specific (leaf-most) collection memberships: transitive membership of subjects in ancestor/superset collections will be automatically inferred from the containment relationships expressed in collection_in_collection.Field | Field Description | Required? | Field Value Type | Extra Info |
---|---|---|---|---|
subject_id_namespace | Identifier namespace for this subject [part 1 of 4-component composite primary key] | Required | string | This will be the value of id_namespace in the row in subject.tsv corresponding to the subject referenced in this row. If your program has not registered multiple CFDE identifier namespaces, this will be exactly the same value for all rows. |
subject_local_id | The ID of this subject [part 2 of 4-component composite primary key] | Required | string | This will be the value of local_id in the row in subject.tsv corresponding to the subject referenced in this row. |
collection_id_namespace | Identifier namespace for this collection [part 3 of 4-component composite primary key] | Required | string | This 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_id | The ID of this collection [part 4 of 4-component composite primary key] | Required | string | This will be the value of local_id in the row in collection.tsv corresponding to the collection referenced in this row. |