# Constructor -------------------------------------------------------------
new_schema <- function(x, ..., class = character()) {
assert_list(x)
new_object(x, ..., class = c(class, "schema"))
}
# Conversion --------------------------------------------------------------
as_schema <- function(x) UseMethod("as_schema")
#' @export
as_schema.list <- function(x) new_schema(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.