sd-jwt-examples-nested

Implement nested data handling in SD-JWTs with flat, structured, and recursive disclosures.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/sourcelabbg/eudi-knowledge --skill sd-jwt-examples-nested
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sd-jwt-examples-nested
Source: https://github.com/sourcelabbg/eudi-knowledge/tree/main/.ai/skills/sd-jwt-examples-nested
Command: npx skills add https://github.com/sourcelabbg/eudi-knowledge --skill sd-jwt-examples-nested

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand and implement complex nested data structures within Self-DDisclosure JSON Web Tokens (SD-JWTs), ensuring precise control over data disclosure.

Core Features & Use Cases

  • Nested Data Handling: Demonstrates flat, structured, and recursive disclosure patterns for claims within SD-JWTs.
  • Selective Disclosure: Illustrates how to selectively disclose parts of nested JSON objects or arrays.
  • Use Case: When issuing a Verifiable Credential with a complex address object, you can use this Skill's examples to determine the most privacy-preserving way to structure its selective disclosure.

Quick Start

Explain the concept of recursive disclosures in SD-JWTs using the provided examples.

Frequently Asked Questions about sd-jwt-examples-nested

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement selective disclosure for nested JSON objects in SD-JWTs?

Selective disclosure for nested JSON objects in SD-JWTs is implemented using flat, structured, or recursive disclosure patterns to control data granularity within complex claim sets. This Skill provides examples demonstrating each method for privacy-preserving verifiable credentials.

What is recursive disclosure in SD-JWTs and when should I use it?

Recursive disclosure in SD-JWTs is a method for selectively disclosing parts of nested JSON arrays or objects by applying disclosure mechanisms at multiple depth levels. It is used when issuers need precise privacy control over deeply structured claim sets.

How do SD-JWT flat and structured disclosure methods differ for complex claims?

Flat disclosure in SD-JWTs hashes individual claims at a single level, while structured disclosure selectively reveals nested JSON objects or arrays. This Skill demonstrates both patterns to help issuers manage data granularity and privacy according to RFC 9901.

Does this SD-JWT nested data handling approach comply with RFC 9901?

Yes, the nested data handling examples for SD-JWTs address the RFC 9901 specification for selective disclosure within JSON objects and arrays. This ensures that complex verifiable credentials are structured according to current interoperable standards.

What is the best way to structure a complex address object in a verifiable credential for privacy?

The best way to structure a complex address object in a verifiable credential is to use SD-JWT structured or recursive disclosure patterns. This allows issuers to selectively disclose specific address fields while maintaining the overall integrity of the nested claim set.