Skip to content

Return one entity definition.

GET
/api/workspace/entity-definitions/{entityDefinitionId}
curl --request GET \
--url https://example.com/api/workspace/entity-definitions/example
  • None
entityDefinitionId
required
string
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

OK

Media typeapplication/json
object
Data

Full entity definition detail.

object
Id

Entity definition identifier.

string
nullable
Name

Internal entity name.

string
nullable
DisplayNameSingular

User-facing singular name.

string
nullable
DisplayNamePlural

User-facing plural name.

string
nullable
Description

Optional entity description.

string
nullable
CommentsEnabled

Whether comments are enabled.

boolean
AttachmentsEnabled

Whether attachments are enabled.

boolean
TagsEnabled

Whether tags are enabled.

boolean
FullTextSearchEnabled

Whether full-text search is enabled for the definition.

boolean
AuditTrailEnabled

Whether audit trail is enabled.

boolean
AuditTrailRetentionMode
integer format: int32
Allowed values: 0 1 2
AuditTrailRetentionDays

Retention days when mode is days-based.

integer format: int32
nullable
AccessModel
integer format: int32
Allowed values: 0 1 2 3
NumberPrefix

Configured number prefix.

string
nullable
IsReadOnly

Whether runtime writes are blocked for this entity.

boolean
DisabledOperations
integer format: int32
Allowed values: 0 1 2 4 8 16 32 64 128
IsPendingDeletion

Whether the definition is frozen pending deletion.

boolean
DeletionRequestedAt

Timestamp when deferred deletion was requested.

string format: date-time
nullable
PurgeAfterUtc

Scheduled purge timestamp.

string format: date-time
nullable
Tables

Definition tables.

Array<object>
nullable

Metadata for one physical table used by an entity definition.

object
Id

Table metadata identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
Name

Logical table name.

string
nullable
SchemaName

Database schema name.

string
nullable
PhysicalTableName

Physical table name.

string
nullable
IsPrimary

Whether this is the primary entity table.

boolean
OwnerFieldId

Owner field identifier for child tables.

string
nullable
Fields

Fields that belong to the table.

Array<object>
nullable

Metadata for one entity field definition.

object
Id

Field identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
EntityDefinitionTableId

Entity definition table identifier.

string
nullable
Key

Field key.

string
nullable
DisplayName

Field display name.

string
nullable
FieldType
integer format: int32
Allowed values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
VisibleWhen

Visibility condition expression.

string
nullable
RequiredWhen

Requiredness condition expression.

string
nullable
BusinessRequiredWhen

Package-owned business requiredness condition expression.

string
nullable
EditableWhen

Editability condition expression.

string
nullable
IsReadOnly

Whether runtime writes should skip this field.

boolean
ExcludeFromFullTextSearch

Whether the field is explicitly excluded from full-text search.

boolean
DecimalPrecision

Decimal precision when applicable.

integer format: int32
nullable
DecimalScale

Decimal scale when applicable.

integer format: int32
nullable
StringMaxLength

String max length when applicable.

integer format: int32
nullable
AllowMultiple

Whether multiple values are allowed.

boolean
ReferenceToEntityDefinitionId

Target entity definition identifier for reference-style fields.

string
nullable
PairedReferenceFieldId

Paired reference field identifier for inverse reference fields.

string
nullable
AllowSort

Whether root-list sorting by linked display value is allowed.

boolean
ReferenceDeleteBehavior
integer format: int32
Allowed values: 0 1
SortOrder

Sort order inside the owning table.

integer format: int32
Options

Select options when applicable.

Array<object>
nullable

Option metadata for select fields.

object
Id

Option identifier.

string
nullable
EntityFieldDefinitionId

Owning field identifier.

string
nullable
Key

Option key.

string
nullable
Value

Option display value.

string
nullable
SortOrder

Sort order.

integer format: int32
AccessRules

Explicit field access overrides.

Array<object>
nullable

Explicit field access override for one subject.

object
Id

Rule identifier.

string
nullable
EntityFieldDefinitionId

Field identifier.

string
nullable
Subject

Resolved permission subject metadata.

object
SubjectType
integer format: int32
Allowed values: 0 1 2 3
SubjectId

Subject identifier.

string
nullable
DisplayName

Resolved display name.

string
nullable
Description

Optional secondary description.

string
nullable
AccessLevel
integer format: int32
Allowed values: 0 1 2 3
Order

Ascending evaluation order.

integer format: int32
RowVersion

Concurrency token.

string format: uuid
ChildTableId

Child table metadata identifier for table fields.

string
nullable
IsDeleted

Whether the field is soft-deleted.

boolean
DeletedAt

Deletion timestamp.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
AddressCoordinatesRequired

Whether address values must carry latitude and longitude.

boolean
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
Metadata

Owner-scoped metadata attached to this field.

Array<object>
nullable

Owner-scoped metadata attached to one entity field definition.

object
Id

Metadata row identifier.

string
nullable
EntityFieldDefinitionId

Owning field identifier.

string
nullable
OwnerModuleKey

Module that owns this metadata key.

string
nullable
Key

Metadata key inside the owner module.

string
nullable
ValueJson

Metadata value as JSON.

object
RowVersion

Concurrency token.

string format: uuid
SystemRole
integer format: int32
Allowed values: 0 1 2 3 4 5
VisibleWhenOperationMode
integer format: int32
Allowed values: 0 1 2
RequiredWhenOperationMode
integer format: int32
Allowed values: 0 1 2
EditableWhenOperationMode
integer format: int32
Allowed values: 0 1 2
BaseCurrencyCode

Base currency code for Money fields.

string
nullable
CalculationExpression

Stored calculated-field expression.

string
nullable
CalculationKind
integer format: int32
Allowed values: 0 1
ReferenceArchiveBehavior
integer format: int32
Allowed values: 0 1
ReferenceAuditRollupBehavior
integer format: int32
Allowed values: 0 1
SemanticRole
integer format: int32
Allowed values: 0 1 2
SemanticRoleScopeFieldId

Field identifier used as semantic scope, when the selected role requires one.

string
nullable
IsDeleted

Whether the table metadata is soft-deleted.

boolean
DeletedAt

Deletion timestamp.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
RelationDefinitions

Configured relation definitions.

Array<object>
nullable

Entity relation definition metadata.

object
Id

Relation definition identifier.

string
nullable
EntityDefinitionId

Owning entity definition identifier.

string
nullable
Key

Internal key.

string
nullable
DisplayName

User-facing display name.

string
nullable
Semantic
integer format: int32
Allowed values: 0 1 2 3 4
Cardinality
integer format: int32
Allowed values: 0 1
IsRequired

Whether runtime assignments will be required.

boolean
SubjectMode
integer format: int32
Allowed values: 0 1 2
ResponsibilityGroups

Eligible responsibility groups for assignments on this relation.

Array<object>
nullable

Summary projection for one responsibility group.

object
Id

Group identifier.

string
nullable
Code

Optional code-facing identifier.

string
nullable
Name

Display name.

string
nullable
Type
integer format: int32
Allowed values: 0 1 2 3 4 5
Description

Optional description.

string
nullable
UserCount

Assigned member count.

integer format: int32
RowVersion

Concurrency token.

string format: uuid
SortOrder

Ascending sort order.

integer format: int32
IsDeleted

Whether the relation definition is soft-deleted.

boolean
DeletedAt

Deletion timestamp.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
Permissions

Subject-based permissions for the entity.

Array<object>
nullable

Entity permission entry for one subject.

object
Id

Permission identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
Scope
integer format: int32
Allowed values: 0 1 2 3
Action
integer format: int32
Allowed values: 0 1 2 3 4 5 6 7 8 9 10
Subject

Resolved permission subject metadata.

object
SubjectType
integer format: int32
Allowed values: 0 1 2 3
SubjectId

Subject identifier.

string
nullable
DisplayName

Resolved display name.

string
nullable
Description

Optional secondary description.

string
nullable
TargetEntityRelationDefinitionId

Optional target relation definition for assignment-update permissions.

string
nullable
Order

Ascending evaluation order.

integer format: int32
RowVersion

Concurrency token.

string format: uuid
UniqueConstraints

Configured unique constraints.

Array<object>
nullable

Unique constraint configured for one entity definition table.

object
Id

Constraint identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
EntityDefinitionTableId

Owning table identifier.

string
nullable
Fields

Ordered participating fields.

Array<object>
nullable

Field entry participating in an entity unique constraint.

object
Id

Field identifier.

string
nullable
EntityDefinitionTableId

Owning table identifier.

string
nullable
Key

Field key.

string
nullable
DisplayName

User-facing field name.

string
nullable
RowVersion

Concurrency token.

string format: uuid
Indexes

Configured non-unique indexes.

Array<object>
nullable

Non-unique index configured for one entity definition table.

object
Id

Index identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
EntityDefinitionTableId

Owning table identifier.

string
nullable
Fields

Ordered participating fields.

Array<object>
nullable

Field participating in one definition index.

object
Id

Field identifier.

string
nullable
EntityDefinitionTableId

Owning table identifier.

string
nullable
Key

Internal field key.

string
nullable
DisplayName

User-facing field name.

string
nullable
RowVersion

Concurrency token.

string format: uuid
Statements

Configured entity statements.

Array<object>
nullable

Administrative entity statement definition.

object
Id

Statement identifier.

string
nullable
EntityDefinitionId

Owning entity definition identifier.

string
nullable
Name

Stable technical statement key.

string
nullable
DisplayName

User-facing statement label.

string
nullable
Expression

Stored SQL-like statement expression.

string
nullable
ExposeInClient

Whether runtime payloads expose this statement as a predicate flag.

boolean
SortOrder

Statement ordering inside the entity definition.

integer format: int32
IsDeleted

Whether the statement is soft-deleted.

boolean
DeletedAt

Soft-delete timestamp when deleted.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
ValidationRules

Configured entity validation rules.

Array<object>
nullable

Administrative entity validation rule definition.

object
Id

Validation rule identifier.

string
nullable
EntityDefinitionId

Owning entity definition identifier.

string
nullable
Name

Stable technical validation rule key.

string
nullable
DisplayName

User-facing validation rule label.

string
nullable
Expression

Validation expression.

string
nullable
Message

User-facing validation failure message.

string
nullable
MessageTranslations

Optional localized validation failure message templates keyed by locale.

object
key
additional properties
string
Enabled

Whether this validation rule is active.

boolean
SortOrder

Validation rule ordering inside the entity definition.

integer format: int32
IsDeleted

Whether the validation rule is soft-deleted.

boolean
DeletedAt

Soft-delete timestamp when deleted.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
PresentationRules

Configured entity presentation rules.

Array<object>
nullable

Metadata for one entity presentation rule.

object
Id

Presentation rule identifier.

string
nullable
EntityDefinitionId

Owning entity definition identifier.

string
nullable
Target
integer format: int32
Allowed values: 0 1
Template

Stored render template.

string
nullable
Condition

Stored rule condition expression.

string
nullable
SortOrder

Stable ordering inside one presentation slot.

integer format: int32
IsDeleted

Whether the rule is soft-deleted.

boolean
DeletedAt

Soft-delete timestamp when deleted.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
UsageType
integer format: int32
Allowed values: 0 1 2
OwnerModuleKey

Owning module key when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.

string
nullable
OwnerAggregateType

Owning aggregate type when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.

string
nullable
OwnerAggregateId

Owning aggregate identifier when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.

string
nullable
AccessInheritancePolicy

Read model for contained parent access inheritance policy.

object
Id

Policy id.

string
nullable
ChildEntityDefinitionId

Child entity definition id.

string
nullable
ParentEntityDefinitionId

Parent entity definition id.

string
nullable
ParentEntityDisplayName

Parent entity display name.

string
nullable
AccessParentReferenceFieldId

Parent reference field id on the child entity.

string
nullable
AccessParentReferenceFieldKey

Parent reference field key.

string
nullable
AccessParentReferenceFieldDisplayName

Parent reference field display name.

string
nullable
IsEnabled

Whether the policy is active.

boolean
MaxPropagationDepth

Maximum propagation depth stored for future reconciliation.

integer format: int32
TransitInheritedAccessToOppositeEndpoint

When the child is an Association, whether inherited access continues to the opposite endpoint.

boolean
TransitOppositeEndpointEntityDefinitionId

Opposite endpoint entity definition id when transit is available.

string
nullable
TransitOppositeEndpointDisplayName

Opposite endpoint display name when transit is available.

string
nullable
RelationMaps

Relation mappings.

Array<object>
nullable

Read model for one inherited access relation map.

object
Id

Relation map id.

string
nullable
ParentEntityRelationDefinitionId

Parent relation definition id.

string
nullable
ParentEntityRelationDefinitionKey

Parent relation definition key.

string
nullable
ParentEntityRelationDefinitionDisplayName

Parent relation definition display name.

string
nullable
ChildEntityRelationDefinitionId

Child relation definition id.

string
nullable
ChildEntityRelationDefinitionKey

Child relation definition key.

string
nullable
ChildEntityRelationDefinitionDisplayName

Child relation definition display name.

string
nullable
IsEnabled

Whether the map is active.

boolean
SortOrder

Display order.

integer format: int32
RowVersion

Concurrency token.

string format: uuid
RowVersion

Concurrency token.

string format: uuid
AssociationBinding

Association endpoint and generated inverse binding metadata.

object
Id

Binding identifier.

string
nullable
EntityDefinitionId

Association entity definition identifier.

string
nullable
LeftEndpointEntityDefinitionId

Left endpoint target entity definition identifier.

string
nullable
RightEndpointEntityDefinitionId

Right endpoint target entity definition identifier.

string
nullable
LeftEndpointFieldId

Left required reference field on the association entity.

string
nullable
RightEndpointFieldId

Right required reference field on the association entity.

string
nullable
LeftInverseFieldId

Generated inverse field on the left endpoint entity.

string
nullable
RightInverseFieldId

Generated inverse field on the right endpoint entity.

string
nullable
Projection

Projection-entity configuration for one entity definition.

object
Id
string
nullable
EntityDefinitionId
string
nullable
ProjectionKind
integer format: int32
Allowed values: 0
IsEnabled
boolean
OpenBehavior
integer format: int32
Allowed values: 0
Members
Array<object>
nullable

Projection-entity source member configuration.

object
Id
string
nullable
ProjectionDefinitionId
string
nullable
ReferenceFieldId
string
nullable
ReferenceFieldKey
string
nullable
ReferenceFieldDisplayName
string
nullable
SourceEntityDefinitionId
string
nullable
SourceEntityDefinitionName
string
nullable
SourceEntityDefinitionDisplayName
string
nullable
MemberKey
string
nullable
DisplayName
string
nullable
SortOrder
integer format: int32
IsEnabled
boolean
RowVersion
string format: uuid
Mappings
Array<object>
nullable

Projection-entity field mapping rule.

object
Id
string
nullable
ProjectionDefinitionId
string
nullable
ProjectionMemberId
string
nullable
ReferenceFieldId
string
nullable
TargetKind
integer format: int32
Allowed values: 0 1 2
TargetFieldId
string
nullable
TargetFieldKey
string
nullable
TargetFieldDisplayName
string
nullable
SourcePath
Array<string>
nullable
TransformKind
integer format: int32
Allowed values: 0
TransformSettingsJson
string
nullable
SortOrder
integer format: int32
RowVersion
string format: uuid
RowVersion
string format: uuid
DefaultSort

Entity-level default runtime sort sequence.

Array<object>
nullable

Entity-level default runtime sort item.

object
Target

Typed target path for a runtime list query sort item.

object
Path

Reference path from the queried entity to the sortable terminal field or system field.

Array<object>
nullable

Reference to a runtime field by identifier, normalized key, or special query field.

object
FieldId

Field identifier or backend-issued synthetic system-field identifier.

string
nullable
FieldKey

Field key resolved through the runtime normalized-key index.

string
nullable
Special
integer format: int32
Allowed values: 0
StatementId

Statement identifier resolved through the runtime statement index.

string
nullable
StatementKey

Statement key resolved through the runtime normalized-key index.

string
nullable
ObjectContextFactId

Configured object-context fact identifier.

string
nullable
ObjectContextFactFilterKey

Provider-owned object-context fact filter facet key.

string
nullable
Direction
integer format: int32
Allowed values: 0 1
SortOrder

Default sort order.

integer format: int32
DisplayFields

Display-only computed fields available to table and card surfaces.

Array<object>
nullable

Display-only computed field metadata.

object
Id
string
nullable
EntityDefinitionId
string
nullable
Key
string
nullable
DisplayName
string
nullable
Rules
Array<object>
nullable

One ordered rule for a display-only computed field.

object
Id
string
nullable
EntityDisplayFieldId
string
nullable
Template
string
nullable
Condition
string
nullable
SortOrder
integer format: int32
IsDeleted
boolean
DeletedAt
string format: date-time
nullable
RowVersion
string format: uuid
SortOrder
integer format: int32
IsDeleted
boolean
DeletedAt
string format: date-time
nullable
RowVersion
string format: uuid
ObjectContextFacts

ID-only object-context facts materialized onto entity-instance read models.

Array<object>
nullable

Object-context fact configuration for one entity definition.

object
Id
string
nullable
ProviderKey
string
nullable
Target
object
ModuleKey
string
nullable
ResourceKind
string
nullable
ContextResourceId
string
nullable
ResourceObjectId
string
nullable
SortOrder
integer format: int32
RowVersion
string format: uuid
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"AuditTrailRetentionMode": 0,
"AccessModel": 0,
"DisabledOperations": 0,
"Tables": [
{
"Fields": [
{
"FieldType": 0,
"ReferenceDeleteBehavior": 0,
"AccessRules": [
{
"Subject": {
"SubjectType": 0
},
"AccessLevel": 0
}
],
"SchemaSource": 0,
"SystemRole": 0,
"VisibleWhenOperationMode": 0,
"RequiredWhenOperationMode": 0,
"EditableWhenOperationMode": 0,
"CalculationKind": 0,
"ReferenceArchiveBehavior": 0,
"ReferenceAuditRollupBehavior": 0,
"SemanticRole": 0
}
],
"SchemaSource": 0
}
],
"RelationDefinitions": [
{
"Semantic": 0,
"Cardinality": 0,
"SubjectMode": 0,
"ResponsibilityGroups": [
{
"Type": 0
}
]
}
],
"Permissions": [
{
"Scope": 0,
"Action": 0,
"Subject": {
"SubjectType": 0
}
}
],
"Statements": [
{
"SchemaSource": 0
}
],
"ValidationRules": [
{
"SchemaSource": 0
}
],
"PresentationRules": [
{
"Target": 0,
"SchemaSource": 0
}
],
"SchemaSource": 0,
"UsageType": 0,
"Projection": {
"ProjectionKind": 0,
"OpenBehavior": 0,
"Mappings": [
{
"TargetKind": 0,
"TransformKind": 0
}
]
},
"DefaultSort": [
{
"Target": {
"Path": [
{
"Special": 0
}
]
},
"Direction": 0
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Forbidden

Media typeapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/json
object
Data

Full entity definition detail.

object
Id

Entity definition identifier.

string
nullable
Name

Internal entity name.

string
nullable
DisplayNameSingular

User-facing singular name.

string
nullable
DisplayNamePlural

User-facing plural name.

string
nullable
Description

Optional entity description.

string
nullable
CommentsEnabled

Whether comments are enabled.

boolean
AttachmentsEnabled

Whether attachments are enabled.

boolean
TagsEnabled

Whether tags are enabled.

boolean
FullTextSearchEnabled

Whether full-text search is enabled for the definition.

boolean
AuditTrailEnabled

Whether audit trail is enabled.

boolean
AuditTrailRetentionMode
integer format: int32
Allowed values: 0 1 2
AuditTrailRetentionDays

Retention days when mode is days-based.

integer format: int32
nullable
AccessModel
integer format: int32
Allowed values: 0 1 2 3
NumberPrefix

Configured number prefix.

string
nullable
IsReadOnly

Whether runtime writes are blocked for this entity.

boolean
DisabledOperations
integer format: int32
Allowed values: 0 1 2 4 8 16 32 64 128
IsPendingDeletion

Whether the definition is frozen pending deletion.

boolean
DeletionRequestedAt

Timestamp when deferred deletion was requested.

string format: date-time
nullable
PurgeAfterUtc

Scheduled purge timestamp.

string format: date-time
nullable
Tables

Definition tables.

Array<object>
nullable

Metadata for one physical table used by an entity definition.

object
Id

Table metadata identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
Name

Logical table name.

string
nullable
SchemaName

Database schema name.

string
nullable
PhysicalTableName

Physical table name.

string
nullable
IsPrimary

Whether this is the primary entity table.

boolean
OwnerFieldId

Owner field identifier for child tables.

string
nullable
Fields

Fields that belong to the table.

Array<object>
nullable

Metadata for one entity field definition.

object
Id

Field identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
EntityDefinitionTableId

Entity definition table identifier.

string
nullable
Key

Field key.

string
nullable
DisplayName

Field display name.

string
nullable
FieldType
integer format: int32
Allowed values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
VisibleWhen

Visibility condition expression.

string
nullable
RequiredWhen

Requiredness condition expression.

string
nullable
BusinessRequiredWhen

Package-owned business requiredness condition expression.

string
nullable
EditableWhen

Editability condition expression.

string
nullable
IsReadOnly

Whether runtime writes should skip this field.

boolean
ExcludeFromFullTextSearch

Whether the field is explicitly excluded from full-text search.

boolean
DecimalPrecision

Decimal precision when applicable.

integer format: int32
nullable
DecimalScale

Decimal scale when applicable.

integer format: int32
nullable
StringMaxLength

String max length when applicable.

integer format: int32
nullable
AllowMultiple

Whether multiple values are allowed.

boolean
ReferenceToEntityDefinitionId

Target entity definition identifier for reference-style fields.

string
nullable
PairedReferenceFieldId

Paired reference field identifier for inverse reference fields.

string
nullable
AllowSort

Whether root-list sorting by linked display value is allowed.

boolean
ReferenceDeleteBehavior
integer format: int32
Allowed values: 0 1
SortOrder

Sort order inside the owning table.

integer format: int32
Options

Select options when applicable.

Array<object>
nullable

Option metadata for select fields.

object
Id

Option identifier.

string
nullable
EntityFieldDefinitionId

Owning field identifier.

string
nullable
Key

Option key.

string
nullable
Value

Option display value.

string
nullable
SortOrder

Sort order.

integer format: int32
AccessRules

Explicit field access overrides.

Array<object>
nullable

Explicit field access override for one subject.

object
Id

Rule identifier.

string
nullable
EntityFieldDefinitionId

Field identifier.

string
nullable
Subject

Resolved permission subject metadata.

object
SubjectType
integer format: int32
Allowed values: 0 1 2 3
SubjectId

Subject identifier.

string
nullable
DisplayName

Resolved display name.

string
nullable
Description

Optional secondary description.

string
nullable
AccessLevel
integer format: int32
Allowed values: 0 1 2 3
Order

Ascending evaluation order.

integer format: int32
RowVersion

Concurrency token.

string format: uuid
ChildTableId

Child table metadata identifier for table fields.

string
nullable
IsDeleted

Whether the field is soft-deleted.

boolean
DeletedAt

Deletion timestamp.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
AddressCoordinatesRequired

Whether address values must carry latitude and longitude.

boolean
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
Metadata

Owner-scoped metadata attached to this field.

Array<object>
nullable

Owner-scoped metadata attached to one entity field definition.

object
Id

Metadata row identifier.

string
nullable
EntityFieldDefinitionId

Owning field identifier.

string
nullable
OwnerModuleKey

Module that owns this metadata key.

string
nullable
Key

Metadata key inside the owner module.

string
nullable
ValueJson

Metadata value as JSON.

object
RowVersion

Concurrency token.

string format: uuid
SystemRole
integer format: int32
Allowed values: 0 1 2 3 4 5
VisibleWhenOperationMode
integer format: int32
Allowed values: 0 1 2
RequiredWhenOperationMode
integer format: int32
Allowed values: 0 1 2
EditableWhenOperationMode
integer format: int32
Allowed values: 0 1 2
BaseCurrencyCode

Base currency code for Money fields.

string
nullable
CalculationExpression

Stored calculated-field expression.

string
nullable
CalculationKind
integer format: int32
Allowed values: 0 1
ReferenceArchiveBehavior
integer format: int32
Allowed values: 0 1
ReferenceAuditRollupBehavior
integer format: int32
Allowed values: 0 1
SemanticRole
integer format: int32
Allowed values: 0 1 2
SemanticRoleScopeFieldId

Field identifier used as semantic scope, when the selected role requires one.

string
nullable
IsDeleted

Whether the table metadata is soft-deleted.

boolean
DeletedAt

Deletion timestamp.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
RelationDefinitions

Configured relation definitions.

Array<object>
nullable

Entity relation definition metadata.

object
Id

Relation definition identifier.

string
nullable
EntityDefinitionId

Owning entity definition identifier.

string
nullable
Key

Internal key.

string
nullable
DisplayName

User-facing display name.

string
nullable
Semantic
integer format: int32
Allowed values: 0 1 2 3 4
Cardinality
integer format: int32
Allowed values: 0 1
IsRequired

Whether runtime assignments will be required.

boolean
SubjectMode
integer format: int32
Allowed values: 0 1 2
ResponsibilityGroups

Eligible responsibility groups for assignments on this relation.

Array<object>
nullable

Summary projection for one responsibility group.

object
Id

Group identifier.

string
nullable
Code

Optional code-facing identifier.

string
nullable
Name

Display name.

string
nullable
Type
integer format: int32
Allowed values: 0 1 2 3 4 5
Description

Optional description.

string
nullable
UserCount

Assigned member count.

integer format: int32
RowVersion

Concurrency token.

string format: uuid
SortOrder

Ascending sort order.

integer format: int32
IsDeleted

Whether the relation definition is soft-deleted.

boolean
DeletedAt

Deletion timestamp.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
Permissions

Subject-based permissions for the entity.

Array<object>
nullable

Entity permission entry for one subject.

object
Id

Permission identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
Scope
integer format: int32
Allowed values: 0 1 2 3
Action
integer format: int32
Allowed values: 0 1 2 3 4 5 6 7 8 9 10
Subject

Resolved permission subject metadata.

object
SubjectType
integer format: int32
Allowed values: 0 1 2 3
SubjectId

Subject identifier.

string
nullable
DisplayName

Resolved display name.

string
nullable
Description

Optional secondary description.

string
nullable
TargetEntityRelationDefinitionId

Optional target relation definition for assignment-update permissions.

string
nullable
Order

Ascending evaluation order.

integer format: int32
RowVersion

Concurrency token.

string format: uuid
UniqueConstraints

Configured unique constraints.

Array<object>
nullable

Unique constraint configured for one entity definition table.

object
Id

Constraint identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
EntityDefinitionTableId

Owning table identifier.

string
nullable
Fields

Ordered participating fields.

Array<object>
nullable

Field entry participating in an entity unique constraint.

object
Id

Field identifier.

string
nullable
EntityDefinitionTableId

Owning table identifier.

string
nullable
Key

Field key.

string
nullable
DisplayName

User-facing field name.

string
nullable
RowVersion

Concurrency token.

string format: uuid
Indexes

Configured non-unique indexes.

Array<object>
nullable

Non-unique index configured for one entity definition table.

object
Id

Index identifier.

string
nullable
EntityDefinitionId

Entity definition identifier.

string
nullable
EntityDefinitionTableId

Owning table identifier.

string
nullable
Fields

Ordered participating fields.

Array<object>
nullable

Field participating in one definition index.

object
Id

Field identifier.

string
nullable
EntityDefinitionTableId

Owning table identifier.

string
nullable
Key

Internal field key.

string
nullable
DisplayName

User-facing field name.

string
nullable
RowVersion

Concurrency token.

string format: uuid
Statements

Configured entity statements.

Array<object>
nullable

Administrative entity statement definition.

object
Id

Statement identifier.

string
nullable
EntityDefinitionId

Owning entity definition identifier.

string
nullable
Name

Stable technical statement key.

string
nullable
DisplayName

User-facing statement label.

string
nullable
Expression

Stored SQL-like statement expression.

string
nullable
ExposeInClient

Whether runtime payloads expose this statement as a predicate flag.

boolean
SortOrder

Statement ordering inside the entity definition.

integer format: int32
IsDeleted

Whether the statement is soft-deleted.

boolean
DeletedAt

Soft-delete timestamp when deleted.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
ValidationRules

Configured entity validation rules.

Array<object>
nullable

Administrative entity validation rule definition.

object
Id

Validation rule identifier.

string
nullable
EntityDefinitionId

Owning entity definition identifier.

string
nullable
Name

Stable technical validation rule key.

string
nullable
DisplayName

User-facing validation rule label.

string
nullable
Expression

Validation expression.

string
nullable
Message

User-facing validation failure message.

string
nullable
MessageTranslations

Optional localized validation failure message templates keyed by locale.

object
key
additional properties
string
Enabled

Whether this validation rule is active.

boolean
SortOrder

Validation rule ordering inside the entity definition.

integer format: int32
IsDeleted

Whether the validation rule is soft-deleted.

boolean
DeletedAt

Soft-delete timestamp when deleted.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
PresentationRules

Configured entity presentation rules.

Array<object>
nullable

Metadata for one entity presentation rule.

object
Id

Presentation rule identifier.

string
nullable
EntityDefinitionId

Owning entity definition identifier.

string
nullable
Target
integer format: int32
Allowed values: 0 1
Template

Stored render template.

string
nullable
Condition

Stored rule condition expression.

string
nullable
SortOrder

Stable ordering inside one presentation slot.

integer format: int32
IsDeleted

Whether the rule is soft-deleted.

boolean
DeletedAt

Soft-delete timestamp when deleted.

string format: date-time
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
RowVersion

Concurrency token.

string format: uuid
SchemaSource
integer format: int32
Allowed values: 0 1
SourceNetPackageId

Stable NET package root id when package-owned.

string
nullable
SourcePackageId

NET package artifact id when package-owned.

string
nullable
SourceStableId

Stable Moltaro id when package-owned.

string
nullable
UsageType
integer format: int32
Allowed values: 0 1 2
OwnerModuleKey

Owning module key when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.

string
nullable
OwnerAggregateType

Owning aggregate type when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.

string
nullable
OwnerAggregateId

Owning aggregate identifier when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.

string
nullable
AccessInheritancePolicy

Read model for contained parent access inheritance policy.

object
Id

Policy id.

string
nullable
ChildEntityDefinitionId

Child entity definition id.

string
nullable
ParentEntityDefinitionId

Parent entity definition id.

string
nullable
ParentEntityDisplayName

Parent entity display name.

string
nullable
AccessParentReferenceFieldId

Parent reference field id on the child entity.

string
nullable
AccessParentReferenceFieldKey

Parent reference field key.

string
nullable
AccessParentReferenceFieldDisplayName

Parent reference field display name.

string
nullable
IsEnabled

Whether the policy is active.

boolean
MaxPropagationDepth

Maximum propagation depth stored for future reconciliation.

integer format: int32
TransitInheritedAccessToOppositeEndpoint

When the child is an Association, whether inherited access continues to the opposite endpoint.

boolean
TransitOppositeEndpointEntityDefinitionId

Opposite endpoint entity definition id when transit is available.

string
nullable
TransitOppositeEndpointDisplayName

Opposite endpoint display name when transit is available.

string
nullable
RelationMaps

Relation mappings.

Array<object>
nullable

Read model for one inherited access relation map.

object
Id

Relation map id.

string
nullable
ParentEntityRelationDefinitionId

Parent relation definition id.

string
nullable
ParentEntityRelationDefinitionKey

Parent relation definition key.

string
nullable
ParentEntityRelationDefinitionDisplayName

Parent relation definition display name.

string
nullable
ChildEntityRelationDefinitionId

Child relation definition id.

string
nullable
ChildEntityRelationDefinitionKey

Child relation definition key.

string
nullable
ChildEntityRelationDefinitionDisplayName

Child relation definition display name.

string
nullable
IsEnabled

Whether the map is active.

boolean
SortOrder

Display order.

integer format: int32
RowVersion

Concurrency token.

string format: uuid
RowVersion

Concurrency token.

string format: uuid
AssociationBinding

Association endpoint and generated inverse binding metadata.

object
Id

Binding identifier.

string
nullable
EntityDefinitionId

Association entity definition identifier.

string
nullable
LeftEndpointEntityDefinitionId

Left endpoint target entity definition identifier.

string
nullable
RightEndpointEntityDefinitionId

Right endpoint target entity definition identifier.

string
nullable
LeftEndpointFieldId

Left required reference field on the association entity.

string
nullable
RightEndpointFieldId

Right required reference field on the association entity.

string
nullable
LeftInverseFieldId

Generated inverse field on the left endpoint entity.

string
nullable
RightInverseFieldId

Generated inverse field on the right endpoint entity.

string
nullable
Projection

Projection-entity configuration for one entity definition.

object
Id
string
nullable
EntityDefinitionId
string
nullable
ProjectionKind
integer format: int32
Allowed values: 0
IsEnabled
boolean
OpenBehavior
integer format: int32
Allowed values: 0
Members
Array<object>
nullable

Projection-entity source member configuration.

object
Id
string
nullable
ProjectionDefinitionId
string
nullable
ReferenceFieldId
string
nullable
ReferenceFieldKey
string
nullable
ReferenceFieldDisplayName
string
nullable
SourceEntityDefinitionId
string
nullable
SourceEntityDefinitionName
string
nullable
SourceEntityDefinitionDisplayName
string
nullable
MemberKey
string
nullable
DisplayName
string
nullable
SortOrder
integer format: int32
IsEnabled
boolean
RowVersion
string format: uuid
Mappings
Array<object>
nullable

Projection-entity field mapping rule.

object
Id
string
nullable
ProjectionDefinitionId
string
nullable
ProjectionMemberId
string
nullable
ReferenceFieldId
string
nullable
TargetKind
integer format: int32
Allowed values: 0 1 2
TargetFieldId
string
nullable
TargetFieldKey
string
nullable
TargetFieldDisplayName
string
nullable
SourcePath
Array<string>
nullable
TransformKind
integer format: int32
Allowed values: 0
TransformSettingsJson
string
nullable
SortOrder
integer format: int32
RowVersion
string format: uuid
RowVersion
string format: uuid
DefaultSort

Entity-level default runtime sort sequence.

Array<object>
nullable

Entity-level default runtime sort item.

object
Target

Typed target path for a runtime list query sort item.

object
Path

Reference path from the queried entity to the sortable terminal field or system field.

Array<object>
nullable

Reference to a runtime field by identifier, normalized key, or special query field.

object
FieldId

Field identifier or backend-issued synthetic system-field identifier.

string
nullable
FieldKey

Field key resolved through the runtime normalized-key index.

string
nullable
Special
integer format: int32
Allowed values: 0
StatementId

Statement identifier resolved through the runtime statement index.

string
nullable
StatementKey

Statement key resolved through the runtime normalized-key index.

string
nullable
ObjectContextFactId

Configured object-context fact identifier.

string
nullable
ObjectContextFactFilterKey

Provider-owned object-context fact filter facet key.

string
nullable
Direction
integer format: int32
Allowed values: 0 1
SortOrder

Default sort order.

integer format: int32
DisplayFields

Display-only computed fields available to table and card surfaces.

Array<object>
nullable

Display-only computed field metadata.

object
Id
string
nullable
EntityDefinitionId
string
nullable
Key
string
nullable
DisplayName
string
nullable
Rules
Array<object>
nullable

One ordered rule for a display-only computed field.

object
Id
string
nullable
EntityDisplayFieldId
string
nullable
Template
string
nullable
Condition
string
nullable
SortOrder
integer format: int32
IsDeleted
boolean
DeletedAt
string format: date-time
nullable
RowVersion
string format: uuid
SortOrder
integer format: int32
IsDeleted
boolean
DeletedAt
string format: date-time
nullable
RowVersion
string format: uuid
ObjectContextFacts

ID-only object-context facts materialized onto entity-instance read models.

Array<object>
nullable

Object-context fact configuration for one entity definition.

object
Id
string
nullable
ProviderKey
string
nullable
Target
object
ModuleKey
string
nullable
ResourceKind
string
nullable
ContextResourceId
string
nullable
ResourceObjectId
string
nullable
SortOrder
integer format: int32
RowVersion
string format: uuid
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Data": {
"AuditTrailRetentionMode": 0,
"AccessModel": 0,
"DisabledOperations": 0,
"Tables": [
{
"Fields": [
{
"FieldType": 0,
"ReferenceDeleteBehavior": 0,
"AccessRules": [
{
"Subject": {
"SubjectType": 0
},
"AccessLevel": 0
}
],
"SchemaSource": 0,
"SystemRole": 0,
"VisibleWhenOperationMode": 0,
"RequiredWhenOperationMode": 0,
"EditableWhenOperationMode": 0,
"CalculationKind": 0,
"ReferenceArchiveBehavior": 0,
"ReferenceAuditRollupBehavior": 0,
"SemanticRole": 0
}
],
"SchemaSource": 0
}
],
"RelationDefinitions": [
{
"Semantic": 0,
"Cardinality": 0,
"SubjectMode": 0,
"ResponsibilityGroups": [
{
"Type": 0
}
]
}
],
"Permissions": [
{
"Scope": 0,
"Action": 0,
"Subject": {
"SubjectType": 0
}
}
],
"Statements": [
{
"SchemaSource": 0
}
],
"ValidationRules": [
{
"SchemaSource": 0
}
],
"PresentationRules": [
{
"Target": 0,
"SchemaSource": 0
}
],
"SchemaSource": 0,
"UsageType": 0,
"Projection": {
"ProjectionKind": 0,
"OpenBehavior": 0,
"Mappings": [
{
"TargetKind": 0,
"TransformKind": 0
}
]
},
"DefaultSort": [
{
"Target": {
"Path": [
{
"Special": 0
}
]
},
"Direction": 0
}
]
},
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}