string
required
Unique within the document. Producers may use the path itself or a hash of it.At most 200 characters.
string
required
The path the writers and readers used, as the producer knew it (absolute or workspace-relative). A locator, never content.At most 1000 characters.
object
required
string
required
Attempt id of the first writer. Must name an existing attempt and must equal writers[0]; anything else is a conformance error.At most 200 characters.
string[]
required
Attempt ids that wrote the artifact, in first-write order, each listed once. Never empty: an artifact exists because something wrote it, and writers[0] is the producer.
string[]
required
Attempt ids that read the artifact after a write by another attempt, in first-read order, each listed once. May be empty (written, never read by another attempt).
Timestamp of the first write event; null when the producer cannot compute it. The key is always present: unknown is an explicit null, never an absent key.
integer | null
required
Number of write events across all writers; null when the producer cannot count them. A known count must be at least the number of writers; a smaller count undercounts and is a conformance error. A null count is unknown: it neither satisfies nor fails that check.
integer | null
required
Number of read events across all consumers; null when the producer cannot count them. A known count must be at least the number of consumers; a smaller count undercounts and is a conformance error. A null count is unknown: it neither satisfies nor fails that check.
string
The workflow artifact id this artifact instantiates.At most 200 characters.
integer
Version of the artifact, from 1.
string
The artifact id this version replaces.At most 200 characters.
map of object
Attempt id to the tokens that attempt spent reading this artifact, when known.
Requirements
producerMUST name an existing attempt (E118) and MUST equalwriters[0]: the producer is the first writer (E162).writersandconsumersMUST be arrays of existing attempt ids (E167), each attempt listed once (E166).writersis never empty;consumersMAY be.- A known
n_writesMUST be at least the number of writers, and a knownn_readsat least the number of consumers (E163). Anullcount is unknown and is not checked. first_write_atis always present, andnullwhen the producer cannot compute it.pathis a locator (absolute or relative to the workspace), never content.- An
artifactedge records one hand-off of an artifact between two attempts; see Edges.
Versions (0.3)
From 0.3 an artifact can name the workflow artifact it instantiates (vertex), its version from 1, and the artifact it supersedes, so a revised diff after a review is a new version of the same workflow artifact rather than an unrelated file. transfer_tokens records, per consuming attempt, the tokens spent reading the artifact, when known.