Date: November 18, 2011
Version: Initial proposal
The data model proposed here is based on the Cassandra's data model.
User{
xx-aa-bb{
firstname {name: firstname, value: john, timestamp: 123456789}
lastname {name: lastname, value: smith, timestamp: 123456789}
password {name: password, value: mymd5pass, timestamp: 123456789}
email {name: email, value: jsmith@maritaca, timestamp: 123456789}
}
yy-dr-za{
firstname {name: firstname, value: albert, timestamp: 123454389}
lastname {name: lastname, value: einstein, timestamp: 123456384}
password {name: password, value: mymd5pass, timestamp: 123456349}
email {name: email, value: aeinstein@maritaca, timestamp: 123456349}
}
}
Form{
ut-aa-bb{
xml {name: xml, value: <form>...</form>, timestamp: 123456789}
userId {name: userId, value: yy-dr-za, timestamp: 123456789}
}
po-aa-bb{
xml {name: xml, value: <form>...</form>, timestamp: 123456789}
userId {name: userId, value: xx-aa-bb, timestamp: 123456789}
}
}
Response{
pl-aa-bb{
xml {name: xml, value: <form>...</form>, timestamp: 123456789}
userId {name: userId, value: yy-dr-za, timestamp: 123456789}
formId {name: formId, value: ut-aa-bb, timestamp: 123456789}
}
cv-aa-bb{
xml {name: xml, value: <form>...</form>, timestamp: 123456789}
userId {name: userId, value: xx-aa-bb, timestamp: 123456789}
formId {name: formId, value: po-aa-bb, timestamp: 123456789}
}
}