BioCompute Logo

This document is part of the BioCompute Object User Guide

Back to BCO domains

2.1 Provenance Domain “provenance_domain”

This section defines the fields of the provenance_domain part of the BCO structure.

Condensed example:

"provenance_domain": {
        "name": "HCV1a ledipasvir resistance SNP detection", 
        "version": "2.9",
        "review": [
        ],
        "obsolete_after" : "2118-09-26T14:43:43-0400",
        "embargo" : {
	},
        "created": "2017-01-24T09:40:17-0500", 
        "modified": "2018-09-21T14:06:14-0400", 
        "contributors": [
        ],
        "license": "https://spdx.org/licenses/CC-BY-4.0.html"
},

2.1.1 Name “name”

Name for the BCO. This public field should take free text value using common biological research terminology supporting the terminology used in the usability_domain, external references (xref), and keywords sections. It is reccomended that BCO names be short and easily recognizable. They should also not use special characters (spell things out).

"name": "HCV1a ledipasvir resistance SNP detection"

2.1.2 Version “version”

Records the versioning of this BCO instance object. Semantic Versioning 2.0.0 describes versioning as follows:

Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards-compatible manner, and
  3. PATCH version when you make backwards-compatible bug fixes. Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

BCO versioning should adhere to semantic versioning. Given the above conditions a MAJOR version would qualify for a new BCO, and therefore it is recommended that the versioning of a BCO only utilize MINOR and PATCH, or two digits.

"version": "2.1",

2.1.3 Review “review”

This is an array to hold reviewer identifiers and a description of the status of an object in the review process. The subtype reviewer contains field(s) for name, affiliation, email, and the contribution type of the reviewer. To further record author information, ORCIDs are included as they allow for the author to curate their information after submission. ORCID identifiers must be valid and must have the prefix https://orcid.org/. The contribution type is a choice taken from PAV ontology: provenance, authoring and versioning, which also maps to the PROV-O.

The “status” key describes the status of an object in the review process and the following are the possible values:

  • unreviewed flag indicates that the object has been submitted, but no further evaluation or verification has occurred.
  • in-review flag indicates that verification is underway.
  • approved flag indicates that the BCO has been verified and reviewed.
  • suspended flag indicates an object that was once valid is no longer considered valid.
  • rejected flag indicates that an error or inconsistency was detected in the BCO, and it has been removed or rejected.

The fields from the contributor object (described in section 2.1.9) are used to populate the reviewer section. It is strongly recommended that each BCO have at least one review (ideally by someone not listed with createdBy or authoredBy) upon publication.

        "review": [
            {
                "status": "approved",
                "reviewer_comment": "Approved by GW staff. Waiting for approval from FDA Reviewer",
                "date": "2017-11-12T12:30:48-0400",
                "reviewer": {
                    "name": "Charles Hadley King", 
                    "affiliation": "George Washington University", 
                    "email": "hadley_king@gwu.edu",
                    "contribution": "curatedBy",
                    "orcid": "https://orcid.org/0000-0003-1409-4549"
                }
            },
            {
                "status": "approved",
                "reviewer_comment": "The revised BCO looks fine",
                "date": "2017-12-12T12:30:48-0400",
                "reviewer": {
                    "name": "Eric Donaldson", 
                    "affiliation": "FDA", 
                    "email": "Eric.Donaldson@fda.hhs.gov",
                    "contribution": "curatedBy"
                }
            }
        ]

2.1.4 Inheritance/derivation “derived_from”

If the object is derived from another, this field will specify the parent object, in the form of the ‘object_id’. If the object is novel than the field is not included.

"derived_from" : "https://example.com/BCO_948701/1.0"

2.1.5 Obsolescence “obsolete_after”

If the object has an expiration date this field will specify that using the ‘datetime’ type which is in ISO-8601 format as clarified by W3C https://www.w3.org/TR/NOTE-datetime. This field is optional.

"obsolete_after" : "2118-09-26T14:43:43-0400"

2.1.6 Embargo “embargo”

If the object has a period of time that it is not public, that range can be specified using these fields. Using the datetime type, a start and end time are specified for the embargo. These fields are optional.

"embargo" : {
    "start_time": "2000-09-26T14:43:43-0400",
    "end_time": "2000-09-26T14:43:45-0400"
},

2.1.7 Created “created”

Using the datetime type the time of initial creation of the BCO is recorded in ISO-8601 format as clarified by W3C https://www.w3.org/TR/NOTE-datetime. This field should be readOnly.

"created": "2017-01-20T09:40:17-0500"

2.1.8 Modification “modified”

Using the datetime type the time of most recent modification of the BCO is recorded

"modified": "2018-03-21T18:31:48-0400"

2.1.9 Contributors “contributors”

This is a list to hold contributor identifiers and a description of their type of contribution, including a field for ORCIDs to record author information, as they allow for the author to curate their information after submission. ORCID identifiers must be valid and must have the prefix https://orcid.org/. The contribution type is a choice taken from PAV ontology: provenance, authoring and versioning, which also maps to the PROV-O.

        "contributors": [
            {
                "name": "Charles Hadley King", 
                "affiliation": "George Washington University", 
                "email": "hadley_king@gwu.edu",
                "contribution": ["createdBy", "curatedBy"],
                "orcid": "https://orcid.org/0000-0003-1409-4549"
            },

            {
                "name": "Eric Donaldson", 
                "affiliation": "FDA", 
                "email": "Eric.Donaldson@fda.hhs.gov",
                "contribution": ["authoredBy"]
            }
        ]

2.1.10 License “license”

A space for Creative Commons licence or other license information (text). The default or recommended licence can be Creative Commons Attribution 4.0 International identified as https://spdx.org/licenses/CC-BY-4.0.html

"license": "https://spdx.org/licenses/CC-BY-4.0.html"