Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Latest commit

 

History

History
53 lines (34 loc) · 2.44 KB

README.md

File metadata and controls

53 lines (34 loc) · 2.44 KB

Digital COVID Certificates: CertLogic

AboutOrganisationTesting & StatusLicensing

About

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.

Organisation

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, and certlogic-kotlin.
  • The specification + a test suite, and JSON Schemas.
  • A NPM package that implements a HTML-renderer for CertLogic expressions.

Testing & Status

  • If you found any problems, please create an Issue.
  • Current status: Work-In-Progress.

Licensing

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.