Definition: The Notification. Native 1920×1080, 6.5s at 30fps.
Defines a term as a message that arrives. A phone rises and buzzes, a notification lands on its lock screen, then the card flies out of the phone to full size with the term in condensed caps and the meaning beneath; an optional caption follows.
Motion. Phone rises and settles (ease-out); a stepped 2-frame buzz; the banner drops in; the card grows out of the banner to its reading position (ease in-out) while the phone dims; term and meaning lines rise 0.1 s apart; tag pops; caption builds. Why it moves. change + attention: the idea physically comes out of the phone to you, so the definition reads as news.
Mount
Copy every manifest file into your project (plus af-small-hours-runtime). Mount with a unique host id, data-composition-id="af-small-hours-definition-16x9", data-composition-src="compositions/af-small-hours-definition-16x9.html", data-duration="6.5" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.
Content slots
Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).
tag: {"type":"string","minLength":1,"maxLength":16}from: {"type":"string","minLength":1,"maxLength":16}term (required): {"type":"string","minLength":1,"maxLength":22}meaning (required): {"type":"string","minLength":1,"maxLength":110}caption: {"type":"string","minLength":1,"maxLength":36}
term is up to two lines; meaning up to four (measured per size).caption: Wrap key words in *asterisks* to set them in the key colour; "|" forces a line break.
Style: colourway (midnight, ember, moss), accent (optional hex for the key colour), stampLabel / stampTime (the clock stamp), footer, enter / exit (dark or cut).
Timing
6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (dust slows to a residual drift, the moonlight breathes, text stays still). It opens out of black (lights on) and closes to black over the last 0.5 s (lights out).
Example
``json { "tag": "The science", "from": "Sleep 101", "term": "Sleep cycle", "meaning": "One loop through light, deep and dream sleep. Each one lasts about 90 minutes.", "caption": "Your night runs in *loops*" } ``