-
Notifications
You must be signed in to change notification settings - Fork 50
Description
@shigeya wrote:
Let me quote the statement again here:
All metadata property definitions registered in the DID Specification Registries [DID-SPEC-REGISTRIES] MUST define the value type, including any additional formats or restrictions to that value (for example, a string formatted as a date or as a decimal integer).
From the core spec point of view, the above statement is not testable within the core spec. This spec text needs to be placed in DID-SPEC-REGISTRIES, not within core spec. I honestly have no idea whether we can treat this statement as "human testable."
From a different perspective: since the current test implementation runs the whole test against the transcript of interaction with multiple method implementations, it is desirable to test properties defined in DID-SPEC-REGISTRIES. In this case, we need a machine-readable -- at least partial -- DID-SPEC-REGISTRY.
I think there are three options:
- Eliminating the above statement
- Rewrite the above statement to move the test to DID-SPEC-REGISTRIES
- Rewrite the above statement to remove (direct) dependency on DID-SPEC-REGISTRIES.
It is possible to create an optional configuration parameter that may hold machine-readable (possibly partial) DID-SPEC-REGISTRIES, which can be usable for the above option 3.
(Note: due to schedule conflict, I can't attend the special topic call this week)