{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-build/json-schema/google-cloud-build-repository-schema.json",
  "title": "Repository",
  "description": "A repository associated to a parent connection.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-build-projects-api-openapi.yml#/components/schemas/Repository",
  "type": "object",
  "properties": {
    "remoteUri": {
      "description": "Required. Git Clone HTTPS URI.",
      "type": "string"
    },
    "createTime": {
      "format": "google-datetime",
      "type": "string",
      "readOnly": true,
      "description": "Output only. Server assigned timestamp for when the connection was created."
    },
    "updateTime": {
      "description": "Output only. Server assigned timestamp for when the connection was updated.",
      "type": "string",
      "format": "google-datetime",
      "readOnly": true
    },
    "name": {
      "description": "Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`.",
      "type": "string"
    },
    "webhookId": {
      "readOnly": true,
      "description": "Output only. External ID of the webhook created for the repository.",
      "type": "string"
    },
    "annotations": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Optional. Allows clients to store small amounts of arbitrary data.",
      "type": "object"
    },
    "etag": {
      "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
      "type": "string"
    }
  }
}