Skip to content

Conversation

crosby
Copy link

@crosby crosby commented Nov 22, 2023

Description

JSON schemas for the TAIP-0 proposal.

"agents",
"settlementInfo"
],
"properties": {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've omitted the originatorVP and beneficaryVP from the proposal here in favor of some of the newer methods for exchanging PII e.g. WACI, Selective Disclosure

"settlementInfo"
],
"properties": {
"transactionId": {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure if perhaps this should also be a nested JSON-LD { "@id": "" } structure.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://tap.rspv/schemas/AddAgent.json",
"title": "AddAgent",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might need a RemoveAgent (and maybe UpdateAgent). There was an UpdateAgents message in the original proposal but I'm concerned that it was overwriting the entire agents array (especially now that it contains policies).

@pelle how would we go about ensuring that agents don't overwrite other agents policies? e.g. either using UpdateAgents or RemoveAgent and then AddAgent with new policies set?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant