class Schema(iko.Schema): _id = iko.Field(outer_name='id')
class Schema(iko.Schema): _id = iko.Field(dump_to='id')
class Schema(iko.Schema): _id = iko.Field(load_from='id')
class Schema(iko.Schema): field42 = iko.Field(default=42) field43 = iko.Field(default=lambda: 43)
class CatSchema(Named, Pet): _id = iko.Field(outer_name='id') skip = iko.Field()
class Pet(iko.Schema): owner = iko.Nested(HumanSchema) friends = iko.List(HumanSchema) age = iko.Field(default='infinity')
class HumanSchema(Named): gender = iko.Field() secret = PrivateField()
class Named(iko.Schema): name = iko.Field()