Skip to content

Commit

Permalink
Merge pull request #61 from identity-com/feature/CIV-3792__appId_uca_v2
Browse files Browse the repository at this point in the history
CIV-3792 - Document:appId uca definition
  • Loading branch information
lucmir authored Oct 6, 2021
2 parents d2afd25 + b68d6e5 commit 7996a9a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@identity.com/uca",
"version": "1.0.29",
"version": "1.0.30",
"description": "Provides functionality around User Collectable Attributes (UCA)",
"main": "src/index.js",
"module": "dist/es/index.js",
Expand Down
27 changes: 27 additions & 0 deletions src/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,33 @@ const definitions = [
attestable: false,
credentialItem: false,
},
{
identifier: 'cvc:Type:appIdType',
description: 'Application Identifier Type',
version: '1',
type: 'String',
attestable: false,
credentialItem: false,
},
{
identifier: 'cvc:Document:appId',
version: '1',
type: {
properties: [
{
name: 'appId',
type: 'cvc:Type:appId',
},
{
name: 'appIdType',
type: 'cvc:Type:appIdType',
},
],
required: ['appId'],
},
attestable: false,
credentialItem: false,
},
];

module.exports = definitions;

0 comments on commit 7996a9a

Please sign in to comment.