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

Addition of payload attribute to support ACDCs as a Verifiable Proof for W3C VC Data Model credentials #74

Open
m00sey opened this issue Feb 15, 2023 · 2 comments

Comments

@m00sey
Copy link
Collaborator

m00sey commented Feb 15, 2023

For ACDCs to be considered a viable format for a Verifiable Proof the addition of an optional p block within the attribute block, comprised of a d digest (of the block) field, c cargo field, a digest of a W3C VC Data Model compliant credential, and optional schema field s schema field.

{
  "v": "ACDC...",
  ...
  "a" : {
  ...
    "p": {
      "d": "<Digest of payload block>",
      "c": "<Digest of payload>"
      "s": "<SAID of Schema>"
    }
  }
}

potential schema update:

{
  "p": {
    "oneOf": [
      {
        "description": "Payload block SAID",
        "type": "string"
      },
      {
        "$id": "EDh9sp5cPk0-yo5sFMo6WJS1HMBYIOYCwJrnPvNaH1vI",
        "description": "Payload block",
        "type": "object",
        "properties": {
          "d": {
            "description": "Payload block SAID",
            "type": "string"
          },
          "c": {
            "description": "Cargo SAID",
            "type": "string"
          },
          "s": {
            "description": "SAID of schema of the credential pointed to by this node",
            "type": "string"
          }
        }
      }
    ],
    "additionalProperties": false,
    "required": [
      "d",
      "c"
    ]
  }
}
@dhh1128
Copy link

dhh1128 commented Feb 15, 2023

Title is intriguing. Curious for details.

@m00sey m00sey changed the title Addition of payload attribute to support ACDCs as a container for w3c credentials Addition of payload attribute to support ACDCs as a verifable presentation for w3c credentials Feb 15, 2023
@m00sey m00sey changed the title Addition of payload attribute to support ACDCs as a verifable presentation for w3c credentials Addition of payload attribute to support ACDCs as a verifable presentation for w3c VC Data Model Feb 15, 2023
@m00sey m00sey changed the title Addition of payload attribute to support ACDCs as a verifable presentation for w3c VC Data Model Addition of payload attribute to support ACDCs as a verifable presentation for W3C VC Data Model Feb 15, 2023
@m00sey m00sey changed the title Addition of payload attribute to support ACDCs as a verifable presentation for W3C VC Data Model Addition of payload attribute to support ACDCs as a Verifable Proof for W3C VC Data Model Feb 15, 2023
@m00sey m00sey changed the title Addition of payload attribute to support ACDCs as a Verifable Proof for W3C VC Data Model Addition of payload attribute to support ACDCs as a Verifiable Proof for W3C VC Data Model Feb 15, 2023
@SmithSamuelM
Copy link
Collaborator

How about c for cargo, credential, claims

@m00sey m00sey changed the title Addition of payload attribute to support ACDCs as a Verifiable Proof for W3C VC Data Model Addition of payload attribute to support ACDCs as a Verifiable Proof for W3C VC Data Model credentials Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants