{
  "$comment": "Generated from the Buildish Release Tooling Pydantic models. Do not edit by hand; regenerate with `make schemas`.",
  "$defs": {
    "ResolvedRepositoryBindingJson": {
      "additionalProperties": false,
      "description": "Machine-readable JSON payload for one resolved harness repository binding.",
      "properties": {
        "local_checkout_mode": {
          "description": "Policy describing whether the related repository binding should resolve to a local checkout path.",
          "title": "Local Checkout Mode",
          "type": "string"
        },
        "local_path": {
          "description": "Resolved or configured local filesystem path associated with the related repository binding.",
          "title": "Local Path",
          "type": "string"
        },
        "repository_id": {
          "description": "Logical repository identifier used by the harness configuration layer.",
          "title": "Repository Id",
          "type": "string"
        }
      },
      "required": [
        "repository_id",
        "local_checkout_mode",
        "local_path"
      ],
      "title": "ResolvedRepositoryBindingJson",
      "type": "object",
      "x-buildish-contract": {
        "category": "runtime",
        "ownership": "runtime-derived"
      }
    }
  },
  "$id": "https://buildish.org/components/release-tooling/schemas/resolved-release-harness-config-json.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Machine-readable JSON payload for one resolved harness config file.",
  "properties": {
    "config_path": {
      "description": "Filesystem path of the resolved configuration document.",
      "title": "Config Path",
      "type": "string"
    },
    "local_override_path": {
      "description": "Filesystem path of the optional local harness override file that was considered during config loading.",
      "title": "Local Override Path",
      "type": "string"
    },
    "local_override_present": {
      "description": "Whether the optional local harness override file existed and was merged into the effective harness config.",
      "title": "Local Override Present",
      "type": "boolean"
    },
    "repository_overrides": {
      "additionalProperties": {
        "$ref": "#/$defs/ResolvedRepositoryBindingJson"
      },
      "description": "Per-repository local override bindings resolved from the harness configuration.",
      "title": "Repository Overrides",
      "type": "object"
    },
    "self_repository": {
      "$ref": "#/$defs/ResolvedRepositoryBindingJson",
      "description": "Resolved binding for the primary workflow repository under harness control."
    }
  },
  "required": [
    "config_path",
    "local_override_path",
    "local_override_present",
    "self_repository"
  ],
  "title": "Buildish Release Tooling ResolvedReleaseHarnessConfigJson",
  "type": "object",
  "x-buildish-contract": {
    "category": "runtime",
    "ownership": "runtime-derived",
    "summary": "Machine-readable JSON payload for one resolved harness configuration."
  }
}
