Last active
August 18, 2025 21:14
-
-
Save cre8/df216c5aa52042c41ed17105d843ddb6 to your computer and use it in GitHub Desktop.
attachments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "$id": "https://example.com/schemas/presentation-attachment.json", | |
| "title": "PresentationAttachment", | |
| "type": "object", | |
| "properties": { | |
| "$schema": { | |
| "type": "string" | |
| }, | |
| "format": { | |
| "type": "string", | |
| "description": "Format identifier of the attachment (e.g., 'jwt_vc', 'sd-jwt')." | |
| }, | |
| "data": { | |
| "description": "Attachment payload (any non-null JSON value).", | |
| "type": ["object", "array", "string", "number", "boolean"], | |
| "allOf": [ | |
| { "not": { "const": "" } } | |
| ] | |
| }, | |
| "credential_ids": { | |
| "description": "IDs of credentials used; must be non-empty if present.", | |
| "type": "array", | |
| "items": { "type": "string" }, | |
| "minItems": 1 | |
| } | |
| }, | |
| "required": ["format", "data"], | |
| "additionalProperties": false | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment