---
title: 3.2.2 Directory Structure and Schema Mapping
description: "# Directory Structure for the i2b2 demo data package Once you have extracted the files from the i2b2 data package you will notice the following directory structure in your i2b2 data directory: ![](https://i2b2.atlassian.net/wiki/plugins/servlet/confluence/placeholder/unknown-macro?name=html-text&locale=en_US&version=2) | Directory | Description | | ---…"
url: "https://i2b2.org/docs/3-2-2-directory-structure-and-schema-mapping/"
updated: "2026-09-15"
category: i2b2 Installation Guide / Chapter 3. Data Installation / 3.2 Data Installation Overview
---

# 3.2.2 Directory Structure and Schema Mapping

# Directory Structure for the i2b2 demo data package

Once you have extracted the files from the i2b2 data package you will notice the following directory structure in your i2b2 data directory:

![](https://i2b2.atlassian.net/wiki/plugins/servlet/confluence/placeholder/unknown-macro?name=html-text&locale=en_US&version=2)

| Directory | Description |
| --- | --- |
| Crcdata | Contains the data installation files for the Data Repository (CRC) Cell. |
| Hivedata | Contains the data installation files for the i2b2 Hive. |
| Imdata | Contains the data installation files for the Identity Management (IM) Cell. |
| Metadata | Contains the data installation files for the Ontology Management (ONT) Cell. |
| Pmdata | Contains the data installation files for the Project Management (PM) Cell. |
| Workdata | Contains the data installation files for the Workplace Framework (WORK) Cell. |

**In each of the above directories you will find the following:**

| Directory or File | Description |
| --- | --- |
| Scripts | This directory contains all the scripts used during the data installation (create and load) |
| db.properties | Properties file to define the database setup parameters *(type, username, driver, etc.)* |

# Schema Mapping

As stated previous the main directory for your data installation is *YOUR_I2B2_DATA_DIR*\edu.harvard.i2b2.data\Release_1-7\NewInstall and within it are several folders contains the install scripts. These folder and the appropriate schema to which they are mapped are outlined in the following table.

| **Directory Folder** | **Schema** | **Project** |
| --- | --- | --- |
| Crcdata | i2b2demodata | Demo |
| Hivedata | i2b2hive |  |
| Imdata | i2b2imdata |  |
| Metadata | i2b2metadata | Demo |
| Pmdata | i2b2pm |  |
| Workdata | i2b2workdata | Demo |
