{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Action",
  "description": "Generic action envelope executed by DrawerContext.",
  "type": "object",
  "x-version": "1.0",
  "required": [
    "Handler"
  ],
  "properties": {
    "Handler": {
      "type": "string"
    },
    "OnSuccess": {
      "allOf": [
        {
          "$ref": "/schema/Actions/Action/1.0/index.json"
        }
      ]
    },
    "OnFailure": {
      "allOf": [
        {
          "$ref": "/schema/Actions/Action/1.0/index.json"
        }
      ]
    },
    "Value": {},
    "Error": {},
    "SchemaVersion": {
      "type": "string",
      "default": "1.0"
    }
  },
  "x-icon": "<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M13 2 4 14h7l-1 8 9-12h-7z\"/></svg>",
  "$id": "/schema/Actions/Action/1.0/index.json",
  "x-family": "Actions",
  "x-name": "Action",
  "x-source-package": "zero-schema"
}