{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-database/json-schema/oracle-database-database-pluggable-snapshots-schema.json",
  "title": "DatabasePluggableSnapshots",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-database-pluggable-database-lifecycle-management-api-openapi.yml#/components/schemas/DatabasePluggableSnapshots",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DatabasePluggableSnapshotItem"
      }
    },
    "hasMore": {
      "type": "boolean",
      "description": "Indicates if there are more records to be retrieved."
    },
    "limit": {
      "type": "integer",
      "description": "The actual page size limit on number of records applied by the server."
    },
    "offset": {
      "type": "integer",
      "description": "The actual index from which the item resources are returned."
    },
    "count": {
      "type": "integer",
      "description": "Total number of records in the current response."
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LinkRelation"
      }
    }
  },
  "$defs": {
    "DatabasePluggableSnapshotItem": {
      "type": "object",
      "description": "This object describes Pluggable Database Snapshots associated with the current instance.",
      "properties": {
        "con_id": {
          "type": "integer",
          "description": "The ID of the container to which the data pertains."
        },
        "con_uid": {
          "type": "integer",
          "description": "Unique identifier associated with the PDB."
        },
        "con_name": {
          "type": "string",
          "description": "Name of the PDB."
        },
        "snapshot_name": {
          "type": "string",
          "description": "Snapshot name of the PDB."
        },
        "snapshot_scn": {
          "type": "integer",
          "description": "SCN at which the snapshot was taken."
        },
        "previous_snapshot_scn": {
          "type": "integer",
          "description": "SCN at which the previous snapshot for the PDB was taken"
        },
        "snapshot_time": {
          "type": "integer",
          "description": "Timestamp at which the snapshot was taken."
        },
        "previous_snapshot_time": {
          "type": "integer",
          "description": "Timestamp of the previous snapshot for this PDB."
        },
        "full_snapshot_path": {
          "type": "string",
          "description": "Full path for the snapshot."
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LinkRelation"
          }
        }
      }
    },
    "LinkRelation": {
      "type": "object",
      "properties": {
        "rel": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      },
      "required": [
        "rel",
        "href"
      ]
    }
  }
}