{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/onclarity-com/json-schema/onclarity-com-update-function-request-schema.json",
  "title": "UpdateFunctionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/onclarity-com-cloud-functions-admin-api-openapi.yml#/components/schemas/UpdateFunctionRequest",
  "properties": {
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "timeout_s": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 900.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Timeout S"
    },
    "memory_mb": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 2048.0,
          "minimum": 128.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Memory Mb"
    },
    "http_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Http Enabled",
      "description": "Serve the function's own routes to mini-apps (`voc.functions.fetch`): the handler gets API Gateway HTTP API v2 events. Needs `timeout_s` <= 30."
    }
  },
  "additionalProperties": false,
  "type": "object"
}