Buildbcos

From BCOeditor Wiki
Revision as of 20:28, 14 July 2023 by ChinweokeO (talk | contribs)
Jump to navigation Jump to search
  1. Click on BCO Builder icon on the Navigation Bar:
    2023-07-12 121634.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 save before advancing to the next section.
    Screenshot 2023-07-12 122607.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.
    Screenshot 2023-07-12 140900.png
  5. A BCO draft can be saved at any time of editing. In order to save a draft, go to the bottom of the page, and click on the dropdown next to TOOLS.
    0.png
  6. To save the draft properly, first choose a server to save the draft.
    1.png
    2.png
  7. 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.
    Enter a prefix in the BCO Prefix field
  8. 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.
    4.png
  9. 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.
    5.png
  10. 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.
    6.png
    5.png
  11. If any errors were detected during validation, then correct those errors based on the validation results. Revalidation is needed before publishing.
  12. Other options on the Builder page include DOWNLOAD BCO in JSON format and UPLOAD a BCO.
7.png