Skip to content

Schema: content_hash_ref

Content fingerprint with optional size and encoding metadata.

A shared building block of the event model.

Generated from src/spec_kitty_events/schemas/content_hash_ref.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Listed on the Shared event-model types hub.

Diagram

ContentHashRefStructure of the JSON Schema ContentHashRef.$idspec-kitty-events/content_hash_ref$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionContent fingerprint with optional size and encoding metadata.properties   required   titleContentHashReftypeobjectalgorithm   encoding   hash   size_bytes   enum   titleAlgorithmtypestringsha256sha512md5anyOf   default␀titleEncoding      typestringtypenulldescriptionHex-encoded content hashminLength1titleHashtypestringanyOf   default␀titleSize Bytes      minimum0typeintegertypenullhashalgorithm
Structure of the JSON Schema ContentHashRef.

Properties

  • algorithm (enum: sha256, sha512, md5, required)
  • encoding (string | null)
  • hash (string, required): Hex-encoded content hash
  • size_bytes (integer | null)

Source

Schema file: schemas/content_hash_ref.schema.json