Skip to content
Novus Examples
json1.6 KB

Rekor Transparency-Log Entry

A transparency-log entry keyed by its own UUID at the top level — a shape that breaks parsers expecting a fixed root key — with a base64 body that decodes to a dsse record. Signatures, key ids and certificates here are SAMPLE placeholders — the base64 decodes to the words 'SAMPLE SIGNATURE', so verification must fail. Nothing here is cryptographically valid and no key material is real.

Preview — first 23 linesjson
{
  "0d88253fedddd7a4c37d2719017c044d4189cfd45327cf18a5b9d114841ca95d": {
    "body": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiZWIxOTJjMjcxNzAxYzM4Y2I0OTA0NjhjMTdlNzQ3ODViMjQzMjBjNmY2OTdjZjdkODBmNjc1MTdhYTI2ZDZiMiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjA2YWY4OGUzMTZjZjg4OWUwYjcyNjQ1ZjIzNWY3N2M5MDBkNDg5NzI0NTZiMWZmNmJhNGRmNDlhZTI0YmU3MzQifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiVTBGTlVFeEZJRk5KUjA1QlZGVlNSU0F0SUU1UFZDQkJJRkpGUVV3Z1UwbEhUa0ZVVlZKRkxDQldSVkpKUmtsRFFWUkpUMDRnVFZWVFZDQkdRVWxNSUZ0eVpXdHZjbDA9IiwidmVyaWZpZXIiOiJVMEZOVUV4RklGWkZVa2xHU1VWU0lFdEZXUT09In1dfX0=",
    "integratedTime": 1767225600,
    "logID": "05ef81c2c24125517955cbd5fe462fa6fc02aeeeacab9422f367dba22e116313",
    "logIndex": 51200,
    "verification": {
      "inclusionProof": {
        "checkpoint": "sample-rekor.orchard.example - 51201",
        "hashes": [
          "d8029e5ab6db487d95cb303027f2a6d00c29f3c246452e52525ddbd99e82d8fd",
          "467f67286d66dcc8e5e07a6e042ea72f5612322a7e50deafaeb6f56e559338c2"
        ],
        "logIndex": 51200,
        "rootHash": "f1b9e4fde0a5dd06653566db0ca37c2ebd3755666e61b2090be349aaf3775eda",
        "treeSize": 51201
      },
      "signedEntryTimestamp": "U0FNUExFIFNJR05BVFVSRSAtIE5PVCBBIFJFQUwgU0lHTkFUVVJFLCBWRVJJRklDQVRJT04gTVVTVCBGQUlMIFtzZXRd"
    }
  },
  "novus_sample_note": "Signatures, key ids and certificates here are SAMPLE placeholders — the base64 decodes to the words 'SAMPLE SIGNATURE', so verification must fail. Nothing here is cryptographically valid and no key material is real."
}

Specifications

Seed
51200
Sample Only
true
Format
Rekor entry
Kind
dsse
Log Index
51200
Tree Size
51201
Top Level Key
entry UUID
Line Endings
LF

Testing contract

Expected to pass
Scenario
Read a log entry whose top-level key is a content-addressed UUID.
Expected result
Parser enumerates keys rather than indexing a known name, decodes the body to a dsse spec, and reads logIndex 51200 with a tree size of 51201.

What is a .json file?

JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.

How to use this file

Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.

How to use this file for testing

“Rekor Transparency-Log Entry” is a deterministic Novus Examples fixture for JSON parsing, Schema validation, Error handling. Flat, deeply nested, JSON Lines, and intentionally invalid JSON for testing parsers and error handling.

Documented properties for this file: seed 51200 · LF · Rekor entry. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

SBOM, lockfile, provenance, and advisory fixtures describe the same fabricated component tree across formats, so a converter or scanner can be diffed against a known answer. Every package name, version, hash, and advisory ID is invented — never treat a finding here as real.

Feed the file to your parser and assert it handles the documented quirks — quoted delimiters, embedded newlines, ragged rows, or invalid syntax; the valid↔invalid distinction is labelled in the title.

Code examples

import json

with open("rekor-log-entry.json") as f:
    data = json.load(f)
print(type(data), len(data))

Generated by generation/supply_chain.py. Free for any use, no attribution required — license.