Conversion of OpenAPI Swagger Proposal into specification documentation.
TODO: Need to connect about direction on this. This is transport agnostic protocol about trust registries. Lots of overlap with DIF here IMO.
The metadata interface provides a mechanism for external entities to request metadata about a Trust Registry.
MetadataRequest messages are JSON objects that include Metadata properties and the following additional properties, which MUST be composed as follows:
type
fieldrequest
field with the encoded MetadataRequest object.{
"type": "validateIssuer",
"request": {
"requester": did:example:12345,
"credentialType": "mDL",
"egfURI": www.example.com,
}
}
Allows querying to determine the status of an Issuer, as identified by their Identifier (unique), credential type, and EGF that they are operating under.
Upon a request, the Trust Registry may return a Metadata Response
object.
DIF spec returned? To look about how to combine with DIF.
{
<DIF Spec>
}
The following available types SHOULD
be implemented by a trust registry. If it is not implemented, the Trust Registry SHOULD
return the following error code: 405 Method Not Allowed
on query.
A metadata response is a composite JSON object of the following fields:
MAY
contain an governance
field, with an governance object.MAY
contain an ecosystem
field with an ecosystem object.MAY
have a field governingID
which is a string referencing the id of the goverance authority. If specified, it MUST be of URI
format OR a did
.MAY
have a field administrativeAuthorityId
which is a string referencing the id of the administrative authority. If specified, it MUST be of URI
format OR a did
.MAY
have a property which is a list of tuples between id
and roles
which is a list of ids associated to different roles.A role object consists of the following:
MUST
have a string id
property, representing the did
of the requester.MUST
have a credentialType
property, of type string. This property represents the type of credential the metadata is requested of.MUST
have a egfURI
property, of type string. The format of the object must be of URI type. The URI that points to the Ecosystem Governance Framework. Allows reserved characters per RFC3986. Do not escape the URI.or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing