validate_schema_v1.4.2 {biocompute}R Documentation

BioCompute Objects schema validator (v1.4.2)

Description

BioCompute Objects schema validator (v1.4.2)

Usage

validate_schema_v1.4.2(file)

validate_schema(file)

Arguments

file

Path to the BCO JSON file

Value

None

Note

JSON schema validators for BCO domains and complete BCO based on jsonvalidate. Refer to the BioCompute Objects Schema for specific JSON schemas.

Examples

bco <- tempfile(fileext = ".json")
generate_example("HCV1a") %>%
  convert_json() %>%
  export_json(bco)
bco %>% validate_schema()

[Package biocompute version 1.1.1 Index]