{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/workingmachines-dev/json-schema/workingmachines-dev-action-list-response-schema.json",
  "title": "ActionListResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/workingmachines-dev-openapi.json#/components/schemas/ActionListResponse",
  "type": "object",
  "required": [
    "success",
    "message",
    "data",
    "meta"
  ],
  "properties": {
    "success": {
      "const": true
    },
    "message": {
      "const": "OK"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ActionSummary"
      }
    },
    "meta": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true,
  "$defs": {
    "ActionSummary": {
      "type": "object",
      "required": [
        "id",
        "service",
        "name",
        "description",
        "requiredScopes",
        "providerPermissions",
        "inputSchema",
        "outputSchema",
        "followUpActions",
        "asyncLifecycle",
        "execution"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "service": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "requiredScopes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "providerPermissions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "inputSchema": {
          "type": "object",
          "additionalProperties": true
        },
        "outputSchema": {
          "type": "object",
          "additionalProperties": true
        },
        "followUpActions": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "actionId"
            ],
            "properties": {
              "actionId": {
                "type": "string"
              }
            }
          }
        },
        "asyncLifecycle": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        },
        "execution": {
          "type": "object",
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    }
  }
}