pub struct Island {
pub id: String,
pub island_type: String,
pub props: Value,
pub loss: Loss,
}Expand description
A structured object with no honest text encoding — a table, figure, or future
embed — occupying one ISLAND_SLOT in the content.
Fields§
§id: StringDeterministically minted, session-stable id — isl-{n} by import
position (import::mint_island). Part of the canonical form and thus
hash input; deterministic by contract, never ambient, so equal content
hashes equal (DOCUMENT_STORAGE.md § Island-id determinism). Edits keep
it stable rather than re-deriving it, so Content::validate enforces
uniqueness, not positional equality.
island_type: StringIsland type discriminator ("table", "image", …). Unknown types
round-trip opaque.
props: ValueTyped payload. Recursively key-sorted by normalization so it hashes
deterministically despite serde_json’s preserve_order.
loss: LossHow faithfully the markdown projection can carry this island.