LearnReferenceExamples
LearnReferenceExamples
  • API Reference
    • @tldraw/editor

    • @tldraw/store

    • tldraw

    • @tldraw/tlschema

    • @tldraw/validate

Close
API Reference / @tldraw/tlschema

@tldraw/tlschema

  • arrowBindingMigrations
  • arrowBindingProps
  • ArrowShapeArrowheadEndStyle
  • ArrowShapeArrowheadStartStyle
  • arrowShapeMigrations
  • arrowShapeProps
  • assetIdValidator
  • assetMigrations
  • AssetRecordType
  • assetValidator
  • bindingIdValidator
  • bookmarkShapeMigrations
  • bookmarkShapeProps
  • BoxModel
  • boxModelValidator
  • CameraRecordType
  • canvasUiColorTypeValidator
  • createAssetValidator
  • createBindingId
  • createBindingPropsMigrationIds
  • createBindingPropsMigrationSequence
  • createBindingValidator
  • createPresenceStateDerivation
  • createShapeId
  • createShapePropsMigrationIds
  • createShapePropsMigrationSequence
  • createShapeValidator
  • createTLSchema
  • DefaultColorStyle
  • DefaultColorThemePalette
  • DefaultDashStyle
  • DefaultFillStyle
  • DefaultFontFamilies
  • DefaultFontStyle
  • DefaultHorizontalAlignStyle
  • defaultShapeSchemas
  • DefaultSizeStyle
  • DefaultTextAlignStyle
  • DefaultVerticalAlignStyle
  • DocumentRecordType
  • drawShapeMigrations
  • drawShapeProps
  • EMBED_DEFINITIONS
  • EmbedDefinition
  • embedShapeMigrations
  • embedShapePermissionDefaults
  • embedShapeProps
  • EnumStyleProp
  • frameShapeMigrations
  • frameShapeProps
  • GeoShapeGeoStyle
  • geoShapeMigrations
  • geoShapeProps
  • getDefaultColorTheme
  • getDefaultTranslationLocale
  • groupShapeMigrations
  • groupShapeProps
  • highlightShapeMigrations
  • highlightShapeProps
  • idValidator
  • imageShapeMigrations
  • imageShapeProps
  • InstancePageStateRecordType
  • InstancePresenceRecordType
  • isBinding
  • isBindingId
  • isPageId
  • isShape
  • isShapeId
  • LANGUAGES
  • lineShapeMigrations
  • lineShapeProps
  • LineShapeSplineStyle
  • noteShapeMigrations
  • noteShapeProps
  • opacityValidator
  • pageIdValidator
  • PageRecordType
  • parentIdValidator
  • PointerRecordType
  • RecordProps
  • RecordPropsType
  • rootBindingMigrations
  • rootShapeMigrations
  • SchemaPropsInfo
  • scribbleValidator
  • shapeIdValidator
  • StyleProp
  • StylePropValue
  • textShapeMigrations
  • textShapeProps
  • TL_CANVAS_UI_COLOR_TYPES
  • TLArrowBinding
  • TLArrowBindingProps
  • TLArrowShape
  • TLArrowShapeArrowheadStyle
  • TLArrowShapeProps
  • TLAsset
  • TLAssetId
  • TLAssetPartial
  • TLAssetShape
  • TLBaseAsset
  • TLBaseBinding
  • TLBaseShape
  • TLBinding
  • TLBindingId
  • TLBindingPartial
  • TLBookmarkAsset
  • TLBookmarkShape
  • TLCamera
  • TLCameraId
  • TLCanvasUiColor
  • TLCursor
  • TLCursorType
  • TLDefaultBinding
  • TLDefaultColorStyle
  • TLDefaultColorTheme
  • TLDefaultColorThemeColor
  • TLDefaultDashStyle
  • TLDefaultFillStyle
  • TLDefaultFontStyle
  • TLDefaultHorizontalAlignStyle
  • TLDefaultShape
  • TLDefaultSizeStyle
  • TLDefaultTextAlignStyle
  • TLDefaultVerticalAlignStyle
  • TLDOCUMENT_ID
  • TLDocument
  • TLDrawShape
  • TLDrawShapeSegment
  • TLEmbedShape
  • TLEmbedShapePermissions
  • TLFrameShape
  • TLGeoShape
  • TLGroupShape
  • TLHandle
  • TLHandleType
  • TLHighlightShape
  • TLImageAsset
  • TLImageShape
  • TLImageShapeCrop
  • TLImageShapeProps
  • TLINSTANCE_ID
  • TLInstance
  • TLInstanceId
  • TLInstancePageState
  • TLInstancePresence
  • TLLanguage
  • TLLineShape
  • TLNoteShape
  • TLOpacityType
  • TLPage
  • TLPageId
  • TLParentId
  • TLPOINTER_ID
  • TLPropsMigration
  • TLPropsMigrations
  • TLRecord
  • TLSchema
  • TLScribble
  • TLSerializedStore
  • TLShape
  • TLShapeId
  • TLShapePartial
  • TLStore
  • TLStoreProps
  • TLStoreSchema
  • TLStoreSnapshot
  • TLTextShape
  • TLTextShapeProps
  • TLUnknownBinding
  • TLUnknownShape
  • TLVideoAsset
  • TLVideoShape
  • VecModel
  • vecModelValidator
  • videoShapeMigrations
  • videoShapeProps

tldraw © 2025