Buildbcos

From BCOeditor Wiki
Jump to navigation Jump to search
  1. Click on BCO Builder icon on the Navigation Bar:
    101.png
  2. To begin filling out the BCO, click on Provenance Domain to expand the section. Fill out the information as needed. Red boxes are required fields, and plain boxes are optional fields. Click next to advancing to the next section.
    102.png
  3. For information to fill out each domain, please refer to these links: Provenance Domain, Usability Domain, Extension Domain, Description Domain, Execution Domain, I/O Domain, Parametric Domain, and Error Domain. Or, click on the question mark icon on each domain for more information.
  4. User can also view/edit the BCO in JSON by clicking RAW JSON VIEW.
    103.png
  5. A BCO draft can be saved at any time of editing. In order to save a draft, go to the top of the page to choose a server.
    104.png
  6. After choosing the proper server, the BCO prefix field will show up. Enter a specific prefix (e.g. BCO, ARGOS, etc.) based on user groups and permissions. The default prefix is BCO, which can be used by all users.
    105.png
  7. Click on SAVE AS DRAFT to make sure all of the data is saved properly before publishing. A pop-up window will show up and indicate the draft is saved successfully.
    106.png
  8. Before publishing the draft, users need to validate the draft first. To do this, click on VALIDATE BCO. A new window will pop up with validation results. Please see this page for common errors and possible solutions.
    107.png
  9. If validation results show ‘“number_of_errors”: 0’, this means the draft has passed validation and it’s ready to publish. Go back to the Builder screen, and now the PUBLISH DRAFT button should turn blue, click on it to publish the draft.
    108.png
    107.png
  10. If any errors were detected during validation, then correct those errors based on the validation results. Revalidation is needed before publishing.
  11. Other options on the Builder page include DOWNLOAD BCO in JSON format and UPLOAD a BCO.
    109.png