I'm using Umbraco 14.2 and want to add a custom 'entityAction' to the context menu for specific content types. While I can add the 'entityAction' for all content types, I think I need to provide 'conditions' to limit it, but I'm unsure how to do this correctly. Could you provide guidance on how to achieve this?
{
  "$schema": "../../umbraco-package-schema.json",
  "name": "Example",
  "version": "0.1.0",
  "extensions": [
    {
      "type": "entityAction",
      "kind": "default",
      "alias": "exampleOfEntityAction",
      "name": "Example",
      "weight": 1,
      "forEntityTypes": ["document"],
      "js": "/example",
      "meta": {
        "icon": "icon-message",
        "label": "Example"
      }
    }
  ]
}