{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/honeycomb/main/json-schema/honeycomb-calculated-field-create-request-schema.json",
  "title": "CalculatedFieldCreateRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/honeycomb-calculated-fields-api-openapi.yml#/components/schemas/CalculatedFieldCreateRequest",
  "type": "object",
  "required": [
    "alias",
    "expression"
  ],
  "properties": {
    "alias": {
      "type": "string",
      "description": "The alias name for the calculated field."
    },
    "expression": {
      "type": "string",
      "description": "The expression to compute the field value."
    },
    "description": {
      "type": "string",
      "description": "An optional description for the calculated field."
    }
  }
}