@vepler/schools-types
Version:
TypeScript type definitions for Vepler Schools Service
21 lines (20 loc) • 572 B
TypeScript
/**
* School Attribute Value Interface
*
* Represents a specific attribute value for a school, linked to a year.
*/
/**
* School attribute value interface
*/
export interface ISchoolAttributeValue {
/** ID of the school this attribute value belongs to */
schoolId: number;
/** Name of the attribute being measured */
attributeName: string;
/** Year the data was collected/applies to */
year: number;
/** Optional month if the data is month-specific */
month?: number;
/** The actual value of the attribute */
value: string;
}