Class to represent JSON Schema profile from Profiles Registry.
# Profile.load(profile)
R6Class
object.
Object of R6Class
.
Profile$new(descriptor = descriptor)
Use Profile.load
to instantiate Profile
class.
validate(descriptor)
Validate a tabular data package descriptor against the Profile
.
descriptor
Retrieved and dereferenced tabular data package descriptor.
(Object)
Returns TRUE
if descriptor is valid or FALSE
with error message.
name
Returns profile name if available.
jsonschema
Returns profile JSON Schema contents.
new()
Profile$new(profile)
profile
string profile name in registry or URL to JSON Schema
validate()
Profile$validate(descriptor)
clone()
The objects of this class are cloneable with this method.
Profile$clone(deep = FALSE)
deep
Whether to make a deep clone.