# Source and Sink Schema Example

In the 1 scenario, OCI Object Storage is the source and it provides the schema definitions for the tables being migrated using the schemaInfo attribute of the source configuration file. NoSQL sink is using the schema provided by the source for data migration.

In the 2 scenario, JSON File is the source and it provides the schema definitions for the tables being migrated using the schemaInfo attribute of the source configuration file. NoSQL Cloud sink is overwriting the schema provided by the source by using the default schema defined by the NoSQL Database Migrator.