単純なケース:
{ "Name" : "externalURI" }
複数のサービス上に同じ文書があるとき:
{ "Name" : { "Service-1" : "externalURI-1", "Service-2" : "externalURI-2" } }
順に試して最初にアクセスできるヤツ。
{ "Name" : ["externalURI-1", "externalURI-2"] }
組み合わせ
{ "Name" : { "Service-1" : ["externalURI-1-1", "externalURI-1-2"], "Service-2" : "externalURI-2" } }
型定義:
type URI = string; type ResolvValue = null | URI | Array<URI> | {[service: string]: (URI|Array<URI>)} ; type ResolvMap = { [name: string]: ResolvValue };
背景:
$`\quad
\mathrm{Map}(\text{ServiceName}, \mathrm{Map}(\text{Name}, \text{URI}^*)
`$