Skip to content
Dennis Kugelmann edited this page Oct 17, 2015 · 1 revision

This is the data structure provide by the firebase database:

social-contacts: {
  users: {
    $uid: {
      email: String,
      name: String,
      bookID: String
    }
  },
  usersBooks: {
    $uid: {
      $bookID: {
        author: String,
        dedication: Boolean,
        id: Number,
        language: String,
        lending: {
          from: {
            name: String,
            till: String
          }
        }
        original: String,
        price: Number,
        retailprice: Number,
        status: String,
        tags: String,
        title: String
      }
    }
 },
 usersContacts: {
    $uid: {
      $contactID: {
        fullname: String,
        addresses: [
          addressID: String
        ],
        img: String,
        phones: [
          phoneID: String
        ],
        groups: [
          groupID: String
        ],
        extendedProperties: [
          propertyName: String
        ],
        companies: [
          companyID: {
            name: String,
            job: String
          }
        ],
        emails: [
          emailID: String
        ],
        dates: [
          dateID: String
        ],
        profiles: [
          profileID: String
        ],
        notes: [
          noteID: String
        ],
        relationships: [
          relationshipID: String
        ],
        IM: [
          IMID: String
        ],
        Tags: [
          tagID: String
        ],
        books: [
          bookID: String
        ],
        conversations: [
          conversationID: String
        ],
        marked: Boolean
      }
    }
 },
 usersGroups: {
    $uid: {
      $groupID: [
        contactID: String
      ]
    }
  },
  usersSettings: {
    $uid: {

    }
  }
}
Clone this wiki locally