Readonly~@dxos/echo/ReadonlycontentThe .mdl text; owned, so it is deleted with the spec.
Optional ReadonlydescriptionReadonlydialectsThe ids of the dialect specs whose blocks the text uses, as a .mdl file lists them in its front matter's
extends. Empty means the core and changelog blocks only.
ReadonlyidReadonlynameStatic Readonly~@dxos/echo/Entity-kind brand of the type-entity value itself — always EntityKind.Type.
The kind of instance the type describes lives on [SchemaKindId]
(Object / Relation / Type). Lets Obj.isObject / Relation.isRelation
reject type entities by a single [KindId] check.
Static Readonly~@dxos/echo/Schema-kind brand (object).
Static Optional Readonly~@dxos/echo/Static Readonly~@dxos/echo/Source Effect Schema — used internally by Type.getSchema(self).
Static ReadonlyfieldsThe fields defined in the original struct schema. Allows accessing field definitions for introspection.
Static ReadonlyidObject id. Like all ECHO entities, type entities always carry an id —
stamped at construction for in-memory (static) declarations and assigned by
the database once persisted. The id does NOT determine the entity's URI:
static types resolve to their typename DXN, persisted types to echo:///<id>
(see getTypeURIFromSpecifier).
Static ReadonlyjsonStatic Optional Readonlyname
A spec: normative
.mdltext that its project's work delivers. Its dialects say which block kinds beyond the core and changelog ones the text uses, which a plugin then extracts into objects of its own and keeps as annotations on the spec. A project owns its specs (Project.specs), so a spec is not a type of its own in a space. A.mdlfile's front matter is the spec's fields and meta rather than its text:nameisname,idandversionare the meta'skeyandversion.