StoreJSONSchemaOptions
StoreJSONSchemaOptions.RdOptions for storing JSONSchema entities.
Methods
StoreJSONSchemaOptions(schema_body, version=NULL, dry_run=FALSE): Constructor forStoreJSONSchemaOptions
Examples
if (FALSE) { # \dontrun{
## Using this class
library(synapser)
synLogin()
schema_definition = list(
"$id" = "mySchema",
type = "object",
properties = list(foo = list(type = "string")),
required = list("foo")
)
schema = JSONSchema(name = "my.schema", organization_name = "myUniqueOrgName") |> synStore(
json_schema_options = StoreJSONSchemaOptions(schema_body = schema_definition, version = "0.0.1")
)
} # }