Skip to content

fix: update ELM credential schema to comply with EDC v3 spec#1

Merged
CodeWithEmad merged 1 commit into
mainfrom
fix/edc-schema-compliance-2026
Jul 27, 2026
Merged

fix: update ELM credential schema to comply with EDC v3 spec#1
CodeWithEmad merged 1 commit into
mainfrom
fix/edc-schema-compliance-2026

Conversation

@ronakpansuriya

Copy link
Copy Markdown
Collaborator
  • utils.py: New as_lang_string() helper that wraps strings in ELMv3 multilingual format {"en": ["value"]} instead of {"en": fix: update ELM credential schema to comply with EDC v3 spec "value"}
  • serializers.py: Multiple fields changed from single objects to lists (location, awarding_body, has_claim, delivery_address), credential_schema is now a list, context/issuer made optional, language added to DisplayParameter
  • credential_builder.py: Updated to use as_lang_string() and pass list-wrapped values throughout

Merge checklist:
Check off if complete or not applicable:

  • Version bumped
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Fixup commits are squashed away
  • Unit tests added/updated
  • Manual testing instructions provided
  • Noted any: Concerns, dependencies, migration issues, deadlines, tickets

- utils.py: New as_lang_string() helper that wraps strings in ELMv3 multilingual format {"en": ["value"]} instead of {"en": fix: update ELM credential schema to comply with EDC v3 spec "value"}
- serializers.py: Multiple fields changed from single objects to lists (location, awarding_body, has_claim, delivery_address), credential_schema is now a list, context/issuer made optional, language added to DisplayParameter
- credential_builder.py: Updated to use as_lang_string() and pass list-wrapped values throughout
@CodeWithEmad
CodeWithEmad merged commit 63c2567 into main Jul 27, 2026
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.

2 participants