AlmondTill/G3N API

PrivacyRequest

object type

A PrivacyRequest — the GDPR/CCPA request register: every data-subject request received (erasure · access · portability · rectification · opt_out) is recorded with full provenance — the regime (gdpr · ccpa), the arrival channel, the received instant, and the subject. The ladder: verify (the identity gate — v1 the verifier's assertion, the proof narrative on the revision cause) → start → fulfill; reject serves received AND verified (ONE op, two edges — the reason is required: a refused privacy request states its grounds). The FULFILLMENT mechanics stay the existing ops — the register records and links, it never executes. NOT searchable (a compliance register holding subject PII — the gated paginated listing); the listing pages newest-first; rejected drops per page as doomed while fulfilled records stay listed.

Fields

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The human-readable id, shaped like PV-… — stable for the record’s life.
typeString String!The kind of record — always PrivacyRequest here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of received, verified, in_progress, fulfilled or rejected.
parentIdID ID!The parent = the org group; parentId === rootId always (the FraudAlert class — the register is group custody).
rootIdID ID!The id of your organization group — every record of yours carries the same one.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID ID!The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten.
refCaptionsRefCaption [RefCaption!]!The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption.
requestTypeString String!Which data-subject right. Immutable at birth (a changed ask is a fresh request).
regimeString String!Which regime (gdpr · ccpa — EU/CA first, extensible deliberately). Immutable at birth.
channelString String!HOW it arrived (email · phone · in_store · web · mail). Immutable at birth.
receivedAtString String!When it arrived (may predate the recording; omitted at create ⇒ the create instant, stamped engine-side).
consumerIdIDThe known subject; null for inline/guest subjects.
subjectRefStringThe inline/guest subject handle (the requester's stated email/name, ≤200) — one of the three subject forms (at least one names the subject).
subjectOrderIdIDThe guest sale whose buyer asks: an in-group agent sale proven at create by its receipt token (the buyer's own capability — compared in constant time, never stored); deidentifyOrder demands a verified or in-progress request naming the order; null for the other subject forms. Immutable.
affectedRefsTaskConstructRef [TaskConstructRef!]!The fulfillment evidence (≤20 — the {type, id} structured-ref shape reused): empty at birth, stamped by fulfillPrivacyRequest (the de-identified Consumer, the export target, the rectified records); advisory + tombstone-tolerant.

Used by