The Metanorma Registry viewer is used for fetching particular data elements from a Collection.
Experimental version available at: https://metanorma-registry.herokuapp.com/
Use GraphiQL to connect https://metanorma-registry.herokuapp.com/graphql . A number of documents are available for querying.
“List me all documents with title and id” :
{
documents {
id
bibdata { title }
}
}
“List all documents of this type” :
{
documents(type: "csd-standard", start: 1, limit: 2) {
id
}
}
“Give me all terms” :
{
documents(type: "csd-standard", start: 1, limit: 2) {
id
sections { clause { terms { term { preferred } } } }
}
}
“Give me all terms and definitions”:
{
documents(type: "csd-standard", start: 1, limit: 2) {
id
sections { clause { terms { term {
preferred, obligation, definition { p }
} } } }
}
}
“Give me all clause titles”:
{
documents(type: "csd-standard", limit: 2) {
id
sections { clause { title } }
}
}
“Give me state of publication and publication date”:
{
documents(type: "csd-standard", limit: 2) {
id
bibdata {
title, status, edition
date { on, type }
}
}
}
“Give me all organization contributors and language”:
{
documents(start: 1, limit: 2) {
bibdata {
contributor { organization { name } }
language
}
}
}