{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-shared-serverless-layer-bundle-request-schema.json",
  "title": "shared.ServerlessLayerBundleRequest",
  "description": "ServerlessLayerBundleRequest represents the arguments to a serverless layer bundle request",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-images-api-openapi.yml#/components/schemas/shared.ServerlessLayerBundleRequest",
  "properties": {
    "nodeJSModuleType": {
      "$ref": "#/$defs/shared.NodeJSModuleType"
    },
    "provider": {
      "$ref": "#/$defs/common.CloudProvider"
    },
    "proxyCA": {
      "description": "ProxyCA is the proxy’s CA certificate for Defender to trust.\n",
      "type": "string"
    },
    "runtime": {
      "$ref": "#/$defs/shared.LambdaRuntimeType"
    }
  },
  "type": "object",
  "$defs": {
    "common.CloudProvider": {
      "description": "CloudProvider specifies the cloud provider name",
      "enum": [
        [
          "aws",
          "azure",
          "gcp",
          "alibaba",
          "oci",
          "others"
        ]
      ],
      "type": "string"
    },
    "shared.LambdaRuntimeType": {
      "description": "LambdaRuntimeType represents the runtime type of the serverless function\nThe constants used are taken from: https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime",
      "enum": [
        [
          "python",
          "python3.9",
          "python3.10",
          "python3.11",
          "python3.12",
          "python3.13",
          "nodejs",
          "nodejs18.x",
          "nodejs20.x",
          "nodejs22.x",
          "dotnet",
          "dotnetcore2.1",
          "dotnetcore3.1",
          "dotnet6",
          "java",
          "java8",
          "java11",
          "java17",
          "java21",
          "ruby"
        ]
      ],
      "type": "string"
    },
    "shared.NodeJSModuleType": {
      "description": "NodeJSModuleType is the type of a NodeJS module",
      "enum": [
        [
          "commonjs",
          "ecmascript"
        ]
      ],
      "type": "string"
    }
  }
}