Giter VIP home page Giter VIP logo

vc-schemas's Introduction

Verifiable Credentials schemas used in NexeraID

  • The most recent and up-to-date VCs schemas are available in the polygon-id folder.
  • Schemas with uploaded jsonld to IPFS are available in the ipfs folder.

Change Process / Testing

In order to test new vc-schemas on branch new-branch:

  1. Set the version in the json schema file. -- it should probably be different than the existing to keep things super clear, though it is not necessary. The scripts will always pick the most latest import of a given type/version combination.
  2. Use the github action deploy-schemas-from-branch in vc-schemas repository. Click the action, then click "Run workflow". Most of the time you can use workflow from development and the polygon issuer as dev. Change the branch name to your new-branch. After this runs, a new set of schemas should appear in the issuer node. It will have a time-stamped version.
  3. The schema version needs to be changed in /packages/libs/schemas/scripts/schema_version.txt file to allow the scripts to identify the active schema. Use the version that you have just used in the action script
  4. Use pnpm run update-schemas in the root of the monorepo to update references to schemas throughout. This same should work also at the root of the schemas package.
  5. Run tests for issuer: pnpm test:unit --filter @nexeraprotocol/vc-issuer-polygon-id

Legacy Testing Process

The following should not be necessary at this time, but good maybe to remember how we used to do this without the github action.

  1. In json, modify the jsonld url to point to the branch url (ex: "jsonLdContext": "https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/new-branch/polygon-id/id3/id3.jsonld" )
  2. Import credential at https://amoy-issuer-node-ui-dev.nexera.id/schemas.

vc-schemas's People

Contributors

markoftw avatar nexera-release[bot] avatar xela7 avatar krisgrm avatar grmkris avatar cbarrilab avatar fgregoribattista avatar joelamouche avatar web-flow avatar github-actions[bot] avatar msmej-hycu avatar renovate[bot] avatar

Watchers

 avatar Clément avatar  avatar Pedrow avatar  avatar Lizandro Zerpa avatar  avatar  avatar

vc-schemas's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/automerge.yml
  • tibdex/github-app-token v2
  • pascalgn/automerge-action v0.16.3
  • actions/checkout v4
.github/workflows/create-release-pull-request.yml
  • tibdex/github-app-token v2
  • actions/checkout v4
  • devops-infra/action-pull-request v0.5.5
.github/workflows/deploy-dev.yml
  • tibdex/github-app-token v2
  • actions/checkout v4
.github/workflows/deploy-manual.yml
  • tibdex/github-app-token v2
  • actions/checkout v4
.github/workflows/deploy-prod.yml
  • actions/checkout v4
.github/workflows/deploy-staging.yml
  • actions/checkout v4
.github/workflows/deploy.yml
  • actions/checkout v4
  • dorny/paths-filter v3
  • dorny/paths-filter v3

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.