Perhaps this can be specified using a document_type parameter of the Document.Options class. Document instantiation could dispatch to an alternate backend based on this parameter.
@aromanovich Do there already exist alternative ways of achieving the same thing? Do you think this feature would be a good fit for the library?
The Document class should support creating non-object schemas. This would allow creating, for example, a root-level array schema:
Perhaps this can be specified using a
document_type
parameter of the Document.Options class. Document instantiation could dispatch to an alternate backend based on this parameter.@aromanovich Do there already exist alternative ways of achieving the same thing? Do you think this feature would be a good fit for the library?