class Root(Schema): node = SubSchema(Node, required=True) enabled = Boolean(default=False, output_missing=True)
class Root(Schema): node = SubSchema(Node, allow_none=True) enabled = Boolean(default=False)
class Node(Schema): label = String(required=True) sub = SubSchema(S, required=True)
class Root(Schema): node = SubSchema(Node, required=True)
class Node(Schema): id = String(required=True) node = List(SubSchema('Node'), allow_none=True)
class S(Schema): foo = SubSchema(FooSchema, required=True)
class Root(Schema): node = SubSchema(Node, name='foo_node', allow_none=True, output_missing=True) enabled = Boolean(default=False)
class Root(Schema): node = SubSchema(Node, name="foo_node", default=make_subschema, output_missing=True) enabled = Boolean(default=False)
class Root(Schema): node = SubSchema(Node, name="foo_node", allow_none=False) enabled = Boolean(default=False)
class S(Schema): foo = SubSchema(FooSchema)
class Dealership(Schema): info = SubSchema(DealershipCarBrands, required=True)
class DealershipCarBrands(Schema): n_brands = Float(required=True) brands = List(SubSchema(CarBrand), required=True)
class Node(Schema): id = String(required=True) label = String() nodes = List(SubSchema(Stuff, allow_none=True))
class Root(PolySchema): node = SubSchema(Node, allow_none=True) enabled = Boolean(default=False) category = String(required=True) __poly_on__ = category
class S(Schema): foo = SubSchema('foo', registry=reg)