{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-actions-import-action-template-request-schema.json",
  "title": "actions.ImportActionTemplateRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-actions-api-openapi.yml#/components/schemas/actions.ImportActionTemplateRequest",
  "type": "object",
  "required": [
    "actionRef",
    "identity",
    "importType",
    "name"
  ],
  "properties": {
    "actionRef": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "hubIdentifiers": {
      "$ref": "#/$defs/actions.Identifiers"
    },
    "hubRef": {
      "type": "string"
    },
    "identity": {
      "type": "string"
    },
    "importType": {
      "$ref": "#/$defs/mongodb.ImportType"
    },
    "managedBy": {
      "$ref": "#/$defs/mongodb.ManagedBy"
    },
    "name": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "actions.Identifiers": {
      "type": "object",
      "properties": {
        "accountID": {
          "type": "string"
        },
        "orgID": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        }
      }
    },
    "mongodb.ImportType": {
      "type": "string",
      "enum": [
        "LOCAL",
        "REFERENCE"
      ],
      "x-enum-varnames": [
        "ImportTypeLocal",
        "ImportTypeReference"
      ]
    },
    "mongodb.ManagedBy": {
      "type": "string",
      "enum": [
        "EXPERIMENT"
      ],
      "x-enum-varnames": [
        "ManagedByExperiment"
      ]
    }
  }
}