{
  "formatVersion": 1,
  "database": {
    "version": 1,
    "identityHash": "69f8a982d721a7067748166e45274656",
    "entities": [
      {
        "tableName": "PersonEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pGuid` TEXT NOT NULL, `pGuidHash` INTEGER NOT NULL, `pActive` INTEGER NOT NULL, `pLastModified` INTEGER NOT NULL, `pUsername` TEXT, `pGivenName` TEXT NOT NULL, `pFamilyName` TEXT NOT NULL, `pMiddleName` TEXT, PRIMARY KEY(`pGuidHash`))",
        "fields": [
          {
            "fieldPath": "pGuid",
            "columnName": "pGuid",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "pGuidHash",
            "columnName": "pGuidHash",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "pActive",
            "columnName": "pActive",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "pLastModified",
            "columnName": "pLastModified",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "pUsername",
            "columnName": "pUsername",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "pGivenName",
            "columnName": "pGivenName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "pFamilyName",
            "columnName": "pFamilyName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "pMiddleName",
            "columnName": "pMiddleName",
            "affinity": "TEXT"
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "pGuidHash"
          ]
        }
      },
      {
        "tableName": "PersonRoleEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`prUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `prPersonGuidHash` INTEGER NOT NULL, `prIsPrimaryRole` INTEGER NOT NULL, `prRoleType` INTEGER NOT NULL, `prBeginDate` INTEGER, `prEndDate` INTEGER)",
        "fields": [
          {
            "fieldPath": "prUid",
            "columnName": "prUid",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "prPersonGuidHash",
            "columnName": "prPersonGuidHash",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "prIsPrimaryRole",
            "columnName": "prIsPrimaryRole",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "prRoleType",
            "columnName": "prRoleType",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "prBeginDate",
            "columnName": "prBeginDate",
            "affinity": "INTEGER"
          },
          {
            "fieldPath": "prEndDate",
            "columnName": "prEndDate",
            "affinity": "INTEGER"
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "prUid"
          ]
        }
      },
      {
        "tableName": "PersonPasswordEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pppGuid` INTEGER NOT NULL, `authAlgorithm` TEXT NOT NULL, `authEncoded` TEXT NOT NULL, `authSalt` TEXT NOT NULL, `authIterations` INTEGER NOT NULL, `authKeyLen` INTEGER NOT NULL, PRIMARY KEY(`pppGuid`))",
        "fields": [
          {
            "fieldPath": "pppGuid",
            "columnName": "pppGuid",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "authAlgorithm",
            "columnName": "authAlgorithm",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authEncoded",
            "columnName": "authEncoded",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authSalt",
            "columnName": "authSalt",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authIterations",
            "columnName": "authIterations",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "authKeyLen",
            "columnName": "authKeyLen",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "pppGuid"
          ]
        }
      },
      {
        "tableName": "AuthTokenEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`atUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `atPGuidHash` INTEGER NOT NULL, `atPGuid` TEXT NOT NULL, `atCode` TEXT, `atToken` TEXT NOT NULL, `atTimeCreated` INTEGER NOT NULL, `atTtl` INTEGER NOT NULL)",
        "fields": [
          {
            "fieldPath": "atUid",
            "columnName": "atUid",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "atPGuidHash",
            "columnName": "atPGuidHash",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "atPGuid",
            "columnName": "atPGuid",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "atCode",
            "columnName": "atCode",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "atToken",
            "columnName": "atToken",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "atTimeCreated",
            "columnName": "atTimeCreated",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "atTtl",
            "columnName": "atTtl",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "atUid"
          ]
        }
      },
      {
        "tableName": "OneRosterClassEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`classSourcedId` TEXT NOT NULL, `classStatus` TEXT NOT NULL, `classDateLastModified` INTEGER NOT NULL, `classTitle` TEXT NOT NULL, `classLocation` TEXT, `classMetadata` TEXT, PRIMARY KEY(`classSourcedId`))",
        "fields": [
          {
            "fieldPath": "classSourcedId",
            "columnName": "classSourcedId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "classStatus",
            "columnName": "classStatus",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "classDateLastModified",
            "columnName": "classDateLastModified",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "classTitle",
            "columnName": "classTitle",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "classLocation",
            "columnName": "classLocation",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "classMetadata",
            "columnName": "classMetadata",
            "affinity": "TEXT"
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "classSourcedId"
          ]
        }
      },
      {
        "tableName": "OneRosterUserEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`userSourcedId` TEXT NOT NULL, `userStatus` TEXT NOT NULL, `userDateLastModified` INTEGER NOT NULL, `userMetadata` TEXT, `userMasterIdentifier` TEXT, `username` TEXT, `userIds` TEXT, `enabledUser` INTEGER NOT NULL, `givenName` TEXT NOT NULL, `familyName` TEXT NOT NULL, `middleName` TEXT, `preferredFirstName` TEXT, `preferredMiddleName` TEXT, `preferredLastName` TEXT, `pronouns` TEXT, `roles` TEXT, `userProfiles` TEXT, `identifier` TEXT, `email` TEXT, `sms` TEXT, `phone` TEXT, `grades` TEXT, `password` TEXT, `resources` TEXT, PRIMARY KEY(`userSourcedId`))",
        "fields": [
          {
            "fieldPath": "userSourcedId",
            "columnName": "userSourcedId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "userStatus",
            "columnName": "userStatus",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "userDateLastModified",
            "columnName": "userDateLastModified",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "userMetadata",
            "columnName": "userMetadata",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "userMasterIdentifier",
            "columnName": "userMasterIdentifier",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "username",
            "columnName": "username",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "userIds",
            "columnName": "userIds",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "enabledUser",
            "columnName": "enabledUser",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "givenName",
            "columnName": "givenName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "familyName",
            "columnName": "familyName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "middleName",
            "columnName": "middleName",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "preferredFirstName",
            "columnName": "preferredFirstName",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "preferredMiddleName",
            "columnName": "preferredMiddleName",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "preferredLastName",
            "columnName": "preferredLastName",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "pronouns",
            "columnName": "pronouns",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "roles",
            "columnName": "roles",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "userProfiles",
            "columnName": "userProfiles",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "identifier",
            "columnName": "identifier",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "email",
            "columnName": "email",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "sms",
            "columnName": "sms",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "phone",
            "columnName": "phone",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "grades",
            "columnName": "grades",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "password",
            "columnName": "password",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "resources",
            "columnName": "resources",
            "affinity": "TEXT"
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "userSourcedId"
          ]
        }
      },
      {
        "tableName": "ReportEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`reportId` TEXT NOT NULL, `ownerGuid` TEXT NOT NULL, `title` TEXT NOT NULL, `reportOptions` TEXT NOT NULL, `reportIsTemplate` INTEGER NOT NULL, `active` INTEGER NOT NULL, PRIMARY KEY(`reportId`))",
        "fields": [
          {
            "fieldPath": "reportId",
            "columnName": "reportId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "ownerGuid",
            "columnName": "ownerGuid",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "title",
            "columnName": "title",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "reportOptions",
            "columnName": "reportOptions",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "reportIsTemplate",
            "columnName": "reportIsTemplate",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "active",
            "columnName": "active",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "reportId"
          ]
        }
      },
      {
        "tableName": "IndicatorEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`indicatorId` TEXT NOT NULL, `name` TEXT NOT NULL, `description` TEXT NOT NULL, `type` TEXT NOT NULL, `sql` TEXT NOT NULL, PRIMARY KEY(`indicatorId`))",
        "fields": [
          {
            "fieldPath": "indicatorId",
            "columnName": "indicatorId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "name",
            "columnName": "name",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "description",
            "columnName": "description",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "type",
            "columnName": "type",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "sql",
            "columnName": "sql",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "indicatorId"
          ]
        }
      }
    ],
    "setupQueries": [
      "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '69f8a982d721a7067748166e45274656')"
    ]
  }
}