{
  "$comment": "Generated from the Buildish Release Tooling Pydantic models. Do not edit by hand; regenerate with `make schemas`.",
  "$id": "https://buildish.org/components/release-tooling/schemas/retained-artifact-snapshot.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "One retained file snapshot described inside an inspection-bundle metadata document.",
  "properties": {
    "filename": {
      "description": "Artifact filename as seen in staging, manifests, or retained evidence.",
      "minLength": 1,
      "title": "Filename",
      "type": "string"
    },
    "sha512": {
      "description": "SHA-512 checksum payload associated with the related artifact.",
      "title": "Sha512",
      "type": "string"
    },
    "size_bytes": {
      "description": "Byte size recorded for the related artifact, retained snapshot, or inventory entry.",
      "minimum": 0,
      "title": "Size Bytes",
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "sha512",
    "size_bytes"
  ],
  "title": "Buildish Release Tooling RetainedArtifactSnapshot",
  "type": "object",
  "x-buildish-contract": {
    "category": "emitted",
    "ownership": "tooling-derived",
    "summary": "Snapshot of one retained staged or rebuilt artifact captured in reproducibility metadata."
  }
}
