OCA Playground to understand and debug OCAs | Read-only mirror of https://github.com/swiyu-admin-ch/oca-testpage — Bundesamt für Justiz. Issues & pull requests at the source.
  • TypeScript 88%
  • HTML 11.4%
  • CSS 0.3%
  • JavaScript 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
André Kunz 74284d6d51
Update README.md
unmaintained notice
2026-06-10 09:07:13 +02:00
.github/workflows Create build.yml 2025-03-05 13:15:05 +01:00
.vscode initial commit 2024-11-15 10:22:43 +01:00
images Add screenshot of the tool 2024-12-04 10:18:15 +01:00
public initial commit 2024-11-15 10:22:43 +01:00
src Additional overlay validation 2025-03-26 11:40:27 +01:00
.editorconfig Added prettier config and reformat code 2025-02-21 10:42:26 +01:00
.gitignore initial commit 2024-11-15 10:22:43 +01:00
.prettierrc Added prettier config and reformat code 2025-02-21 10:42:26 +01:00
angular.json Added prettier config and reformat code 2025-02-21 10:42:26 +01:00
index.html Create index.html 2025-03-06 14:27:47 +01:00
package-lock.json Vertical interactive splitter 2025-03-20 14:24:13 +01:00
package.json Vertical interactive splitter 2025-03-20 14:24:13 +01:00
README.md Update README.md 2026-06-10 09:07:13 +02:00
tailwind.config.js Initial commit 2024-11-15 16:46:42 +01:00
tsconfig.app.json initial commit 2024-11-15 10:22:43 +01:00
tsconfig.json initial commit 2024-11-15 10:22:43 +01:00
tsconfig.spec.json initial commit 2024-11-15 10:22:43 +01:00

UNMAINTAINED - Oca-Playground

This is a side project of a former e-ID team member and the code is not maintained anymore.

The security issues and pull requests will not be processed

If you would like to maintain this project, please raise an issue in the community repository.

This project proposes an interactive playground to test OCA to visualize Verifiable Credentials. The playground follows the following technical specifications: VC visualization with OCA.

OCA Tool Screenshot

This project was generated with Angular CLI version 18.2.12.

Feature Roadmap

  • Support for the root capture base ✔️
  • Adapt project for the Oblique framework
  • Validation of OCA bundle ✔️
  • Support for nested capture bases

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.