Provide examples for array fields for `claims` and `credential_definition` in `credential_configurations_supported`
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 125
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
If an array contains strings, booleans, numbers as value then should it be represented as below:
{
"arrayFieldWithNonObjectOrArrayValue": {}
}
And if array contains object as value, then should it be represented as below:
{
"arrayFieldWithObjectValue": [
{
"field1": {},
"field2": {},
"field3": {}
}
]
}
And if array contains array as value, then should it be represented as below:
{
"arrayFieldWithArrayValue": [
[
{
"field1": {},
"field2": {},
"field3": {}
}
]
]
}
or is it possible to follow JSON schema here ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the issue's examples for arrays containing scalar, object, and nested-array values, then check the surrounding credential_configurations_supported specification and its JSON Schema if available. Confirm the intended representation for claims and credential_definition, and document the agreed examples or schema-based rule so the result is unambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100