AnnoJ.DataTypes.ModelsLookupResponse

See Also: List of Data Types

Structure

		var AD = AnnoJ.DataTypes;
		
		AD.GeneLookupResponse = {
			success : AD.Boolean,
			count   : AD.PositiveInt,
			rows    : [
				{
					id          : AD.TinyText,
					assembly    : AD.TinyText,
					start       : AD.PositiveInt,
					end         : AD.PositiveInt,
					description : AD.TinyText
				}
			]
		};
		
		AD.Gene

	

Example

		var response = {
			success : true,
			count   : 3,
			rows    : [
				{
					id          : "AT4G34060.1",
					assembly    : "4",
					start       : 16314008,
					end         : 16319431,
					description : "DML3 (DEMETER-LIKE PROTEIN 3)  Identical to DEMETER-like protei..."
				},{
					id          : "AT5G04560.1",
					assembly    : "5",
					start       : 1309194,
					end         : 1318387,
					description : "DME (DEMETER) Encodes a DNA glycosylase DEMETER (DME).  Respons..."
				},{
					id          : "AT5G04560.2",
					assembly    : "5",
					start       : 1309203,
					end         : 1318402,
					description : "DME (DEMETER) Encodes a DNA glycosylase DEMETER (DME).  Respons..."
				}
			]
		};