{
    "baseTableName": "collectionobject",
    "uploadable": {
        "uploadTable": {
            "wbcols": {
                "catalognumber": "catalognumber",
                "catalogeddate": "catalogeddate",
                "projectnumber": "projectnumber",
                "objectcondition": "objectcondition",
                "yesno1": "publish"
            },
            "static": {},
            "toOne": {
                "cataloger": {
                    "uploadTable": {
                        "wbcols": {
                            "firstname": "cataloger firstname",
                            "middleinitial": "cataloger middle",
                            "lastname": "cataloger lastname"
                        },
                        "static": {},
                        "toOne": {},
                        "toMany": {}
                    }
                },
                "container": {
                    "uploadTable": {
                        "wbcols": {
                            "name": "containername",
                            "type": "containertype"
                        },
                        "static": {},
                        "toOne": {},
                        "toMany": {}
                    }
                },
                "collectingevent": {
                    "uploadTable": {
                        "wbcols": {
                            "remarks": "localitynotes"
                        },
                        "static": {},
                        "toOne": {
                            "locality": {
                                "uploadTable": {
                                    "wbcols": {
                                        "localityname": "localityname",
                                        "text1": "broadgeographicalregion"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            }
                        },
                        "toMany": {}
                    }
                }
            },
            "toMany": {
                "collectionobjectproperties": [
                    {
                        "wbcols": {
                            "remarks": "specimenobscured_remark",
                            "text1": "specimenobscured_source",
                            "date1": "specimenobscured_date"
                        },
                        "static": {},
                        "toOne": {}
                    },
                    {
                        "wbcols": {
                            "remarks": "labelobscured_remark",
                            "text1": "labelobscured_source",
                            "date1": "labelobscured_date"
                        },
                        "static": {},
                        "toOne": {}
                    },
                    {
                        "wbcols": {
                            "remarks": "remarks",
                            "date1": "remark date",
                            "text1": "remark source"
                        },
                        "static": {},
                        "toOne": {}
                    },
                    {
                        "wbcols": {
                            "remarks": "datafile_remark",
                            "text1": "datafile_source",
                            "date1": "datafile_date"
                        },
                        "static": {},
                        "toOne": {}
                    }
                ],
                "determinations": [
                    {
                        "wbcols": {
                            "qualifier": "qualifier",
                            "addendum": "addendum",
                            "typestatusname": "typestatusname",
                            "yesno3": "storedunder"
                        },
                        "static": {},
                        "toOne": {
                            "taxon": {
                                "treeRecord": {
                                    "ranks": {
                                        "Family": {
                                            "treeNodeCols": {
                                                "name": "family"
                                            }
                                        },
                                        "Genus": {
                                            "treeNodeCols": {
                                                "name": "genus",
                                                "author": "genus_author",
                                                "yesno2": "newgenusflag"
                                            }
                                        },
                                        "Species": {
                                            "treeNodeCols": {
                                                "name": "species",
                                                "author": "species_author",
                                                "yesno2": "newspeciesflag",
                                                "ishybrid": "ishybrid"
                                            }
                                        },
                                        "Subspecies": {
                                            "treeNodeCols": {
                                                "name": "subspecies",
                                                "author": "subspecies_author",
                                                "yesno2": "newsubspeciesflag"
                                            }
                                        },
                                        "variety": {
                                            "treeNodeCols": {
                                                "name": "variety",
                                                "author": "variety_author",
                                                "yesno2": "newvarietyflag"
                                            }
                                        },
                                        "forma": {
                                            "treeNodeCols": {
                                                "name": "forma",
                                                "author": "forma_author",
                                                "yesno2": "newformaflag"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ],
                "preparations": [
                    {
                        "wbcols": {
                            "countamt": "count"
                        },
                        "static": {},
                        "toOne": {
                            "preptype": {
                                "mustMatchTable": {
                                    "wbcols": {
                                        "name": "preptypename"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            },
                            "storage": {
                                "treeRecord": {
                                    "ranks": {
                                        "Collection": {
                                            "treeNodeCols": {
                                                "name": "collection"
                                            }
                                        },
                                        "Cabinet": {
                                            "treeNodeCols": {
                                                "name": "cabinet"
                                            }
                                        },
                                        "Shelf": {
                                            "treeNodeCols": {
                                                "name": "shelf"
                                            }
                                        },
                                        "Box": {
                                            "treeNodeCols": {
                                                "name": "box"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ]
            }
        }
    }
}