Structured fields

Note Properties

How named fields describe an individual note, why a shared schema matters, and how consistent names and types turn separate notes into a collection.

What a property stores
A shared eight-field schema
Missing values vs. false and zero

An educational overview

Fields that describe a note

A note property is a named value stored alongside a note, separate from the body text. Properties answer predictable questions — what category a record belongs to, whether it is finished, when work began — so a collection can compare notes without reading every page.

This page explains the idea using the fictional reading collection used throughout ContextField Notebook. All records shown are illustrative, not real books or user data.

01 · The concept

What properties store

A property pairs a name with a value: Status: In Progress names the field and records its current state. The note still holds the prose — highlights, observations, and summaries — while the property makes one specific fact about the note easy to read at a glance.

Where properties help

QuestionPropertyExample value
What is this record?TitleMaterials and Form
Where does it belong?CategoryArchitecture, Design
How far along is it?StatusIn Progress
When did work begin?Started2026-04-10

A minimal property block

---
Title: Materials and Form
Status: In Progress
---

Reading notes go here.

Properties work best when they answer questions you will actually ask later. A field nobody filters, sorts, or reads becomes decoration rather than structure.

02 · One schema, many notes

A shared schema

A schema is the agreed set of properties a collection uses. Every record in the fictional reading collection shares the same eight fields, so a view can rely on each name and type being present and predictable.

PropertyTypeExamplePurpose
TitleTextMaterials and FormReadable record name
CategoryListArchitecture, DesignSubject grouping
StatusTextIn ProgressWorkflow state
StartedDate2026-04-10Start date for sorting
Total PagesNumber240Size of the material
Pages ReadNumber84Progress input
ReviewedCheckboxFalseExplicit yes/no state
TagsTagsdesign, materialsDiscovery labels

The schema does not require every field to be filled. It requires that a field, when present, keeps the same name and the same kind of value across all 30 fictional records.

03 · Naming discipline

Choosing property names

Consistent names are the difference between a collection and a pile of notes. If half the records use Status and the rest use Reading Status, a filter on either name silently drops part of the set.

Good naming habits

HabitWhy it helps
One name per meaningFilters match the whole collection
Stable spelling and caseNo near-duplicate fields
Names that read as questionsEasier to remember what belongs there
Documented in a templateNew notes start correct

Rename once, not twice

---
# Before: split naming
Reading Status: In Progress
pages: 84

# After: one schema
Status: In Progress
Pages Read: 84
---

When a name must change, update it across the collection at once. A gradual rename leaves two half-populated fields and misleading counts.

04 · Type discipline

Matching values to types

A type tells the collection how to interpret a value. Dates sort chronologically, numbers compare by size, checkboxes filter as true or false. Storing a page count as text makes “84” sort next to “9” in unexpected ways.

Type choices in the schema

Value kindTypeReads as
84NumberA quantity to compare
2026-04-10DateA calendar position
falseCheckboxAn explicit no
Architecture, DesignListTwo separate entries

Typed YAML values

---
Pages Read: 84
Started: 2026-04-10
Reviewed: false
Category:
  - Architecture
  - Design
---

Pick the type that matches how the value will be used — sorted, counted, checked, or matched — not just how it looks when typed.

05 · Absence is information

Missing, false, and zero

Three states look similar but mean different things. A missing property was never recorded. A false checkbox was recorded as no. A 0 is a measured quantity. Treating absence as zero turns unknowns into false facts.

Three distinct states

StateHow it appearsWhat it means
MissingProperty absentNothing recorded yet
FalseReviewed: falseChecked and answered no
ZeroTotal Pages: 0A measured value of none

Why it matters for progress

Pages Read / Total Pages x 100

84 / 240 x 100 = 35%
missing total  -> show "Not available"
zero total     -> show "Not applicable"

Check that both operands exist and that the denominator is greater than zero before calculating. An honest “not available” beats a wrong percentage.

06 · Two halves of a note

Properties and body text

Properties describe the note; the body carries the substance. A reading record’s structured fields can locate it, filter it, and chart its progress, but the observations about materials and form live in the prose below the metadata block.

Division of labor

PartHoldsUsed for
PropertiesShort typed valuesFiltering, sorting, views
BodyNotes, quotes, reflectionsReading and understanding

A complete fictional note

---
Title: Materials and Form
Status: In Progress
Pages Read: 84
Total Pages: 240
Reviewed: false
---

## Notes
Observations on material
choices and form.

Resist moving prose into properties. If a value needs a paragraph, it belongs in the body; if a view needs to filter it, it belongs in a property.