DE EN EN (Google)

This is the list of files that have been generated by the python migration script:

manifest.json

{
  "source": "Example Migration",
  "eas_type": "url",
  "payloads": [
    "basetype_tags.json",
    "basetype_pools.json",
    "userobject-orte-level-0.json",
    "userobject-orte-level-1.json",
    "userobject-orte-level-2.json",
    "userobject-personen.json",
    "userobject-schlagwoerter.json",
    "userobject-objekte-1.json"
  ],
  "batch_size": 100
}

basetype_tags.json

{
  "import_type": "tags",
  "tags": [
    {
      "taggroup": {
        "type": "checkbox",
        "displayname": {
          "en-US": "Tag Group 1"
        },
        "reference": "taggroup1"
      },
      "_tags": [
        {
          "tag": {
            "is_default": false,
            "displaytype": "facet",
            "displayname": {
              "en-US": "Public Access"
            },
            "reference": "public",
            "frontend_prefs": {
              "webfrontend": {
                "color": "green",
                "icon": "fa-eye"
              }
            },
            "type": "individual",
            "enabled": true,
            "sticky": false
          }
        }
      ]
    }
  ]
}

basetype_pools.json

{
  "pools": [
    {
      "_basetype": "pool",
      "pool": {
        "lookup:_id_parent": {
          "reference": "system:root"
        },
        "_version": 1,
        "reference": "migrated_objects",
        "name": {
          "en-US": "Migrated Objects"
        }
      }
    }
  ],
  "import_type": "pool"
}

userobject-orte-level-0.json

{
  "import_type": "db",
  "objects": [
    {
      "orte": {
        "_version": 1,
        "name": "Europa"
      },
      "_objecttype": "orte",
      "_mask": "_all_fields"
    }
  ],
  "objecttype": "orte"
}

userobject-orte-level-1.json

{
  "import_type": "db",
  "objects": [
    {
      "orte": {
        "lookup:_id_parent": {
          "name": "Europa"
        },
        "_version": 1,
        "name": "Deutschland"
      },
      "_objecttype": "orte",
      "_mask": "_all_fields"
    }
  ],
  "objecttype": "orte"
}

userobject-orte-level-2.json

{
  "import_type": "db",
  "objects": [
    {
      "orte": {
        "lookup:_id_parent": {
          "name": "Deutschland"
        },
        "_version": 1,
        "name": "Berlin"
      },
      "_objecttype": "orte",
      "_mask": "_all_fields"
    },
    {
      "orte": {
        "lookup:_id_parent": {
          "name": "Deutschland"
        },
        "_version": 1,
        "name": "Brandenburg"
      },
      "_objecttype": "orte",
      "_mask": "_all_fields"
    }
  ],
  "objecttype": "orte"
}

userobject-personen.json

{
  "import_type": "db",
  "objects": [
    {
      "personen": {
        "_version": 1,
        "name": "Max Mustermann"
      },
      "_objecttype": "personen",
      "_mask": "_all_fields"
    }
  ],
  "objecttype": "personen"
}

userobject-schlagwoerter.json

{
  "import_type": "db",
  "objects": [
    {
      "schlagwoerter": {
        "_version": 1,
        "name": "Panorama"
      },
      "_objecttype": "schlagwoerter",
      "_mask": "_all_fields"
    },
    {
      "schlagwoerter": {
        "_version": 1,
        "name": "Stadt"
      },
      "_objecttype": "schlagwoerter",
      "_mask": "_all_fields"
    }
  ],
  "objecttype": "schlagwoerter"
}

userobject-objekte-1.json

{
  "import_type": "db",
  "objects": [
    {
      "objekte": {
        "inventarnummer": "987654321",
        "_pool": {
          "pool": {
            "lookup:_id": {
              "reference": "migrated_objects"
            }
          }
        },
        "_version": 1,
        "datierung": {
          "to": "2020-04-08",
          "from": "2020-04-01"
        },
        "_reverse_nested:bilder:objekte": [
          {
            "titel": {
              "de-DE": "Berliner Fernsehturm",
              "en-US": "Berlin TV Tower"
            },
            "reference": "bild_1",
            "_nested:bilder__personen": [
              {
                "person": {
                  "personen": {
                    "lookup:_id": {
                      "name": "Max Mustermann"
                    }
                  },
                  "_objecttype": "personen",
                  "_mask": "_all_fields"
                },
                "bemerkung": "Fotograf"
              }
            ],
            "_pool": {
              "pool": {
                "lookup:_id": {
                  "reference": "migrated_objects"
                }
              }
            },
            "aufnahmedatum": {
              "value": "2020-04-06"
            },
            "_version": 1,
            "aufnahmeort": {
              "orte": {
                "lookup:_id": {
                  "name": "Berlin"
                }
              },
              "_objecttype": "orte",
              "_mask": "_all_fields"
            },
            "datei": [
              {
                "eas:url": "https://images.unsplash.com/photo-1560930950-5cc20e80e392?w=800&q=80",
                "eas:filename": "berlin-tv-tower.jpg",
                "preferred": true
              }
            ],
            "_nested:bilder__schlagwoerter": [
              {
                "schlagwort": {
                  "schlagwoerter": {
                    "lookup:_id": {
                      "name": "Stadt"
                    }
                  },
                  "_objecttype": "schlagwoerter",
                  "_mask": "_all_fields"
                }
              },
              {
                "schlagwort": {
                  "schlagwoerter": {
                    "lookup:_id": {
                      "name": "Panorama"
                    }
                  },
                  "_objecttype": "schlagwoerter",
                  "_mask": "_all_fields"
                }
              }
            ]
          }
        ]
      },
      "_objecttype": "objekte",
      "_mask": "_all_fields",
      "_tags": [
        {
          "lookup:_id": {
            "reference": "public"
          }
        }
      ]
    },
    {
      "objekte": {
        "inventarnummer": "112233",
        "_pool": {
          "pool": {
            "lookup:_id": {
              "reference": "migrated_objects"
            }
          }
        },
        "_version": 1,
        "datierung": {
          "to": "2020-04-07",
          "from": "2020-04-01"
        },
        "_reverse_nested:bilder:objekte": [
          {
            "titel": {
              "de-DE": "Berglandschaft",
              "en-US": null
            },
            "reference": "bild_2",
            "_pool": {
              "pool": {
                "lookup:_id": {
                  "reference": "migrated_objects"
                }
              }
            },
            "aufnahmedatum": {
              "value": "2020-04-01"
            },
            "_version": 1,
            "datei": [
              {
                "eas:url": "https://images.unsplash.com/photo-1583268426351-53cd67fefed9?w=600&q=80",
                "preferred": true
              }
            ],
            "_nested:bilder__schlagwoerter": [
              {
                "schlagwort": {
                  "schlagwoerter": {
                    "lookup:_id": {
                      "name": "Panorama"
                    }
                  },
                  "_objecttype": "schlagwoerter",
                  "_mask": "_all_fields"
                }
              }
            ]
          }
        ]
      },
      "_objecttype": "objekte",
      "_mask": "_all_fields",
      "_tags": []
    }
  ],
  "objecttype": "objekte"
}