Skip to content

Add unstructuredContent data type and field groups for Experience Event and Individual Profile - #2253

Merged
kiranmca04 merged 2 commits into
adobe:masterfrom
knarayanan88:feature-2252-unstructured-content-fieldgroup
Sep 4, 2026
Merged

kiranmca04 merged 2 commits into
adobe:masterfrom
knarayanan88:feature-2252-unstructured-content-fieldgroup

Conversation

@knarayanan88

Copy link
Copy Markdown
Contributor

Summary

Closes #2252

Adds a reusable unstructuredContent XDM data type carrying a single free-text field (rawText), plus two thin field groups exposing it — one extending Experience Event, one extending Individual Profile. Non-breaking, purely additive.

Motivation

Unstructured/semi-structured data ingestion pipelines need a minimal, reusable shape to carry extracted plain text (e.g. a note, review, or message) on either an Experience Event or an Individual Profile record, keyed by an existing identity. Lineage (source dataset, batch id, ingestion timestamp, extraction pipeline version) is intentionally not modeled here — it is already covered by standard Catalog/batch metadata.

Modeling rawText as a data type (rather than inlining it into a single field group) lets the identical shape be $ref'd from more than one field group, following the existing pattern where tool-usage is referenced from experienceevent-survey-response-details.

Changes

  • components/datatypes/unstructured-content.schema.json — new data type, single property xdm:rawText (string).
  • components/datatypes/unstructured-content.example.1.json — example for the data type.
  • components/fieldgroups/experience-event/experienceevent-unstructured-content.schema.json — thin field group extending Experience Event, exposing xdm:unstructuredContent via $ref.
  • components/fieldgroups/experience-event/experienceevent-unstructured-content.example.1.json — example.
  • components/fieldgroups/profile/profile-unstructured-content.schema.json — thin field group extending Individual Profile, exposing xdm:unstructuredContent via $ref.
  • components/fieldgroups/profile/profile-unstructured-content.example.1.json — example.

Validation

  • npm test — 2429 passing, 1 pending
  • npm run lint — clean
  • npm run validate — 58 failures both before and after this change (pre-existing baseline); zero new failures
  • npm run incompatibility-check — clean

Breaking changes

None. Purely additive new data type and field groups.

@knarayanan88
knarayanan88 force-pushed the feature-2252-unstructured-content-fieldgroup branch from 7075a6e to dba3da4 Compare September 3, 2026 21:22
@knarayanan88
knarayanan88 marked this pull request as ready for review September 3, 2026 21:22
@kiranmca04
kiranmca04 merged commit d93e3bf into adobe:master Sep 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add unstructuredContent data type and field groups for Experience Event and Individual Profile

2 participants