{
  "name": "MigrationMap",
  "plural": "MigrationMaps",
  "base": "PersistedModel",
  "description": "Migration Mappings.",
  "properties": {
    "type": {
      "type": "String",
      "comments": "Mapping type.",
      "required": true
    },
    "from": {
      "type": "String",
      "comments": "Source Id.",
      "required": true
    },
    "to": {
      "type": "String",
      "comments": "Target Id.",
      "required": true
    },
    "data": {
      "type": "Object",
      "comments": "Additional data."
    }
  },
  "indexes": {
    "type_from_index": {
      "keys": {
        "type": 1,
        "from": 1
      }
    }
  }
}
