1. usuario (vendedor)
1.1. _id : ObjectId
1.2. n_usuario : string
1.3. plain _name : string
1.4. login : string (face,google,twitter)
1.5. id_login : string
1.6. username : string
1.7. email : string
1.8. ruc : long
1.9. nombre : string
1.10. direccion : string
1.11. telefonos : array[telefono]
1.11.1. n_telefono : string
1.11.2. codigo postal : string
1.11.3. principal : bool
1.12. emails : array [email]
1.12.1. email : string
1.12.2. principal : bool
1.12.3. verificado : bool
1.12.4. codigo : string
1.13. ventas : array[transaccion]
1.13.1. _id : ObjectId
1.13.2. codigo venta : string
1.13.3. producto
1.13.3.1. _id : ObjectId
1.13.3.2. n_producto : string
1.13.3.3. cantidad : int
1.13.3.4. p unidad : float
1.13.3.5. p total : float
1.13.4. comprador
1.13.4.1. _id : ObjectId
1.13.4.2. nombres : string
1.13.4.3. apellidos : string
1.13.4.4. telefono : string
1.13.5. fecha : timestamp
1.14. meta
1.14.1. createdAt : datetime
1.14.2. updatedAt : timestamp
1.14.3. archived : bool
2. foto
2.1. _id : ObjectId
2.2. thumbnail url : string
2.3. actual url : string
2.4. medium url : string
2.5. meta
2.5.1. createdAt : datetime
2.5.2. updatedAt : timestamp
2.5.3. archived : bool
3. cliente (comprador)
3.1. _id : ObjectId
3.2. n_cliente : string
3.3. plain _name : string
3.4. login : string (face,google,twitter)
3.5. id_login : string
3.6. username : string
3.7. email : string
3.8. dni : long
3.9. nombres : string
3.10. apellidos : string
3.11. direccion : string
3.12. telefonos : array[telefono]
3.12.1. n_telefono : string
3.12.2. codigo postal : string
3.12.3. principal : bool
3.13. emails : array [email]
3.13.1. email : string
3.13.2. principal : bool
3.13.3. verificado : bool
3.13.4. codigo : string
3.14. compras : array[transaccion]
3.14.1. _id : ObjectId
3.14.2. codigo venta : string
3.14.3. producto
3.14.3.1. _id : ObjectId
3.14.3.2. n_producto : string
3.14.3.3. cantidad : int
3.14.3.4. p unidad : float
3.14.3.5. p total : float
3.14.4. vendedor
3.14.4.1. _id : ObjectId
3.14.4.2. nombre : string
3.14.5. fecha : timestamp
3.15. meta
3.15.1. createdAt : datetime
3.15.2. updatedAt : timestamp
3.15.3. archived : bool
4. categoria
4.1. _id : ObjectId
4.2. n_categoria : string
4.3. plain_name : string
4.4. parent : categoria
4.5. foto
4.5.1. _id : ObjectId
4.5.2. thumbnail url : string
4.6. meta
4.6.1. createdAt : datetime
4.6.2. updatedAt : timestamp
4.6.3. archived : bool
5. marca
5.1. _id : ObjectId
5.2. n_marca : string
5.3. plain_name : string
5.4. descripcion : string
5.5. foto
5.5.1. _id : ObjectId
5.5.2. thumbnail url : string
5.6. web url : string??
5.7. meta
5.7.1. createdAt : datetime
5.7.2. updatedAt : timestamp
5.7.3. archived : bool
6. transaccion
6.1. _id : ObjectId
6.2. codigo venta : string
6.3. producto
6.3.1. _id : ObjectId
6.3.2. n_producto : string
6.3.3. cantidad : int
6.3.4. p unidad : float
6.3.5. p total : float
6.4. vendedor
6.4.1. _id : ObjectId
6.4.2. nombre : string
6.5. comprador
6.5.1. _id : ObjectId
6.5.2. nombres : string
6.5.3. apellidos : string
6.5.4. telefono : string
6.6. fecha : timestamp
6.7. entregado : bool
6.8. regalia : float
6.9. anulado : bool
7. Producto
7.1. _id : ObjectId
7.2. codigo : string
7.3. n_producto : string
7.4. plain_name : string
7.5. descripcion
7.5.1. d_breve : string
7.5.2. d_larga : string
7.5.3. colores : array[string]
7.6. fotos : array[foto], min 5 en ropa, min 3 en otros
7.6.1. _id : ObjectId
7.6.2. thumbnail url : string
7.6.3. medium url : string
7.7. puntuacion : int (1-5 estrellas)
7.8. precio
7.8.1. normal : float
7.8.2. oferta
7.8.2.1. desde : date
7.8.2.2. hasta : date
7.8.2.3. precio : float
7.9. marca
7.9.1. id_ : ObjectId
7.9.2. n_marca : string
7.9.3. foto
7.9.3.1. _id : ObjectId
7.9.3.2. thumbnail url : string
7.10. categorias : array[categoria]
7.10.1. _id : ObjectId
7.10.2. n_categoria : string
7.11. stock : long
7.12. comentarios : array[]
7.12.1. _id : ObjectId
7.12.2. titulo : string
7.12.3. comentario : string
7.12.4. cliente
7.12.4.1. _id : ObjectId
7.12.4.2. n_cliente : string
7.12.4.3. imagen : url
7.12.5. calificacion : (spam, util, poco util)
7.12.6. puntuacion : int (1-5 estrellas)
7.13. venta
7.13.1. usuario (vendedor)
7.13.1.1. _id : ObjectId
7.13.1.2. n_usuario : string
7.13.1.3. foto
7.13.1.3.1. _id : ObjectId
7.13.1.3.2. thumbnail url : string
7.13.2. plazo entrega
7.13.2.1. plazo : int
7.13.2.2. unidad medida : string
7.13.3. porcentaje regalia : float
7.14. meta
7.14.1. createdAt : datetime
7.14.2. updatedAt : timestamp
7.14.3. archived : bool