Contextual Schema Extensions
Contextual Object Type schemas start with standard JSON Schema, but they also support a small set of platform-specific extensions that drive record identity, UI behavior, generated values, and relation-aware features.
These extension fields are understood by Contextual tooling and are removed or interpreted before the underlying JSON Schema validation runs.
Common top-level extensions
primaryKey- identifies the permanent record key for the Object Typerelations- describes record relationships used by related-record and relation-aware UI features
Common property-level extensions
secret: true- stores the property value as an encrypted secret instead of a plain record valuegenerate- automatically populates the property when a record is createdrenderer- selects a specialized UI renderer for the property in Contextual's admin experience
Renderer examples
The admin console supports renderer-driven experiences beyond what vanilla JSON Schema provides. Examples visible in the current product code include:
code-editorrelationflow-relation
These values are used by Contextual UI renderers and should be treated as platform features rather than generic JSON Schema keywords.
Related pages
Last updated
Was this helpful?