acdh-oeaw / apis-instance-nsvis

0 stars 0 forks source link

Datamodel consolidation #3

Open b1rger opened 4 weeks ago

b1rger commented 4 weeks ago

Existing data is spread over the following types (*.json files):

b1rger commented 2 weeks ago

agencies -> Institution, addresses as separate entity connected through hasAddress agencypeople -> Person inventories -> Institution memberships -> Institution parties -> Institution photographers -> Person specialareas -> ??

+ MongoDbModel containing the original data as a json field + GenericForeignKey to the instance

b1rger commented 1 day ago

agencyoccupations -> ignore; those list 6 "types of occupation", only two of which are referenced in the other json files (each once)

b1rger commented 1 day ago

documents: some document instances can be connected to photographers through the oid (but not all)

b1rger commented 1 day ago

employer -> those are simply the labels for the oids that are used in the photographers.json for the professionlist

b1rger commented 1 day ago

fields -> lists the labels for the oids that are used in in the photographers.json in the additionalFields list

b1rger commented 1 day ago

images -> referenced by documents.json and photographers.json

b1rger commented 1 day ago

institutions -> lists the labels for the oids that are used in the photographers.json in the educationlist/institution field

b1rger commented 1 day ago

inventories -> lists the labels for the oids that are used in the photographers.json in the inventorylist list

b1rger commented 1 day ago

newspapers -> only 5 entries, only one is referenced at two places in images.json and three places in photographers.json; ignore the file for now