{
    "baseTableName": "collectionobject",
    "uploadable": {
        "uploadTable": {
            "wbcols": {
                "catalognumber": "Catalog Number",
                "altcatalognumber": "Alt Catalog Number",
                "catalogeddate": "Cataloged Date",
                "remarks": "Collection Object Remarks (general remarks)",
                "text2": "Other label info",
                "yesno1": "Coll obj is private",
                "description": "SpecimenDescription",
                "text3": "Original CFS Data Provider"
            },
            "static": {},
            "toOne": {
                "cataloger": {
                    "uploadTable": {
                        "wbcols": {
                            "lastname": "Cataloger Last Name",
                            "firstname": "Cataloger First Name"
                        },
                        "static": {},
                        "toOne": {},
                        "toMany": {}
                    }
                },
                "collectingevent": {
                    "uploadTable": {
                        "wbcols": {
                            "method": "Method",
                            "startdateverbatim": "Verbatim Start Date",
                            "enddateverbatim": "Verbatim End Date",
                            "startdate": "StartDate",
                            "enddate": "EndDate",
                            "remarks": "Locality and Habitat Notes",
                            "text1": "LATBAND"
                        },
                        "static": {},
                        "toOne": {
                            "locality": {
                                "uploadTable": {
                                    "wbcols": {
                                        "minelevation": "Verbatim Elevation (include unit)",
                                        "text1": "Region",
                                        "namedplace": "NamedPlace",
                                        "latitude1": "Latitude1",
                                        "longitude1": "Longitude1",
                                        "verbatimlatitude": "Verbatim Latitude",
                                        "verbatimlongitude": "Verbatim Longitude",
                                        "localityname": "LocalityName",
                                        "yesno1": "Locality is private"
                                    },
                                    "static": {},
                                    "toOne": {
                                        "geography": {
                                            "treeRecord": {
                                                "ranks": {
                                                    "Country": {
                                                        "treeNodeCols": {
                                                            "name": "Country"
                                                        }
                                                    },
                                                    "State": {
                                                        "treeNodeCols": {
                                                            "name": "State"
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "toMany": {
                                        "localitydetails": [
                                            {
                                                "wbcols": {
                                                    "utmzone": "UTM Zone",
                                                    "utmeasting": "UTM Easting",
                                                    "utmnorthing": "UTM Northing"
                                                },
                                                "static": {},
                                                "toOne": {}
                                            }
                                        ],
                                        "geocoorddetails": [
                                            {
                                                "wbcols": {
                                                    "originalcoordsystem": "Original Coord System"
                                                },
                                                "static": {},
                                                "toOne": {}
                                            }
                                        ]
                                    }
                                }
                            },
                            "collectingeventattribute": {
                                "uploadTable": {
                                    "wbcols": {
                                        "text1": "iNaturalist Obs"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            }
                        },
                        "toMany": {
                            "collectors": [
                                {
                                    "wbcols": {},
                                    "static": {},
                                    "toOne": {
                                        "agent": {
                                            "uploadTable": {
                                                "wbcols": {
                                                    "lastname": "Collector1 Last Name",
                                                    "firstname": "Collector1 First Name"
                                                },
                                                "static": {},
                                                "toOne": {},
                                                "toMany": {}
                                            }
                                        }
                                    }
                                },
                                {
                                    "wbcols": {},
                                    "static": {},
                                    "toOne": {
                                        "agent": {
                                            "uploadTable": {
                                                "wbcols": {
                                                    "lastname": "Collector2 Last Name",
                                                    "firstname": "Collector2 First Name"
                                                },
                                                "static": {},
                                                "toOne": {},
                                                "toMany": {}
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            },
            "toMany": {
                "determinations": [
                    {
                        "wbcols": {
                            "determineddate": "Determined Date",
                            "text4": "Det Verified (name, date)",
                            "qualifier": "Qualifier",
                            "remarks": "Determination Remarks",
                            "text2": "Taxonomic Changes"
                        },
                        "static": {},
                        "toOne": {
                            "taxon": {
                                "treeRecord": {
                                    "ranks": {
                                        "Order": {
                                            "treeNodeCols": {
                                                "name": "Order"
                                            }
                                        },
                                        "Family": {
                                            "treeNodeCols": {
                                                "name": "Family"
                                            }
                                        },
                                        "Genus": {
                                            "treeNodeCols": {
                                                "name": "Genus"
                                            }
                                        },
                                        "Species": {
                                            "treeNodeCols": {
                                                "name": "Species"
                                            }
                                        }
                                    }
                                }
                            },
                            "determiner": {
                                "uploadTable": {
                                    "wbcols": {
                                        "lastname": "Determiner1 Last Name",
                                        "firstname": "Determiner1 First Name"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            }
                        }
                    },
                    {
                        "wbcols": {},
                        "static": {},
                        "toOne": {
                            "determiner": {
                                "uploadTable": {
                                    "wbcols": {
                                        "lastname": "Determiner2 Last Name",
                                        "firstname": "Determiner2 First Name"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            }
                        }
                    }
                ],
                "preparations": [
                    {
                        "wbcols": {
                            "remarks": "Preparation Remarks"
                        },
                        "static": {},
                        "toOne": {
                            "preparationattribute": {
                                "uploadTable": {
                                    "wbcols": {
                                        "text3": "Count and Sex",
                                        "number1": "Unit in prep"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            },
                            "preptype": {
                                "mustMatchTable": {
                                    "wbcols": {
                                        "name": "PrepType"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            },
                            "storage": {
                                "treeRecord": {
                                    "ranks": {
                                        "Building": {
                                            "treeNodeCols": {
                                                "name": "Building"
                                            }
                                        },
                                        "Room": {
                                            "treeNodeCols": {
                                                "name": "Room"
                                            }
                                        },
                                        "Aisle": {
                                            "treeNodeCols": {
                                                "name": "Sublevel1: Cabinet"
                                            }
                                        },
                                        "Cabinet": {
                                            "treeNodeCols": {
                                                "name": "Sublevel2: Shelf"
                                            }
                                        },
                                        "Shelf": {
                                            "treeNodeCols": {
                                                "name": "Sublevel3: Box"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ]
            }
        }
    }
}