Skip navigation

Provenance Metadata guidelines

Guidance for recording what actually happened in the research process using agents, entities, activities, sources, relations, and known limitations.

How to use this guideline

Use this page as the human-readable version of the MATSCI-NASU author guideline. The technical source and current package version are maintained in DataverseUA. Metadata should record only information supported by actual files, settings, logs, results, documentation, or researcher decisions; do not invent values for formal completeness.

MATSCI-NASU

Author Guidelines

Completing provenance.json in DataverseUA

MATSCI-NASU Provenance Metadata Profile — schema version v1.0

1. Purpose

provenance.json is intended to describe the provenance of data within a computational materials science study. It records the agents, the computational operations actually performed, the entities used and generated by these operations, the external sources, and the known limitations in reconstructing the history.

Provenance describes what actually took place, rather than merely the planned methodology. It complements, but does not replace, the primary calculation files.

workflow.json describes the organization and methodology of the computational procedure. manifest.json describes the files of the package, their paths and their checksums. provenance.json links agents, operations and entities within the execution history.

2. General Rules for Completing the Record

  • Record only information that is supported by files, logs, metadata or other reliable sources.
  • Do not invent parameters, timestamps, software versions or relations between operations.
  • If a time is unknown and the field permits null, use null rather than an approximate date.
  • Identifiers must be unique within the corresponding list and must be used consistently in all references within the file.
  • Specify file paths as relative POSIX paths from the package root, consistent with the path format used in manifest.json.
  • Do not duplicate the full file inventory or the complete calculation logs in the provenance record. Retain the key relations and references to files.
  • Complete optional information only when it is relevant and available.
  • Describe each separate logical operation in a separate activities entry; do not merge different stages merely because they were carried out within the same study.
  • Do not duplicate all the parameters of a stored input file. Where necessary, repeat in parameters only the key values that are important for a rapid understanding of the operation.

3. Structure of provenance.json

The root object contains the creation date of the provenance file, the lists of agents, entities, activities and external sources, a description of the known limitations, and an optional path to a human-readable document.

generatedAt

The date and time at which provenance.json itself was created, in the ISO 8601 format compatible with the JSON Schema date-time. This is not necessarily the time at which the computations were performed. The format of the time fields must be identical across all MATSCI-NASU profiles.

agents

A list of the persons and software tools involved in performing the operations. For each agent, id, type, name and version are specified.

  • id — a local identifier of the agent with the prefix #; it is used in the agent field of the activities.
  • type — Person, Software or Other.
  • name — the name of the author/researcher or the name of the software tool.
  • version — the version of the software tool; for a person, specify null.

Do not add a person or a program to the list merely because they could have been involved. List the agents whose participation is supported by the available information.

entities

A list of the files and digital objects that were used or generated in the process. Each entity has id, type, path and hash.

  • id — a unique identifier of the entity with the prefix entity_.
  • type — the kind of content: InputDeck, CalculationOutput, Structure, Trajectory, Model, Dataset, ParameterFile, Pseudopotential, LogFile, Script, Figure, Documentation or Other. Whether a file is an input or an output is not a type: it follows from used/generated of the activities.
  • path — a relative POSIX path from the package root. The file must be described in manifest.json.
  • hash — a sha256: checksum with 64 hexadecimal characters, or null if the checksum was not determined.

Describe the entities that are necessary for understanding the provenance and the relations between the stages. The actual existence of a file, the correspondence of the path to the manifest and the correctness of the checksum are verified by separate scripts.

activities

A list of the computational operations actually performed. For each operation, id, type, agent, startedAt, endedAt, parameters, used and generated are specified.

  • id — a unique identifier of the operation with the prefix act_.
  • type — ComputeAction, TransformAction, TrainModelAction or SimulationAction; the vocabulary must be consistent with actionType in workflow.json.
  • agent — a list of the identifiers of the agents that took part in the operation.
  • startedAt and endedAt — the start and end times in the date-time format common to MATSCI-NASU; if the time is not reliably known, null is permitted.
  • parameters — the actual parameters of the operation that are important for understanding it and for its reproducibility. The values may be strings, numbers, Boolean values, null, arrays or nested objects.
  • used — the identifiers of the entities used by the operation.
  • generated — the identifiers of the entities generated by the operation.

Do not transfer the complete input file or log here if they are already stored as separate entities. In parameters, record metadata rather than a substitute for the primary artifacts.

sources

A list of the external sources that were used in carrying out the work or in reconstructing the provenance. Each entry contains id, type, name, identifier, usedFor, verification and license.

  • type — Documentation, Publication, Dataset, Repository, Standard or Other.
  • identifier — a DOI, URL or other persistent identifier of the source.
  • usedFor — how exactly the source was used.
  • verification — information on the verification of the source, if any.
  • license — licence information, if known and relevant.

Do not invent a licence or a verification of the source. If a mandatory text field has no meaningful value, agree on the way of completing it with the rules of the project rather than creating false information.

knownLimitations

A list of the known limitations of the provenance: missing logs, unrecovered timestamps, an unknown program version or other gaps that affect the completeness of the history. State the limitations specifically, and do not replace unknown information with assumptions.

humanReadable

A relative path to a separate document with an extended description of the provenance, or null if there is no such document. If a path is given, the corresponding file must be included in manifest.json.

For a new study, or when reconstructing the provenance of calculations that have already been performed, it is recommended to proceed sequentially:

  1. Define the boundaries of the study and the main stages. Compile the list of the operations actually performed, for example: DFT calculation → preparation of the training dataset → MLIP training → MD simulation. Do not add stages that were not carried out.
  2. Gather the supporting evidence. Review the input and output files, logs, metadata and other available materials. Separate the confirmed facts from the information that cannot be recovered.
  3. Complete agents. Add only the persons and software tools whose participation can be confirmed.
  4. Complete entities. Identify the files and digital objects needed to explain the provenance of the results. Align their relative paths with manifest.json.
  5. Describe activities. For each logically separate operation, specify the type, the agents, the available time, the key parameters, the entities used (used) and the entities generated (generated).
  6. Add sources. Enter the external sources that were actually used during the work or in reconstructing its history.
  7. Specify knownLimitations. Record the missing timestamps, lost logs, unknown software versions and other significant gaps.
  8. Where necessary, specify humanReadable. Add the path to a separate extended description if it helps to explain non-standard procedures or context that is inappropriate to place in the structured fields.
  9. Validate the document. Run the JSON Schema validation and the separate script-based checks of relations, paths, files, checksums and chronology.

Logic of the Relations between Data and Operations

The basic logic of the provenance should be as follows:

input entity → operation → output entity

In a multi-stage study, the output of one operation may serve as the input of the next: for example, DFT results are used to prepare a training dataset, the training dataset is used to train an MLIP, and the trained model is used for MD simulation. In used and generated, refer to the already defined entities using their exact id.

Parameters and Primary Files

parameters is intended for the parameters that help to understand a particular operation. There is no need to copy the entire content of an input file there if the file is stored in the package and described in entities. Key parameters may be duplicated for readability, but such duplication must not contradict the primary file.

Reconstructing Provenance for Completed Calculations

If the provenance is created after the calculations have been completed, use only information that can be confirmed by the preserved materials. Do not estimate execution times and do not reconstruct parameters arbitrarily. Describe any information that cannot be recovered in knownLimitations. If a timestamp is unknown, use null only where the schema permits it; do not replace it with an approximate value.

humanReadable may refer to a separate document containing explanations, but it does not replace the structured records of agents, entities, activities and sources.

5. Identifiers and Cross-References between Objects

The identifiers of agents, entities and activities must remain unchanged within the document. References in activities.agent, activities.used and activities.generated must correspond to the entries in the respective arrays. The uniqueness and completeness of these references are verified by a separate validator.

The model must reflect the real dependencies: which entities were used by an operation and which entities it generated. If one result is used in several subsequent operations, refer to the same entity rather than creating duplicates without reason.

6. Relation to Other MATSCI-NASU Profiles

  • workflow.json describes the methodology and the logical organization of the procedure; provenance.json records the actual execution.
  • manifest.json contains the file inventory and the checksums; the paths in entities.path and humanReadable must be consistent with it.
  • The DFT, MLIP and MD profiles describe the corresponding computational stages, whereas the provenance links their inputs, operations and results.

The model uses the concepts Agent, Entity and Activity, which are semantically aligned with W3C PROV. This does not mean that this JSON is a complete serialization of W3C PROV. Any mapping to RO-Crate, NOMAD or AiiDA should be based on genuine correspondences rather than on artificial duplication of fields.

7. Schema Checks and Separate Checks

The JSON Schema validates the form of the document: the types, the required fields, the permitted values, the identifier patterns, and the format of paths and time strings.

Separate verification scripts must perform the cross-field and file-level checks, in particular:

  • the uniqueness of identifiers;
  • the existence of the agents and entities referenced by the operations;
  • the consistency of the paths with the files and with manifest.json;
  • the actual existence of the files and the correspondence of the checksums;
  • the chronological consistency of startedAt and endedAt;
  • the logical consistency of the chain of used and generated entities.

These checks should not be mistakenly assumed to be implemented by the JSON Schema itself.

8. Basic Principle

provenance.json is a structured history of the research actually carried out. It must make it possible to understand who or which software took part in the operations, which digital entities were used, what was generated, which sources were relied upon, and which gaps in the history remain.

Appendix. Corrections of 30 October 2026

The profile version stays v1.0. The schema was corrected before the final release; the table lists what changed in this module. Changes marked as renamed or removed values make records that use the old values invalid; the example record in examples/ has been updated. The meaning of every field and value and its mapping to external standards are given in semantic/semantic_crosswalk_v1.0.csv.

Field Change
entities[].type Types now describe content: InputDeck, CalculationOutput, Structure, Trajectory, Model, Dataset, ParameterFile, Pseudopotential, LogFile, Script, Figure, Documentation, Other. InputFile/OutputFile removed: the role follows from used/generated.
agents[].type, agents[].identifier Added Organization; new optional identifier (ORCID, ROR, software DOI/URL).
activities[].workflowStep New: id of the concrete workflow step this activity executed.
derivations[] New optional list of entity-to-entity derivations {entity, derivedFrom[], relation, activity}; relation: wasDerivedFrom, wasRevisionOf, wasQuotedFrom, hadPrimarySource; e.g. compiled model wasDerivedFrom checkpoint.

Source and current version

Canonical source file: Provenance_Authors_Guidelines_v1_0.md
The current Markdown source, JSON Schema, example record, and related technical materials are maintained with the MATSCI-NASU research package in DataverseUA.

Open current package in DataverseUA Back to all Author Guidelines
Status: MATSCI-NASU working guideline / reusable training resource.
Suggested slug: provenance-metadata-guidelines