OptionalconstantConstant id for single mappings whose object has no id field.
Entity type the mapped object(s) belong to.
OptionalidField on each object that holds its entity id. For single you may instead
pass a constant id via constantId.
Whether pointer addresses one object or a collection (array/record).
JSON-Pointer prefix into the agent state where this entity (or collection)
lives. "/order" → a single entity; "/orders" → a collection keyed by id.
OptionalwriteHow to write: upsert (merge via MergeStrategy — default) or replace
(full overwrite). Snapshots typically replace; deltas typically upsert.
Maps one slice of agent state onto an entity type.