Service, Organisation & Legal Definition¶
The editor's three foundational tabs โ Service, Organisation, and Legal โ cover the mandatory descriptive metadata required by CPSV-AP 3.2.0 for any Dutch government public service.
Service definition¶
The Service tab captures metadata about the public service itself, modelled as cpsv:PublicService. This is the anchor entity that all other data links to.
Key fields include the service's unique identifier (used to construct RDF URIs throughout the document), its official title and description, thematic classification, sector (government level), language, keywords, the services it requires, and cost and output specifications.
The identifier field has special significance: the editor sanitises it automatically, replacing spaces with hyphens and removing invalid URI characters. The resulting value is used as the base for every URI in the exported Turtle file, so a stable, descriptive identifier is important.
The Cost and Output sections within the Service tab implement cv:Cost and cv:Output from CPSV-AP 3.2.0, allowing services to document fees and the deliverables citizens receive.
Required services (dct:requires, CPSV-AP's requires on a public service) record which other public services this one relies on โ a subsidy amount, say, that is only computed once the right to the subsidy has been established. The editor offers the public services already published to the configured TriplyDB dataset, read through the Linked Data Explorer backend's SPARQL proxy without credentials, and accepts a pasted URI for one that is not published yet. The relation is context only: execution order and conditions live in the BPMN. The exported Turtle carries one dct:requires per service and no stub for the required service, which is described in its own graph โ so the file-local SHACL check reports one advisory class error on dct:requires (linked-data-explorer#315), which does not block publishing.
Organisation management¶
The Organisation tab models the competent authority responsible for the service as cv:PublicOrganisation (CPSV-AP 3.2.0 compliant โ formerly org:Organization).
The geographic jurisdiction field (dct:spatial) is mandatory under CPSV-AP 3.2.0. The editor enforces this and displays a validation error if it is omitted. The value is emitted as dct:spatial pointing at a dct:Location-typed node so the PublicOrganisationShape SHACL check passes without entailment (v1.10.0 โ replaces the non-conformant cv:spatial). On import the editor reads both dct:spatial and the legacy cv:spatial, so older files round-trip without losing the value.
Organisation logos can be uploaded directly in this tab. Uploaded images are resized to 256ร256px, encoded as base64, and โ when publishing to TriplyDB โ uploaded as a named asset. The generated Turtle includes both foaf:logo and schema:image properties. This creates a full semantic traversal path from a DMN decision model to the organisation's logo: DMN โ Service โ Organisation โ Logo.
The organisation identifier supports both short form IDs (e.g. SVB) and full URIs. When a short ID is provided, the editor expands it to https://regels.overheid.nl/organizations/{id}.
Legal resource linking¶
The Legal tab links the service to its statutory basis, modelled as eli:LegalResource. Dutch laws are identified by their BWB ID (e.g. BWBR0002221), which the editor validates against the expected pattern.
Fields include the BWB ID, the version or consolidation date, and an optional title and description. The editor generates a structured ELI URI for the legal resource, which the Rules and DMN tabs then reference to establish traceability from decision logic back to legislation.
The relationship between the service and its legal resource is expressed as cv:hasLegalResource (changed from cpsv:follows in CPSV-AP 3.2.0).