Provenance generation
This section allows to recostruct the provenance for a given document avaiaible on MetaStore, by taking trace of the
Parent
fields inside the filled metadata documents.
Select a
Schema ID
first, and then choose the corresponding
Metadata document ID
for which you want to obtain the provenance. The provenance is provided in the form of a .json file, which you can save to your local computer.
Info
NFFA sign-in is required to generate provenance
Provenance document structure
An example of provenance document is shown.
{
"d5cd029a-47e2-4ef6-8afb-7907e4cc4403":{
"referenceType":"MetaStore URI",
"reference":"https://metarepo.nffa.eu/api/v1/metadata/d5cd029a-47e2-4ef6-8afb-7907e4cc4403",
"type":"sample",
"parents":[
{
"2a13ccdd-fd33-4f49-bbc3-01d2a48580ff":{
"referenceType":"MetaStore URI",
"reference":"https://metarepo.nffa.eu/api/v1/metadata/2a13ccdd-fd33-4f49-bbc3-01d2a48580ff",
"type":"precursor",
"parents":[
{
"6f09d66f-ef33-4ce4-9d8b-64dc6c9945b7":{
"referenceType":"MetaStore URI",
"reference":"https://metarepo.nffa.eu/api/v1/metadata/6f09d66f-ef33-4ce4-9d8b-64dc6c9945b7",
"type":"input"
}
}
]
}
}
]
},
"proposalIds":["120"]
}
reference
,
referenceType
, Schema
type
(also referred to as
label
), and possibly
parents
: an array that carry similar blocks of information describing the current block's parents at a nested level. The keys (e.g.
2a13ccdd-fd33-4f49-bbc3-01d2a48580ff
string for highlighted block) correspond to MetaStore
document ID
if
referenceType
is
MetaStore URI
, otherwise are just ID strings without a particular meaning.
To make things clearer, the above provenance document is shown below as graph (generated with JSON Crack ).