Skip to contents

Build the Capabilities GET-response.

Usage

serializer_cadenza_capabilities(...)

Arguments

extension

A list of a parameters of the analytics extension. It requires a printName, extensionType, and attributeGroups. It can optionally take parameters.

Value

a GetCapabilities response.

Examples

if (FALSE) { # interactive()
function() {
  extension(
    printName = "Data Generation",
    extensionType = "calculation",
    attributeGroups = list(
      attribute_group(
        name = "datgen",
        printName = "Data Generation",
        dataTypes = c("int64", "float64"),
        maxAttributes=1L
      )
    ),
    parameters = list(
      parameter(
        name = "cols",
        printName = "Please select the number of columns to generate.",
        parameterType = "select",
        options = c(2, 3, 4, 5, 6, 7, 8, 9, 10),
        required = TRUE,
        defaultValue = c("2")
      )
    )
  )
}
}