{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Widget",
  "title": "Widget",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Widget ID of the entity",
      "example": "6a59e2f5-3d3d-475a-91f7-d24ac25a614b"
    },
    "type": {
      "type": "string",
      "description": "Type of the widget. One of 'start', 'action', and 'end'",
      "example": "start"
    },
    "label": {
      "type": "string",
      "description": "Label of the widget",
      "example": "New Activity Widget in Diagram"
    },
    "widgetType": {
      "type": "string",
      "description": "Either 'activity' or 'link'",
      "example": "activity"
    }
  }
}