{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-repo/json-schema/microsoft-azure-repo-git-ref-update-result-schema.json",
  "title": "GitRefUpdateResult",
  "description": "Result of a ref update operation",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-repo-refs-api-openapi.yml#/components/schemas/GitRefUpdateResult",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Full ref name"
    },
    "oldObjectId": {
      "type": "string",
      "description": "Previous object ID"
    },
    "newObjectId": {
      "type": "string",
      "description": "New object ID"
    },
    "success": {
      "type": "boolean",
      "description": "Whether the update succeeded"
    },
    "updateStatus": {
      "type": "string",
      "description": "Status of the update operation"
    },
    "repositoryId": {
      "type": "string",
      "format": "uuid",
      "description": "Repository the ref belongs to"
    }
  }
}