-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normative statements checklist: 7. Resolution #76
Comments
Related: #53 |
Since I don't have write permissio to this repository, I can't check tem, so... for
Following entry is RECOMMENDED so testing is not mandatory.
|
I have checked the Metadata tests and did an additional audit. All checked items are implemented, non-checked items are human-only tests. |
Update: After merging #86, all statements in 7.1 and 7.2 should have tests, except MAY and SHOULD statements, as well as the following three MUST statements that we decided don't need tests:
|
PR #86 has been merged. Marking as pending close. |
7.1 DID Resolution
did
: This input is REQUIRED and the value MUST be a conformant DID as defined in § 3.1 DID Syntax.resolutionOptions
: A metadata structure containing properties defined in § 7.1.1 DID Resolution Options. This input is REQUIRED, but the structure MAY be empty.didResolutionMetadata
: This structure is REQUIRED, and in the case of an error in the resolution process, this MUST NOT be empty.didDocument
: If the resolution is successful, and if the resolve function was called, this MUST be a DID document abstract data model (a map) as described in § 4. Data Model that is capable of being transformed into a conforming DID Document (representation), using the production rules specified by the representation.didDocumentStream
: If the resolution is unsuccessful, this value MUST be empty.didDocumentMetadata
: If the resolution is successful, this MUST be a metadata structure. This structure contains metadata about the DID document contained in the didDocument property.7.1.1 DID Resolution Options
accept
: The Media Type MUST be expressed as an ASCII string.7.1.2 DID Resolution Metadata
contentType
: This property is REQUIRED if resolution is successful and if the resolveRepresentation function was called.error
: This property is REQUIRED when there is an error in the resolution process.7.1.3 DID Document Metadata
created
: DID document metadata SHOULD include a created property to indicate the timestamp of the Create operation.updated
: DID document metadata SHOULD include an updated property to indicate the timestamp of the last Update operation for the document version which was resolved.deactivated
: If a DID has been deactivated, DID document metadata MUST include this property with the boolean value true.nextUpdate
: DID document metadata MAY include a nextUpdate property if the resolved document version is not the latest version of the document.versionId
: DID document metadata SHOULD include a versionId property to indicate the version of the last Update operation for the document version which was resolved.nextVersionId
: DID document metadata MAY include a nextVersionId property if the resolved document version is not the latest version of the document.equivalentId
: The value of equivalentId MUST be a set where each item is a string that conforms to the rules in Section § 3.1 DID Syntax.canonicalId
: The value of canonicalId MUST be a string that conforms to the rules in Section § 3.1 DID Syntax.7.2 DID URL Dereferencing
didUrl
: To dereference a DID fragment, the complete DID URL including the DID fragment MUST be used.dereferencingOptions
: This input is REQUIRED, but the structure MAY be empty.dereferencingMetadata
: This structure is REQUIRED and in the case of an error in the dereferencing process, this MUST NOT be empty.contentStream
: If the dereferencing function was called and successful, this MUST contain a resource corresponding to the DID URL.contentMetadata
: If the dereferencing is successful, this MUST be a metadata structure, but the structure MAY be empty.7.2.1 DID URL Dereferencing Options
accept
: The Media Type MUST be expressed as an ASCII string.7.2.2 DID URL Dereferencing Metadata
contentType
: The Media Type of the returned contentStream SHOULD be expressed using this property if dereferencing is successful.error
: This property is REQUIRED when there is an error in the dereferencing process.7.3 Metadata Structure
The text was updated successfully, but these errors were encountered: