Skip to contents

Retrieve valid subclasses of a value in a JSON-LD schema generated by schematic.

Usage

get_valid_values_from_json_schema(
  schema_url =
    "https://raw.githubusercontent.com/nf-osi/nf-metadata-dictionary/main/NF.jsonld",
  parent_name = "DataType",
  parent_context = "bts"
)

Arguments

schema_url

Default: the NF-OSI JSON-LD schema.

parent_name

Default = DataType. The value for which you'd like to find the associated subclasses.

parent_context

Default = bts. The JSON-LD context for the value in question.

Value

A character vector of values.