Architecture
Architecture covers how the component fits into the Common Ground landscape: through standard APIs, and in one of the layers of the five-layer model.
API
What it means
Whether the component offers its functions through a documented API that follows the Dutch government's API Design Rules, so other components can use it in a standard way.
How the checker measures it
- OpenAPI specification, measured with a search for an OpenAPI or Swagger document.
- NL API Design Rules, measured with Spectral with the API Design Rules rule set.
The OpenAPI criterion passes when a machine-readable specification is found. The API Design Rules criterion validates that specification with Spectral against the API Design Rules rule set.
These criteria have no scale of their own, so a pass rates 5.5, a warning 3 and a fail 0.5, the ends and the middle of the scale. The aspect rating is the weighted mean of its criteria.
Sources
Layering
Shown in the report, but not counted in the rating.
What it means
Which layer of the Common Ground five-layer model the component belongs to: interaction, process, integration, service or data.
How the checker measures it
- 5-layer architecture, measured with signals in paths, file names and the README.
The check reports the layer or layers it recognises. The result is shown, but it does not count in the Architecture rating, because belonging to one layer or another is not better or worse.
Sources
Standards
Shown in the report, but not counted in the rating.
What it means
Which Dutch government standards the component supports, and in which version, such as the ZGW APIs or the NL API Design Rules. A component declares them in publiccode.yml under supports, as the Common Ground profile for publiccode.yml describes.
How the checker measures it
- Supported standards, measured with publiccode.yml supports, compared with the OpenAPI files by their info.title or their top-level resources, and their info.version.
The check lists the declared standards and versions, and names an entry that is not in its registry of known standards. It compares them with the OpenAPI files in the repository: declared and found, declared but not found, and found but not declared.
The result is informative. It has no stars and does not count in the Architecture rating or in the verdict.