{
  "schema": "miscsubjects/blocks/1",
  "version": 1,
  "kinds": {
    "content": {
      "types": [
        "paragraph",
        "heading",
        "list",
        "checklist",
        "code",
        "quote",
        "image",
        "table",
        "divider"
      ],
      "about": "words and layout; renders, never acts"
    },
    "proposal": {
      "about": "an operation that has not run",
      "fields": [
        "op",
        "input",
        "adapter?",
        "binding",
        "state: proposed|pending|succeeded|failed|uncertain|refused|unavailable|invalid",
        "execution_id",
        "object_ref",
        "receipt_ref"
      ]
    },
    "object": {
      "about": "a reference to a real application object",
      "fields": [
        "ref.id",
        "component",
        "object (state read live)",
        "ops"
      ]
    },
    "receipt": {
      "about": "immutable record of one invocation",
      "fields": [
        "execution_id",
        "ledger_refs"
      ]
    }
  },
  "tags": {
    "TASK": {
      "op": "task.create",
      "type": "task",
      "main_field": "title",
      "adapter": null,
      "written_as": "[TASK]title: …[/TASK]"
    },
    "REMINDER": {
      "op": "task.create",
      "type": "task",
      "main_field": "title",
      "adapter": "apple_reminders",
      "written_as": "[REMINDER]title: …[/REMINDER]"
    },
    "NOTE": {
      "op": "note.create",
      "type": "note",
      "main_field": "title",
      "adapter": "apple_notes",
      "written_as": "[NOTE]title: …[/NOTE]"
    },
    "EVENT": {
      "op": "event.create",
      "type": "event",
      "main_field": "title",
      "adapter": null,
      "written_as": "[EVENT]title: …[/EVENT]"
    },
    "INVITE": {
      "op": "invitation.create",
      "type": "invitation",
      "main_field": "title",
      "adapter": null,
      "written_as": "[INVITE]title: …[/INVITE]"
    },
    "BOOKING": {
      "op": "booking.create",
      "type": "booking",
      "main_field": "slot",
      "adapter": "calendly",
      "written_as": "[BOOKING]slot: …[/BOOKING]"
    },
    "CONTACT": {
      "op": "contact.create",
      "type": "contact",
      "main_field": "name",
      "adapter": null,
      "written_as": "[CONTACT]name: …[/CONTACT]"
    },
    "PRODUCT": {
      "op": "product.create",
      "type": "product",
      "main_field": "title",
      "adapter": null,
      "written_as": "[PRODUCT]title: …[/PRODUCT]"
    },
    "THREAD": {
      "op": "thread.create",
      "type": "thread",
      "main_field": "title",
      "adapter": null,
      "written_as": "[THREAD]title: …[/THREAD]"
    },
    "TERMINAL": {
      "op": "terminal.run",
      "type": "terminal_run",
      "main_field": "command",
      "adapter": null,
      "written_as": "[TERMINAL]command: …[/TERMINAL]"
    },
    "ALFRED": {
      "op": "alfred.trigger",
      "type": "alfred_run",
      "main_field": "trigger",
      "adapter": null,
      "written_as": "[ALFRED]trigger: …[/ALFRED]"
    },
    "MAIL": {
      "op": "mail.compose",
      "type": "draft",
      "main_field": "body",
      "adapter": "apple_mail",
      "written_as": "[MAIL]body: …[/MAIL]"
    },
    "SHORTCUT": {
      "op": "shortcut.run",
      "type": "shortcut_run",
      "main_field": "name",
      "adapter": "apple_shortcuts",
      "written_as": "[SHORTCUT]name: …[/SHORTCUT]"
    },
    "TRELLO-CARD": {
      "op": "card.create",
      "type": "card",
      "main_field": "name",
      "adapter": "trello",
      "written_as": "[TRELLO-CARD]name: …[/TRELLO-CARD]"
    },
    "TODOIST": {
      "op": "task.create",
      "type": "task",
      "main_field": "content",
      "adapter": "todoist",
      "written_as": "[TODOIST]content: …[/TODOIST]"
    },
    "NOTION-PAGE": {
      "op": "page.create",
      "type": "page",
      "main_field": "title",
      "adapter": "notion",
      "written_as": "[NOTION-PAGE]title: …[/NOTION-PAGE]"
    },
    "LINEAR-ISSUE": {
      "op": "issue.create",
      "type": "issue",
      "main_field": "title",
      "adapter": "linear",
      "written_as": "[LINEAR-ISSUE]title: …[/LINEAR-ISSUE]"
    },
    "SLACK": {
      "op": "message.post",
      "type": "message",
      "main_field": "text",
      "adapter": "slack",
      "written_as": "[SLACK]text: …[/SLACK]"
    },
    "IMESSAGE": {
      "op": "imessage.open",
      "type": "imessage",
      "main_field": "chat",
      "adapter": "messages",
      "written_as": "[IMESSAGE]chat: …[/IMESSAGE]"
    },
    "WHATSAPP": {
      "op": "whatsapp.send",
      "type": "whatsapp",
      "main_field": "text",
      "adapter": "whatsapp",
      "written_as": "[WHATSAPP]text: …[/WHATSAPP]"
    },
    "TELEGRAM": {
      "op": "telegram.send",
      "type": "telegram",
      "main_field": "text",
      "adapter": "telegram",
      "written_as": "[TELEGRAM]text: …[/TELEGRAM]"
    },
    "SHEET": {
      "op": "sheet.read",
      "type": "sheet",
      "main_field": "range",
      "adapter": "google_sheets",
      "written_as": "[SHEET]range: …[/SHEET]"
    },
    "APPLESCRIPT": {
      "op": "script.run",
      "type": "script_run",
      "main_field": "source",
      "adapter": "scripts",
      "written_as": "[APPLESCRIPT]source: …[/APPLESCRIPT]"
    },
    "JXA": {
      "op": "script.run",
      "type": "script_run",
      "main_field": "source",
      "adapter": "scripts",
      "written_as": "[JXA]source: …[/JXA]"
    },
    "MAC": {
      "op": "mac.status",
      "type": "mac_status",
      "main_field": "note",
      "adapter": "mac",
      "written_as": "[MAC]note: …[/MAC]"
    },
    "FOLDER": {
      "op": "folder.list",
      "type": "folder",
      "main_field": "path",
      "adapter": "finder",
      "written_as": "[FOLDER]path: …[/FOLDER]"
    },
    "SCREENSHOT": {
      "op": "photo.screenshot",
      "type": "photo",
      "main_field": "caption",
      "adapter": "photos",
      "written_as": "[SCREENSHOT]caption: …[/SCREENSHOT]"
    },
    "PRICE": {
      "op": "quote.read",
      "type": "quote",
      "main_field": "symbol",
      "adapter": "markets",
      "written_as": "[PRICE]symbol: …[/PRICE]"
    },
    "STARLINK": {
      "op": "dish.read",
      "type": "dish",
      "main_field": "note",
      "adapter": "starlink",
      "written_as": "[STARLINK]note: …[/STARLINK]"
    },
    "CLOCK": {
      "op": "clock.read",
      "type": "clock",
      "main_field": "label",
      "adapter": "clock",
      "written_as": "[CLOCK]label: …[/CLOCK]"
    },
    "MAP": {
      "op": "place.search",
      "type": "place",
      "main_field": "q",
      "adapter": "maps",
      "written_as": "[MAP]q: …[/MAP]"
    },
    "PLACE": {
      "op": "place.search",
      "type": "place",
      "main_field": "q",
      "adapter": "maps",
      "written_as": "[PLACE]q: …[/PLACE]"
    },
    "WIKI": {
      "op": "wiki.read",
      "type": "wiki",
      "main_field": "title",
      "adapter": "wikipedia",
      "written_as": "[WIKI]title: …[/WIKI]"
    },
    "SAFARI": {
      "op": "webpage.read",
      "type": "webpage",
      "main_field": "url",
      "adapter": "safari",
      "written_as": "[SAFARI]url: …[/SAFARI]"
    },
    "NOTIFY": {
      "op": "notification.post",
      "type": "notification",
      "main_field": "title",
      "adapter": "notifications",
      "written_as": "[NOTIFY]title: …[/NOTIFY]"
    },
    "SAY": {
      "op": "speech.say",
      "type": "speech",
      "main_field": "text",
      "adapter": "speech",
      "written_as": "[SAY]text: …[/SAY]"
    },
    "X-POST": {
      "op": "post.publish",
      "type": "post",
      "main_field": "text",
      "adapter": "x",
      "written_as": "[X-POST]text: …[/X-POST]"
    },
    "EMAIL": {
      "op": "email.send",
      "type": "email",
      "main_field": "text",
      "adapter": "email",
      "written_as": "[EMAIL]text: …[/EMAIL]"
    },
    "GOOGLE-TASK": {
      "op": "task.create",
      "type": "task",
      "main_field": "title",
      "adapter": "google_tasks",
      "written_as": "[GOOGLE-TASK]title: …[/GOOGLE-TASK]"
    },
    "THINGS": {
      "op": "task.create",
      "type": "task",
      "main_field": "title",
      "adapter": "things",
      "written_as": "[THINGS]title: …[/THINGS]"
    },
    "GOOGLE-EVENT": {
      "op": "event.create",
      "type": "event",
      "main_field": "title",
      "adapter": "google_calendar",
      "written_as": "[GOOGLE-EVENT]title: …[/GOOGLE-EVENT]"
    },
    "APPLE-EVENT": {
      "op": "event.create",
      "type": "event",
      "main_field": "title",
      "adapter": "apple_calendar",
      "written_as": "[APPLE-EVENT]title: …[/APPLE-EVENT]"
    },
    "AUTOMATIONS": {
      "op": "automation.list",
      "type": "automation",
      "main_field": "note",
      "adapter": "automations",
      "written_as": "[AUTOMATIONS]note: …[/AUTOMATIONS]"
    },
    "OBJECT": {
      "op": "object.op",
      "type": "object",
      "main_field": "instruction",
      "adapter": null,
      "written_as": "[OBJECT]instruction: …[/OBJECT]"
    }
  },
  "states": [
    "proposed",
    "pending",
    "succeeded",
    "failed",
    "uncertain",
    "refused",
    "unavailable",
    "invalid"
  ],
  "sync_states": [
    "current",
    "stale",
    "pending",
    "uncertain",
    "failed",
    "unavailable"
  ],
  "statuses": [
    "active",
    "completed",
    "archived",
    "cancelled",
    "deleted",
    "unavailable"
  ]
}