Skip to content

Support numbers in metadata structures #166

@peacekeeper

Description

@peacekeeper

An issue has come up related to metadata structures:
https://www.w3.org/TR/did-resolution/#metadata-structure

It says:

Each property value MUST be a string, map, list, set, boolean, or null.

This statement references INFRA data types.

It's unclear why

  1. The "number" data type is not allowed.
  2. Both "list" and "set" data types are allowed.

Should this language be updated? What should be the role of INFRA vs. just using JSON?

@swcurran

Metadata

Metadata

Assignees

Labels

pr-existsThere is an open PR to address this issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions