{
    "baseTableName": "collectionobject",
    "uploadable": {
        "uploadTable": {
            "wbcols": {
                "catalognumber": "dwc:catalogNumber",
                "altcatalognumber": "dwc:otherCatalogNumbers",
                "reservedtext": "dwc:recordNumber",
                "fieldnumber": "dwc:fieldNumber",
                "projectnumber": "dwc:datasetName",
                "objectcondition": "dwc:materialEntityRemarks",
                "integer1": "GBIF_AccID",
                "text2": "dwc:associatedOccurrences",
                "text3": "verbatimComments",
                "remarks": "comments"
            },
            "static": {},
            "toOne": {
                "container": {
                    "uploadTable": {
                        "wbcols": {},
                        "static": {},
                        "toOne": {
                            "storage": {
                                "treeRecord": {
                                    "ranks": {
                                        "Collection": {
                                            "treeNodeCols": {
                                                "name": "dwc:collectionCode"
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "toMany": {}
                    }
                },
                "collectingevent": {
                    "uploadTable": {
                        "wbcols": {
                            "verbatimdate": "dwc:verbatimEventDate",
                            "startdate": "eventStartDate",
                            "enddate": "eventEndDate",
                            "starttime": "eventStartTime",
                            "endtime": "eventEndTime",
                            "verbatimlocality": "dwc:locality",
                            "remarks": "dwc:fieldNotes"
                        },
                        "static": {},
                        "toOne": {
                            "locality": {
                                "uploadTable": {
                                    "wbcols": {
                                        "localityname": "dwc:verbatimLocality",
                                        "remarks": "dwc:locationRemarks",
                                        "text1": "dwc:habitat",
                                        "verbatimlatitude": "dwc:verbatimCoordinates",
                                        "latitude1": "dwc:decimalLatitude",
                                        "longitude1": "dwc:decimalLongitude",
                                        "datum": "dwc:geodeticDatum",
                                        "verbatimelevation": "dwc:verbatimElevation",
                                        "minelevation": "dwc:minimumElevationInMeters",
                                        "maxelevation": "dwc:maximumElevationInMeters",
                                        "text2": "verbatimStartDepth",
                                        "text3": "verbatimEndDepth",
                                        "text4": "dwc:minimumDepthInMeters",
                                        "text5": "dwc:maximumDepthInMeters"
                                    },
                                    "static": {},
                                    "toOne": {
                                        "geography": {
                                            "treeRecord": {
                                                "ranks": {
                                                    "Continent": {
                                                        "treeNodeCols": {
                                                            "name": "dwc:continent"
                                                        }
                                                    },
                                                    "Country": {
                                                        "treeNodeCols": {
                                                            "name": "dwc:country"
                                                        }
                                                    },
                                                    "State": {
                                                        "treeNodeCols": {
                                                            "name": "dwc:stateProvince"
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "toMany": {
                                        "geocoorddetails": [
                                            {
                                                "wbcols": {
                                                    "originalcoordsystem": "dwc:verbatimSRS"
                                                },
                                                "static": {},
                                                "toOne": {}
                                            }
                                        ]
                                    }
                                }
                            }
                        },
                        "toMany": {
                            "collectors": [
                                {
                                    "wbcols": {},
                                    "static": {},
                                    "toOne": {
                                        "agent": {
                                            "uploadTable": {
                                                "wbcols": {
                                                    "firstname": "recordedByFirstName1",
                                                    "lastname": "recordedByLastName1",
                                                    "agenttype": "recordedByType1"
                                                },
                                                "static": {},
                                                "toOne": {},
                                                "toMany": {}
                                            }
                                        }
                                    }
                                },
                                {
                                    "wbcols": {},
                                    "static": {},
                                    "toOne": {
                                        "agent": {
                                            "uploadTable": {
                                                "wbcols": {
                                                    "firstname": "recordedByFirstName2",
                                                    "lastname": "recordedByLastName2",
                                                    "agenttype": "recordedByType2"
                                                },
                                                "static": {},
                                                "toOne": {},
                                                "toMany": {}
                                            }
                                        }
                                    }
                                },
                                {
                                    "wbcols": {},
                                    "static": {},
                                    "toOne": {
                                        "agent": {
                                            "uploadTable": {
                                                "wbcols": {
                                                    "firstname": "recordedByFirstName3",
                                                    "lastname": "recordedByLastName3",
                                                    "agenttype": "recordedByType3"
                                                },
                                                "static": {},
                                                "toOne": {},
                                                "toMany": {}
                                            }
                                        }
                                    }
                                }
                            ],
                            "collectingeventauthorizations": [
                                {
                                    "wbcols": {},
                                    "static": {},
                                    "toOne": {
                                        "permit": {
                                            "uploadTable": {
                                                "wbcols": {
                                                    "type": "abcd:hasPermitType",
                                                    "permitnumber": "abcd:permitNumber"
                                                },
                                                "static": {},
                                                "toOne": {},
                                                "toMany": {}
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                },
                "collectionobjectattribute": {
                    "uploadTable": {
                        "wbcols": {
                            "integer1": "noOfadults",
                            "integer2": "noOfmales",
                            "integer3": "noOfFemales",
                            "integer4": "noOfNyphs",
                            "integer5": "noOfLarvae",
                            "integer6": "dwc:organismQuantity",
                            "text1": "dwc:sex",
                            "text4": "dwc:lifeStage",
                            "integer7": "dwc:caste"
                        },
                        "static": {},
                        "toOne": {},
                        "toMany": {}
                    }
                }
            },
            "toMany": {
                "dnasequences": [
                    {
                        "wbcols": {
                            "genbankaccessionnumber": "NCBIGenBank_AccID",
                            "boldbarcodeid": "BOLD_AccID"
                        },
                        "static": {},
                        "toOne": {}
                    }
                ],
                "determinations": [
                    {
                        "wbcols": {
                            "text1": "dwc:verbatimIdentification",
                            "determineddate": "dwc:dateIdentified",
                            "remarks": "dwc:identificationRemarks",
                            "qualifier": "identificationQualifier",
                            "nameusage": "dwc:originalNameUsage",
                            "typestatusname": "dwc:typeStatus",
                            "text2": "typeStatusVerification"
                        },
                        "static": {},
                        "toOne": {
                            "determiner": {
                                "uploadTable": {
                                    "wbcols": {
                                        "agenttype": "DeterminatorType",
                                        "firstname": "DeterminatorFirstName0",
                                        "lastname": "DeterminatorLastName0"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {
                                        "groups": [
                                            {
                                                "wbcols": {},
                                                "static": {},
                                                "toOne": {
                                                    "member": {
                                                        "uploadTable": {
                                                            "wbcols": {
                                                                "agenttype": "DeterminationTypeGroup1",
                                                                "firstname": "DeterminationFirstNameGroup",
                                                                "lastname": "DeterminationLastNameGroup"
                                                            },
                                                            "static": {},
                                                            "toOne": {},
                                                            "toMany": {}
                                                        }
                                                    }
                                                }
                                            },
                                            {
                                                "wbcols": {},
                                                "static": {},
                                                "toOne": {
                                                    "member": {
                                                        "uploadTable": {
                                                            "wbcols": {
                                                                "agenttype": "DeterminationTypeGroup2",
                                                                "firstname": "identifiedByFirstName2",
                                                                "lastname": "identifiedByLastName2"
                                                            },
                                                            "static": {},
                                                            "toOne": {},
                                                            "toMany": {}
                                                        }
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                }
                            },
                            "taxon": {
                                "treeRecord": {
                                    "ranks": {
                                        "Kingdom": {
                                            "treeNodeCols": {
                                                "name": "dwc:kingdom"
                                            }
                                        },
                                        "Phylum": {
                                            "treeNodeCols": {
                                                "name": "dwc:phylum"
                                            }
                                        },
                                        "Class": {
                                            "treeNodeCols": {
                                                "name": "dwc:class"
                                            }
                                        },
                                        "Order": {
                                            "treeNodeCols": {
                                                "name": "dwc:order"
                                            }
                                        },
                                        "Suborder": {
                                            "treeNodeCols": {
                                                "name": "dwc:suborder"
                                            }
                                        },
                                        "Family": {
                                            "treeNodeCols": {
                                                "name": "dwc:family",
                                                "author": "familyAuthor"
                                            }
                                        },
                                        "Subfamily": {
                                            "treeNodeCols": {
                                                "name": "dwc:subfamily"
                                            }
                                        },
                                        "Tribe": {
                                            "treeNodeCols": {
                                                "name": "dwc:tribe"
                                            }
                                        },
                                        "Genus": {
                                            "treeNodeCols": {
                                                "name": "dwc:genus",
                                                "author": "genusAuthor"
                                            }
                                        },
                                        "Species": {
                                            "treeNodeCols": {
                                                "name": "dwc:specificEpithet",
                                                "author": "speciesAuthor"
                                            }
                                        },
                                        "Subspecies": {
                                            "treeNodeCols": {
                                                "name": "dwc:intraspecificEpithet",
                                                "author": "infraspecificAuthor"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ],
                "collectionobjectattrs": [
                    {
                        "wbcols": {
                            "strvalue": "dwc:previousIdentifications"
                        },
                        "static": {},
                        "toOne": {}
                    }
                ],
                "preparations": [
                    {
                        "wbcols": {
                            "status": "dwc:preparationDisposition1",
                            "storagelocation": "preparationStorageID1",
                            "text1": "preparationID1"
                        },
                        "static": {},
                        "toOne": {
                            "preptype": {
                                "mustMatchTable": {
                                    "wbcols": {
                                        "name": "dwc:preparations1"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            },
                            "storage": {
                                "treeRecord": {
                                    "ranks": {
                                        "Building": {
                                            "treeNodeCols": {
                                                "name": "preparationStorage1"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    {
                        "wbcols": {
                            "status": "dwc:preparationDisposition2",
                            "storagelocation": "preparationStorageID2",
                            "text1": "preparationID2"
                        },
                        "static": {},
                        "toOne": {
                            "preptype": {
                                "mustMatchTable": {
                                    "wbcols": {
                                        "name": "dwc:preparations2"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            },
                            "storage": {
                                "treeRecord": {
                                    "ranks": {
                                        "Building": {
                                            "treeNodeCols": {
                                                "name": "preparationStorage2"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    {
                        "wbcols": {
                            "status": "dwc:preparationDisposition3",
                            "storagelocation": "preparationStorageID3",
                            "text1": "preparationID3"
                        },
                        "static": {},
                        "toOne": {
                            "preptype": {
                                "mustMatchTable": {
                                    "wbcols": {
                                        "name": "dwc:preparations3"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            },
                            "storage": {
                                "treeRecord": {
                                    "ranks": {
                                        "Building": {
                                            "treeNodeCols": {
                                                "name": "preparationStorage3"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    {
                        "wbcols": {
                            "status": "dwc:preparationDisposition4",
                            "storagelocation": "preparationStorageID4",
                            "text1": "preparationID4"
                        },
                        "static": {},
                        "toOne": {
                            "preptype": {
                                "mustMatchTable": {
                                    "wbcols": {
                                        "name": "dwc:preparations4"
                                    },
                                    "static": {},
                                    "toOne": {},
                                    "toMany": {}
                                }
                            },
                            "storage": {
                                "treeRecord": {
                                    "ranks": {
                                        "Building": {
                                            "treeNodeCols": {
                                                "name": "preparationStorage4"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ],
                "collectionobjectproperties": [
                    {
                        "wbcols": {
                            "text1": "dwc:associatedTaxa",
                            "text2": "dwc:relationshipOfResource",
                            "text3": "dwc:relationshipRemarks"
                        },
                        "static": {},
                        "toOne": {}
                    }
                ]
            }
        }
    }
}