CreateJsonataFunctionReq

  • body
    Type: string
    required

    The JSONata function body - the transformation logic

  • key
    Type: string
    required

    Unique identifier for the function within your organization

  • returnType
    Type: object
    required

    Return type specification for the function

    • type
      Type: stringenum
      required

      Return type of the function

      values
      • string
      • number
      • boolean
      • object
    • schemaDefinition
      Type: object

      Optional JSON Schema definition if type is 'object'

  • name
    Type: string

    Human-readable name for the function

  • params
    Type: array object[]

    Array of function parameters with their types

    • paramName
      Type: string
      required

      Name of the parameter

    • paramType
      Type: stringenum
      required

      Type of the parameter

      values
      • string
      • number
      • boolean
      • object
    • schemaDefinition
      Type: object

      Optional JSON Schema definition if paramType is 'object'