{
  "$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/maven-repository-path-result-report.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "One comparable staged Maven repository path result retained for inspection.",
  "properties": {
    "detail": {
      "description": "Human-readable comparison detail for one verification or reproducibility result entry.",
      "minLength": 1,
      "title": "Detail",
      "type": "string"
    },
    "mode": {
      "description": "Comparison mode that Buildish applied when comparing this staged Maven repository path to the rebuilt local path.",
      "enum": [
        "exact-bytes",
        "zip-normalized",
        "content-only",
        "remote-only"
      ],
      "title": "Mode",
      "type": "string"
    },
    "normalized_match": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Whether the staged and rebuilt repository path matched after applying the selected normalization mode.",
      "title": "Normalized Match"
    },
    "path": {
      "description": "Filesystem path, relative artifact path, or retained evidence path associated with the related record.",
      "minLength": 1,
      "title": "Path",
      "type": "string"
    },
    "raw_bytes_equal": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Whether raw staged and rebuilt bytes matched before any archive-aware normalization.",
      "title": "Raw Bytes Equal"
    },
    "rebuilt_sha512": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "SHA-512 digest computed from the rebuilt source or secondary artifact bytes.",
      "title": "Rebuilt Sha512"
    },
    "staged_sha512": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "SHA-512 digest computed from the staged repository entry or retained artifact bytes.",
      "title": "Staged Sha512"
    },
    "verdict": {
      "description": "Structured verification or reproducibility verdict for the related subject.",
      "enum": [
        "verified",
        "failed",
        "skipped"
      ],
      "title": "Verdict",
      "type": "string"
    }
  },
  "required": [
    "path",
    "mode",
    "verdict",
    "detail"
  ],
  "title": "Buildish Release Tooling MavenRepositoryPathResultReport",
  "type": "object",
  "x-buildish-contract": {
    "category": "emitted",
    "ownership": "tooling-derived",
    "summary": "Per-path Maven repository reproducibility comparison result retained in bundle metadata."
  }
}
