{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateActionModuleResponseContent",
  "title": "UpdateActionModuleResponseContent",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique ID of the module."
    },
    "name": {
      "type": "string",
      "description": "The name of the module."
    },
    "code": {
      "type": "string",
      "description": "The source code from the module's draft version."
    },
    "dependencies": {
      "type": "array",
      "description": "The npm dependencies from the module's draft version.",
      "items": {
        "$ref": "#/components/schemas/ActionModuleDependency"
      }
    },
    "secrets": {
      "type": "array",
      "description": "The secrets from the module's draft version (names and timestamps only, values never returned).",
      "items": {
        "$ref": "#/components/schemas/ActionModuleSecret"
      }
    },
    "actions_using_module_total": {
      "type": "integer",
      "description": "The number of deployed actions using this module."
    },
    "all_changes_published": {
      "type": "boolean",
      "description": "Whether all draft changes have been published as a version."
    },
    "latest_version_number": {
      "type": "integer",
      "description": "The version number of the latest published version. Omitted if no versions have been published."
    },
    "created_at": {
      "type": "string",
      "description": "Timestamp when the module was created.",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "description": "Timestamp when the module was last updated.",
      "format": "date-time"
    },
    "latest_version": {
      "$ref": "#/components/schemas/ActionModuleVersionReference"
    }
  }
}