{"id":28723269,"url":"https://github.com/mysociety/bods-test","last_synced_at":"2026-02-16T12:31:46.346Z","repository":{"id":66427011,"uuid":"254047516","full_name":"mysociety/bods-test","owner":"mysociety","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-26T13:23:13.000Z","size":540,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-07T16:52:03.872Z","etag":null,"topics":["beneficial-ownership","bods","forms","forms-builder","frontend"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mysociety.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-04-08T09:47:18.000Z","updated_at":"2020-05-26T13:23:15.000Z","dependencies_parsed_at":"2023-02-22T09:30:32.707Z","dependency_job_id":null,"html_url":"https://github.com/mysociety/bods-test","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":"0.33333333333333337","last_synced_commit":"7248aec15467ddf48d4c64661e978024c4cc5d81"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mysociety/bods-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysociety%2Fbods-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysociety%2Fbods-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysociety%2Fbods-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysociety%2Fbods-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysociety","download_url":"https://codeload.github.com/mysociety/bods-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysociety%2Fbods-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29507902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beneficial-ownership","bods","forms","forms-builder","frontend"],"created_at":"2025-06-15T09:13:07.631Z","updated_at":"2026-02-16T12:31:46.323Z","avatar_url":"https://github.com/mysociety.png","language":null,"readme":"# Prototype of a form for collecting BODS-compliant data, using the MoJ Form Builder tool\n\nThis form was an early prototype of collecting [BODS](http://standard.openownership.org/en/0.2.0/)-compliant beneficial ownership data at the point that a supplier might be registering with a local or national government procurement platform.\n\nWe used the [Ministry of Justice’s form builder tool](https://github.com/ministryofjustice/fb-editor-console-electron) to help us quickly put together a fully-functional prototype.\n\nThis Git repository contains all of the configuration for the prototype form.\n\n## How to get this running locally\n\n1. Install the MoJ [Form Builder Editor Console](https://github.com/ministryofjustice/fb-editor-console-electron). Currently this appears to be Mac-only.\n2. Open the Form Builder Editor Console app, and select “Add an existing form” from the navigation bar.\n3. Paste this repository’s URL into the text input:\n\n       https://github.com/mysociety/bods-test\n\n4. Press \"Add the form\", and the Editor Console will create a local clone of the form into `~/Documents/formbuilder/forms`.\n5. You can now launch the Editor UI for the form by pressing the “Start” link next to the form’s name.\n\nIf you don’t want to use the Editor Console, or you’re using a platform that isn’t supported by the Editor Console app, then you _might_ be able to get the form running by installing and configuring the underlying [fb-editor-node](https://github.com/ministryofjustice/fb-editor-node) and [fb-runner-node](https://github.com/ministryofjustice/fb-runner-node) libraries on their own.\n\n## How to use the editor\n\nPress the “Start” link next to the bods-test form, and the form-builder editor interface will open in your browser.\n\n![Form Builder Editor Console](docs/console.png)\n\nAt a fundamental level, the form is separated into ‘Pages’ that follow on from one another.\n\n![Pages displayed in the editor](docs/flow.png)\n\nBut if you “Enable steps” on a page, then you’ll be able to add new pages _as follow-on steps_ from that parent page, and you’ll be able to show those sub-steps conditionally, based on answers given earlier in the form.\n\n![Enabling steps on a page](docs/edit.png)\n\nYou can add or edit the steps that follow on from a particular page, using the “Step settings” dropdown menu.\n\n![Editing steps for a page](docs/step-settings.png)\n\nYou can use the “Run form” link in the top right corner, to try the form out.\n\n![Running the form](docs/run.png)\n\n## How to commit and push changes to the form\n\nAlthough the Form Builder Editor Console uses Git to import pre-existing forms, it doesn’t automatically commit changes to the form as you edit it.\n\nIf you want to commit your changes (perhaps to share them with your colleagues), you can commit from inside the Git repository, as you would any other repository. Eg:\n\n    cd ~/Documents/formbuilder/forms/bods-test\n    git add .\n    git commit\n\nAt this point, since the Editor Console first cloned the repository with a `https` URL, you’ll probably want to add your own SSH upstream URL, so you can push without fiddling with HTTP authentication:\n\n    git remote add upstream git@github.com:mysociety/bods-test.git\n    git push upstream HEAD\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysociety%2Fbods-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysociety%2Fbods-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysociety%2Fbods-test/lists"}