get_schema_url: Get the JSON schema download URL for a given config file...

View source: R/utils-schema.R

get_schema_urlR Documentation

Get the JSON schema download URL for a given config file version

Description

Get the JSON schema download URL for a given config file version

Usage

get_schema_url(config = c("tasks", "admin", "model"), version, branch = "main")

Arguments

config

Name of config file to validate. One of "tasks" or "admin".

version

A valid version of hubverse schema (e.g. "v0.0.1").

branch

The branch of the hubverse schemas repository from which to fetch schema. Defaults to "main".

Value

The JSON schema download URL for a given config file version.

See Also

Other functions supporting config file validation: get_schema(), get_schema_valid_versions()

Examples


get_schema_url(config = "tasks", version = "v0.0.0.9")


hubUtils documentation built on Sept. 18, 2024, 5:09 p.m.