class ParentWithNameSpace(Record): _namespace = "pyschema_test_parent" child = SubRecord(ChildWithOwnNameSpace) other = SubRecord(ChildWithSameNamespace)
class SelfReferencingRecord(Record): other_record = SubRecord(SELF)
class ChildWithOwnNameSpace(Record): _namespace = "test.pyschema_test_child" a = Integer() child = SubRecord(GrandChildWithOwnNameSpace)
class NestedListRecord(Record): l = List(SubRecord(TextRecord))
class Parent(Record): child = SubRecord(Child)
class SubRecordRecord(Record): r = SubRecord(TextRecord)
class NonnullableSubRecordRecord(Record): r = SubRecord(TextRecord, nullable=False)
class RepeatedSubRecordRecord(Record): r1 = SubRecord(TextRecord) r2 = SubRecord(TextRecord)
class NestedMapRecord(Record): m = Map(SubRecord(TextRecord))
class SubRecordRecord(Record): zeta = SubRecord(SimpleRecord)
class MyRecord2(Record): prop = SubRecord(MyRecord1)
class A(Record): b = List(Map(SubRecord(B)))