artifact metadata schema, v1

$idhttps://github.com/buildwarden/buildwarden/schemas/v1/artifact.json
Machine schemametadata-artifact/v1.schema.json
Applies toartifact records
Default header index3 (see the ledger spec's Default Schemas)

Purpose

Names a build output. The record type already marks the payload as an artifact; this metadata says where to find it in the output directory.

Fields

{
  "name": "my-binary",
  "context": {
    "content_type": "application/octet-stream"
  }
}
FieldTypeRequiredDescription
nametextyesFilename as stored in the ledger's artifacts/ directory
contextmapyesFreeform key-value map for additional artifact metadata; may be empty

No other fields are allowed.