About • Organisation • Testing & Status • Licensing
CertLogic is a standard for expressing logic, such as the kind you find in business/validation rules, in plain JSON format. CertLogic is a specified subset of JsonLogic, extended with necessary custom operations - e.g. for working with dates. It serves as the basis for defining interchangeable validation rules on top of the Digital COVID Certificate.
CertLogic Fiddle is a simple playground for CertLogic.
This (part of the) repository contains:
- Reference implementations of CertLogic for various platforms/programming languages - currently:
- JavaScript, as NPM package - also available directly from the NPM registry. This NPM package exposes both an evaluator, as well as a validator.
- Kotlin, as Maven/Kotlin module.
- Dart, as Dart module - also available directly from pub.dev.
- A build script to build
certlogic-js
, andcertlogic-kotlin
. - The specification + a test suite, and JSON Schemas.
- A NPM package that implements a HTML-renderer for CertLogic expressions.
- If you found any problems, please create an Issue.
- Current status: Work-In-Progress.
Copyright (c) 2021 Dutch Ministry of Health, Welfare and Sport, and all other contributors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.