//
// schema.js
//
app.schema = function()
{
	// public methods
	function user(email, password)
	{
		var obj =  {email: email,
					password: password};					
		return obj;
	}
	
	function book()
	{
		var obj =  {authorFullName: null,
					title: null,
					subTitle: null,
					edition: null,
					ISBN: null,
					price: null,
					seller: null,
					condition: null};
		return obj;
/*
		//subject = []; // optional (from openlibrary)
		//table_of_contents = []; // optional (from openlibrary)
*/		
	}
	
	// public API
	return {user: user,
			book: book}
}();

//
// schema.js
//
app.schema = function()
{
	// public methods
	function user(email, password)
	{
		var obj =  {email: email,
					password: password};					
		return obj;
	}
	
	function book()
	{
		var obj =  {authorFullName: null,
					title: null,
					subTitle: null,
					edition: null,
					ISBN: null,
					price: null,
					seller: null};
		return obj;
/*
		//subject = []; // optional (from openlibrary)
		//table_of_contents = []; // optional (from openlibrary)
*/		
	}
	
	// public API
	return {user: user,
			book: book}
}();

Revert "Added "condition" property and clearAllFormData()"
Revert "Added "condition" property and clearAllFormData()"

This reverts commit 77e70b36553e8a334c246608413a4ef69009897a.
