schemas/whiteboard library
Apple's whiteboard App Schemas, as typed annotations.
Annotate a class with an entity annotation, such as
@WhiteboardBoard(...), and its fields with
@WhiteboardBoardField.<member>.
Classes
- WhiteboardBoard
-
Adopts Apple's
whiteboard.boardschema ("Board", iOS 18+, macOS 15+). - WhiteboardBoardField
-
Members of
whiteboard.board, used as field annotations:@WhiteboardBoardField.title …. - WhiteboardBoardSchema
-
Marks members of
whiteboard.board. - WhiteboardColor
-
whiteboard.color("Color"), whose cases the app defines: put@WhiteboardColor()on a Dart enum, and each of its values becomes a case Siri can use. - WhiteboardItem
-
Adopts Apple's
whiteboard.itemschema ("Item", iOS 18+, macOS 15+). - WhiteboardItemField
-
Members of
whiteboard.item, used as field annotations:@WhiteboardItemField.label …. - WhiteboardItemSchema
-
Marks members of
whiteboard.item. - WhiteboardItemType
-
whiteboard.itemType("Item Type"), whose cases the app defines: put@WhiteboardItemType()on a Dart enum, and each of its values becomes a case Siri can use.