{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ActionModuleVersionReference",
  "title": "ActionModuleVersionReference",
  "type": "object",
  "description": "The latest published version as a reference object. Omitted if no versions have been published.",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique ID of the version."
    },
    "version_number": {
      "type": "integer",
      "description": "The version number."
    },
    "code": {
      "type": "string",
      "description": "The source code from this version."
    },
    "dependencies": {
      "type": "array",
      "description": "The npm dependencies from this version.",
      "items": {
        "$ref": "#/components/schemas/ActionModuleDependency"
      }
    },
    "secrets": {
      "type": "array",
      "description": "The secrets from this version (names and timestamps only, values never returned).",
      "items": {
        "$ref": "#/components/schemas/ActionModuleSecret"
      }
    },
    "created_at": {
      "type": "string",
      "description": "Timestamp when the version was created.",
      "format": "date-time"
    }
  }
}