Getting Started¶
Prerequisites¶
To use the web application: a modern browser (Chrome, Firefox, Edge, or Safari). No installation required โ the editor runs entirely in the browser at cpsv-editor.open-regels.nl.
To run the editor locally:
- Node.js 24.22.3, the version pinned in the repository's
.nvmrc - npm
Signing in¶
Signing in is optional. Everything except deploying and publishing works signed out: editing, importing, validating and downloading Turtle.
Click Sign in at the top right of the header and choose a route:
- Flevoland-account โ straight to Flevoland's own sign-in.
- Medewerker โ the employee password page.
The sign-in opens in a popup, so the service you are editing stays where it is. When it is done the popup closes, and the header shows your name and Sign out. If the browser blocks the popup, the whole page goes to the sign-in and comes back. A browser that has signed in once restores the session on the next visit without asking.
Deploying to Operaton and publishing to TriplyDB need the lde-author role, the same role the Linked Data Explorer uses. An account without it is shown as View only, with a note that can be dismissed; ask an administrator for the role. Where the backend offers test deploys, the note says that you can still test-deploy a DMN, to the tenant and for the time the backend names (TestOnly, removed after 48 hours), while deploying to Operaton and publishing stay locked; elsewhere it says only that they are locked. Signed out or view only, the Publish button is locked, and the DMN tab's Deploy is either locked or, on acceptance, a test deploy โ see The DMN Tab.
Local installation¶
The application opens at http://localhost:3000.
To build a production bundle:
The dist/ directory contains the static files ready for deployment.
Creating your first service definition¶
The typical workflow for a new service definition follows these steps:
-
Fill in Service Details โ Enter the service identifier, official name, description, and sector. The identifier becomes the base for all RDF URIs in the output, so choose something stable and descriptive (e.g.
aow-leeftijdsbepaling). -
Add Organisation โ Enter the competent authority. The geographic jurisdiction (
dct:spatial) is mandatory. -
Link Legal Resource โ Enter the BWB ID of the governing legislation (e.g.
BWBR0002221). The editor validates the format and constructs the ELI URI. -
Define Rules (optional) โ Add temporal rules that implement the legal resource.
-
Add Parameters (optional) โ Add configurable constants used by the rules.
-
Add Policy (CPRMV) (optional) โ Import or enter normative rules extracted from the legislation.
-
Validate โ Click the Validate button to check for errors. Missing mandatory fields are highlighted.
-
Download TTL โ Click Download TTL to export the compliant Turtle file.
Importing an existing file¶
If you have an existing .ttl file:
- Click Import TTL File in the header.
- Select the file.
- All tabs populate automatically from the imported data.
- Edit the fields as needed.
- Download the updated Turtle.
Clearing the editor¶
Click Clear All in the header to reset all fields. A confirmation dialog โ Clear All Fields? โ prevents accidental data loss; confirm with Clear All Data. It also empties the DMN tab, including a DMN file you loaded there.