Amazon QLDB · Schema

GetBlockResponse

GetBlockResponse schema from Amazon QLDB API

BlockchainDatabaseLedger

Properties

Name Type Description
Block object
Proof object
View JSON Schema on GitHub

JSON Schema

amazon-qldb-get-block-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-qldb/refs/heads/main/json-schema/amazon-qldb-get-block-response-schema.json",
  "title": "GetBlockResponse",
  "description": "GetBlockResponse schema from Amazon QLDB API",
  "type": "object",
  "properties": {
    "Block": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ValueHolder"
        },
        {
          "description": "The block data object in Amazon Ion format."
        }
      ]
    },
    "Proof": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ValueHolder"
        },
        {
          "description": "The proof object in Amazon Ion format returned by a <code>GetBlock</code> request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block."
        }
      ]
    }
  },
  "required": [
    "Block"
  ]
}