{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pure-storage/json-schema/pure-storage-bucket-replica-link-get-response-2-schema.json",
  "title": "BucketReplicaLinkGetResponse_2",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pure-storage-bucket-replica-links-api-openapi.yml#/components/schemas/BucketReplicaLinkGetResponse_2",
  "allOf": [
    {
      "$ref": "#/$defs/PageInfo_2"
    },
    {
      "$ref": "#/$defs/BucketReplicaLinkResponse_2"
    }
  ],
  "$defs": {
    "BucketReplicaLinkResponse_2": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BucketReplicaLink_2"
          }
        }
      }
    },
    "BucketReplicaLink_2": {
      "description": "A replica link between two buckets.",
      "allOf": [
        {
          "$ref": "#/$defs/_replicaLink"
        },
        {
          "description": "A replica link between two buckets.",
          "type": "object",
          "properties": {
            "members": {
              "description": "The union of source and target buckets in the replica link.",
              "type": "array",
              "items": {
                "$ref": "#/$defs/_resourceWithLocation"
              }
            },
            "recovery_point": {
              "description": "Time when the last piece of data was replicated, in milliseconds since\nthe UNIX epoch, and the recovery point of the bucket.\n",
              "type": "integer",
              "format": "int64",
              "readOnly": true
            },
            "sources": {
              "description": "The source buckets in the replica link.",
              "type": "array",
              "items": {
                "$ref": "#/$defs/_resourceWithLocation"
              }
            },
            "status_details": {
              "description": "Detailed information about the status of the replica link when it is\n`unhealthy`.\n",
              "type": "string"
            },
            "targets": {
              "description": "The target buckets in the replica link.",
              "type": "array",
              "items": {
                "$ref": "#/$defs/_resourceWithLocation"
              }
            }
          }
        }
      ]
    },
    "PageInfo_2": {
      "type": "object",
      "properties": {
        "continuation_token": {
          "description": "Continuation token that can be provided in the continuation_token\nquery param to get the next page of data.\nIf you use the continuation token to page through data you\nare guaranteed to get all items exactly once regardless of\nhow items are modified. If an item is added or deleted during\nthe pagination then it may or may not be returned.\nThe continuation token is generated if the limit is less\nthan the remaining number of items, and the default sort is used\n(no sort is specified).\n",
          "type": "string"
        },
        "total_item_count": {
          "description": "Total number of items after applying filter params.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "_fixedReferenceFqdn": {
      "allOf": [
        {
          "$ref": "#/$defs/_fixedReference_2"
        },
        {
          "type": "object",
          "properties": {
            "fqdn": {
              "description": "The fully qualified domain name of the appliance when `resource_type` is `arrays`,\n`null` otherwise.\n",
              "type": "string",
              "readOnly": true
            }
          }
        }
      ]
    },
    "_fixedReference_2": {
      "type": "object",
      "properties": {
        "id": {
          "description": "The opaque and unique id of this resource.",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "The name of this resource.",
          "type": "string",
          "readOnly": true
        },
        "resource_type": {
          "description": "The type of this resource represented by the name of its REST endpoint.\nFor example, \"arrays\", \"network-interfaces\", and \"metrics\".\nThe value may be `null` if the resource is not represented.\n",
          "type": "string",
          "readOnly": true
        }
      },
      "x-readOnly": true
    },
    "_replicaLink": {
      "allOf": [
        {
          "$ref": "#/$defs/_resourceNoName"
        },
        {
          "type": "object",
          "properties": {
            "lag": {
              "description": "Duration, in milliseconds, which represents how far behind the\nreplication `target` is from the `source`.\n",
              "type": "integer",
              "format": "int64",
              "readOnly": true
            },
            "paused": {
              "description": "Returns `true` if the replica link is paused.\n",
              "type": "boolean"
            },
            "recovery_point": {
              "description": "Time when the last piece of data was replicated, measured in\nmilliseconds since the UNIX epoch, and the recovery point of the\nresource.\n",
              "type": "integer",
              "format": "int64",
              "readOnly": true
            },
            "status": {
              "description": "Status of the replica link. Values include `replicating`, `idle`,\nand `unhealthy`.\n",
              "type": "string"
            }
          }
        }
      ]
    },
    "_resourceNoName": {
      "description": "An ordinary (as opposed to built-in) resource that can be created or deleted\nby the user. This might be a virtual resource (e.g., a volume), or correspond\nto something in the physical environment, like a host or a server.\n",
      "allOf": [
        {
          "$ref": "#/$defs/_timeAware"
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "description": "A non-modifiable, globally unique ID chosen by the system.",
              "type": "string",
              "readOnly": true
            }
          }
        }
      ]
    },
    "_resourceWithLocation": {
      "description": "An ordinary resource that exists in one location.\n",
      "allOf": [
        {
          "$ref": "#/$defs/_fixedReference_2"
        },
        {
          "type": "object",
          "properties": {
            "location": {
              "$ref": "#/$defs/_fixedReferenceFqdn"
            }
          }
        }
      ]
    },
    "_timeAware": {
      "type": "object",
      "properties": {
        "_as_of": {
          "description": "The freshness of the data (timestamp in millis since epoch).",
          "type": "integer",
          "format": "int64",
          "readOnly": true
        }
      }
    }
  }
}