Skip to contents

Returns the exact JSON Schema embedded in the installed datum executable. This requires datum 1.4.0 or newer.

Usage

datum_schema(
  executable = NULL,
  wd = NULL,
  timeout = getOption("datur.timeout", 300)
)

Arguments

executable

Optional explicit executable path.

wd

Optional child-process working directory.

timeout

Positive finite timeout in seconds.

Value

A named list containing the parsed JSON Schema.

Examples

if (datum_available() && datum_version() >= "1.4.0") {
  schema <- datum_schema()
  schema$title
}
#> [1] "Datum Configuration"