project_in_project.tsv

Sourced from the CFDE-CC Documentation Wiki

Each row in this table asserts "the second listed project is a subproject of the first listed project."

Usage notes:

  • project_in_project.tsv will contain one row for every parent->child (project->subproject) relationship in the project hierarchy a DCC has chosen to express. (If no subprojects are defined -- i.e. if a DCC is representing its data as governed by one big DCC-wide project -- this table may contain no data (non-header) rows.)

  • Projects need only be explicitly linked to their immediate parents via project_in_project.tsv. Transitive containment of each project (by more distant ancestor projects than its immediate parent project) will be automatically inferred.

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

FieldField DescriptionRequired?Field Value TypeExtra Info
parent_project_id_namespaceThe identifier namespace for the parent in this parent-child project pairRequiredstringThis will be the value of id_namespace in the row in project.tsv corresponding to the parent 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.
parent_project_local_idThe ID of the containing (parent) project in this parent-child project pairRequiredstringThis will be the value of local_id in the row in project.tsv corresponding to the parent project referenced in this row.
child_project_id_namespaceThe identifier namespace for the child in this parent-child project pairRequiredstringThis will be the value of id_namespace in the row in project.tsv corresponding to the child 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.
child_project_local_idThe ID of the contained (child) project in this parent-child project pairRequiredstringThis will be the value of local_id in the row in project.tsv corresponding to the child project referenced in this row.

Return to C2M2 Documentation