Skip to content

Conversation

PatStLouis
Copy link
Contributor

@PatStLouis PatStLouis commented Oct 20, 2025

References #15

  • Add new OCABundle render method to specification
  • Define OCABundle type with properties: id, type, name, description, digestMultibase, version
  • Explain use of JSON paths (RFC6901) in capture base for mapping to credentialSubject
  • Include comprehensive OCA v2.0.0-rc1 bundle example with:
    • Capture base with JSON path attributes
    • Meta overlay (name, description)
    • Label overlays (English and French)
    • Information overlay
    • Sensitive overlay
  • Update renderMethod property description to include OCABundle type

Preview | Diff

- Add new OCABundle render method to specification
- Define OCABundle type with properties: id, type, name, description, digestMultibase, version
- Explain use of JSON paths (RFC6901) in capture base for mapping to credentialSubject
- Include comprehensive OCA v2.0.0-rc1 bundle example with:
  - Capture base with JSON path attributes
  - Meta overlay (name, description)
  - Label overlays (English and French)
  - Information overlay
  - Sensitive overlay
- Update renderMethod property description to include OCABundle type
Signed-off-by: Patrick St-Louis <patrick.st-louis@opsecid.ca>
Signed-off-by: Patrick St-Louis <patrick.st-louis@opsecid.ca>
Signed-off-by: Patrick St-Louis <patrick.st-louis@opsecid.ca>
Signed-off-by: Patrick St-Louis <patrick.st-louis@opsecid.ca>
Update all JSON path examples in the OCA Bundle section to reference from
the root of the VC document rather than from within credentialSubject.

Changes:
- Update capture_base attributes to use /credentialSubject/degree/* paths
- Update all overlay examples (label, information, sensitive) to use full paths
- Update descriptive text to clarify paths start from document root
- Update example from /degree/name to /credentialSubject/degree/name

This ensures JSON paths follow RFC6901 correctly by starting from the
document root, making it clear how to reference properties within a
verifiable credential's credentialSubject.
Replace 'schema base' with 'capture base' throughout the OCA Bundle section
to use the correct OCA specification terminology.

Changes:
- Updated id property description
- Updated example explanation text

In OCA, the term is 'capture base' (which captures the schema structure),
not 'schema base'.
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