specs/vta/memory/delete/v0_2/payload library
Classes
- Payload
- Forget one memory item. The item's value is discarded and a tombstone takes its place for the maintainer's retention window, so that another device syncing the context learns of the deletion instead of keeping a copy forever.
- Response
- Success response to vta/memory/delete. Type https://trusttasks.org/spec/vta/memory/delete/0.2#response.
Constants
- deprecation → const String?
- Why this specification version is deprecated, or null when it is current.
- extendsVersion → const String?
-
The
MAJOR.MINORthis version declares it extends (SPEC §5.2, "Declared extension"), or null when it declares none. - payloadSchemaJson → const String
- This specification's payload schema, as JSON text.
- responsePayloadSchemaJson → const String
- As payloadSchemaJson, for the success-response variant.
- responseSpec → const SpecPolicy
- The SPEC §7.2 policy for the success-response variant.
- responseTypeUri → const String
- The success-response form of typeUri (SPEC §4.4.1).
- spec → const SpecPolicy
- The SPEC §7.2 policy for the request variant, taken from this specification's front matter.
- typeUri → const String
- The Trust Task type URI this library's Payload is carried under.
Typedefs
-
Ext
= Map<
String, dynamic> - Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.
- MemoryKey = String
-
Agent-chosen identifier for an item within a context. Opaque to the maintainer: it
MUST NOT be parsed, normalized, or case-folded, and prefix matching in
vta/memory/listis a byte-prefix comparison over the UTF-8 encoding. Agents SHOULD use/-delimited hierarchical keys (contact/billing,preference/timezone) so thatprefixcan address a family of items, but the delimiter is a convention between an agent and itself. A key is content as well as an address: a key naming a person, a condition or a dispute discloses something to anyone who can list the context, even without its value. - MemoryVersion = int
- A value of the context's monotonic write counter (see this schema's description). Server-assigned; a producer never chooses one.