@aibrains/shared-types 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/schemas/academics/assignment.schema.d.ts +10 -10
  2. package/dist/schemas/academics/course.schema.d.ts +10 -10
  3. package/dist/schemas/academics/grade.schema.d.ts +13 -13
  4. package/dist/schemas/enrollment/enrollment.schema.d.ts +49 -49
  5. package/dist/schemas/identity/academic-year.schema.d.ts +12 -12
  6. package/dist/schemas/identity/auth.schema.d.ts +10 -10
  7. package/dist/schemas/identity/credential.schema.d.ts +12 -12
  8. package/dist/schemas/identity/education-org-descriptors.d.ts +314 -0
  9. package/dist/schemas/identity/education-org-descriptors.d.ts.map +1 -0
  10. package/dist/schemas/identity/education-org-descriptors.js +245 -0
  11. package/dist/schemas/identity/education-org-descriptors.js.map +1 -0
  12. package/dist/schemas/identity/education-org-hierarchy.schema.d.ts +65 -0
  13. package/dist/schemas/identity/education-org-hierarchy.schema.d.ts.map +1 -0
  14. package/dist/schemas/identity/education-org-hierarchy.schema.js +46 -0
  15. package/dist/schemas/identity/education-org-hierarchy.schema.js.map +1 -0
  16. package/dist/schemas/identity/education-organization.schema.d.ts +127 -0
  17. package/dist/schemas/identity/education-organization.schema.d.ts.map +1 -0
  18. package/dist/schemas/identity/education-organization.schema.js +102 -0
  19. package/dist/schemas/identity/education-organization.schema.js.map +1 -0
  20. package/dist/schemas/identity/education-service-center.schema.d.ts +826 -0
  21. package/dist/schemas/identity/education-service-center.schema.d.ts.map +1 -0
  22. package/dist/schemas/identity/education-service-center.schema.js +85 -0
  23. package/dist/schemas/identity/education-service-center.schema.js.map +1 -0
  24. package/dist/schemas/identity/index.d.ts +8 -0
  25. package/dist/schemas/identity/index.d.ts.map +1 -1
  26. package/dist/schemas/identity/index.js +9 -0
  27. package/dist/schemas/identity/index.js.map +1 -1
  28. package/dist/schemas/identity/local-education-agency.schema.d.ts +888 -0
  29. package/dist/schemas/identity/local-education-agency.schema.d.ts.map +1 -0
  30. package/dist/schemas/identity/local-education-agency.schema.js +96 -0
  31. package/dist/schemas/identity/local-education-agency.schema.js.map +1 -0
  32. package/dist/schemas/identity/school.schema.d.ts +404 -0
  33. package/dist/schemas/identity/school.schema.d.ts.map +1 -1
  34. package/dist/schemas/identity/school.schema.js +35 -0
  35. package/dist/schemas/identity/school.schema.js.map +1 -1
  36. package/dist/schemas/identity/staff-assignment.schema.d.ts +240 -0
  37. package/dist/schemas/identity/staff-assignment.schema.d.ts.map +1 -0
  38. package/dist/schemas/identity/staff-assignment.schema.js +72 -0
  39. package/dist/schemas/identity/staff-assignment.schema.js.map +1 -0
  40. package/dist/schemas/identity/staff-employment-history.schema.d.ts +114 -0
  41. package/dist/schemas/identity/staff-employment-history.schema.d.ts.map +1 -0
  42. package/dist/schemas/identity/staff-employment-history.schema.js +31 -0
  43. package/dist/schemas/identity/staff-employment-history.schema.js.map +1 -0
  44. package/dist/schemas/identity/staff.schema.d.ts +482 -10
  45. package/dist/schemas/identity/staff.schema.d.ts.map +1 -1
  46. package/dist/schemas/identity/staff.schema.js +15 -1
  47. package/dist/schemas/identity/staff.schema.js.map +1 -1
  48. package/dist/schemas/identity/state-education-agency.schema.d.ts +511 -0
  49. package/dist/schemas/identity/state-education-agency.schema.d.ts.map +1 -0
  50. package/dist/schemas/identity/state-education-agency.schema.js +68 -0
  51. package/dist/schemas/identity/state-education-agency.schema.js.map +1 -0
  52. package/dist/schemas/identity/user.schema.d.ts +10 -10
  53. package/package.json +9 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-education-agency.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/local-education-agency.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmD,CAAC;AACtF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAMvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EAQ1B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ /**
3
+ * Local Education Agency (LEA) Schemas - Identity Service
4
+ *
5
+ * Zod schemas for Local Education Agency (school district) CRUD operations.
6
+ * LEAs sit below the SEA in the Ed-Fi hierarchy and contain schools.
7
+ *
8
+ * Ed-Fi: LocalEducationAgency
9
+ * https://docs.ed-fi.org/reference/data-exchange/data-standard/model-reference/education-organization-domain/
10
+ */
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.leaFilterSchema = exports.leaListResponseSchema = exports.leaResponseSchema = exports.updateLocalEducationAgencySchema = exports.createLocalEducationAgencySchema = void 0;
13
+ const zod_1 = require("zod");
14
+ const common_1 = require("../common");
15
+ const education_org_descriptors_1 = require("./education-org-descriptors");
16
+ const education_organization_schema_1 = require("./education-organization.schema");
17
+ // ============================================
18
+ // Create LEA Schema
19
+ // ============================================
20
+ exports.createLocalEducationAgencySchema = zod_1.z.object({
21
+ // Ed-Fi Core Fields
22
+ localEducationAgencyId: zod_1.z.number().int().positive(), // Ed-Fi: localEducationAgencyId (numeric)
23
+ nameOfInstitution: zod_1.z.string().min(1).max(75), // Ed-Fi: nameOfInstitution
24
+ shortNameOfInstitution: zod_1.z.string().max(75).optional(), // Ed-Fi: shortNameOfInstitution
25
+ webSite: zod_1.z.string().url().optional(), // Ed-Fi: webSite
26
+ // LEA-Specific Fields
27
+ leaCategoryDescriptor: education_org_descriptors_1.leaCategoryDescriptorSchema, // Ed-Fi: localEducationAgencyCategoryDescriptor
28
+ charterStatusDescriptor: education_org_descriptors_1.charterStatusDescriptorSchema.optional(), // Ed-Fi: charterStatusDescriptor
29
+ // Status
30
+ operationalStatusDescriptor: education_org_descriptors_1.operationalStatusDescriptorSchema.default('Active'),
31
+ // Hierarchy References (UUIDs — internal IDs)
32
+ stateEducationAgencyId: zod_1.z.string().uuid().optional(), // Parent SEA reference
33
+ educationServiceCenterId: zod_1.z.string().uuid().optional(), // Associated ESC reference
34
+ parentLocalEducationAgencyId: zod_1.z.string().uuid().optional(), // Parent LEA (for intermediate LEAs)
35
+ // Ed-Fi Sub-Collections
36
+ categories: zod_1.z.array(education_organization_schema_1.educationOrgCategorySchema).min(1),
37
+ addresses: zod_1.z.array(education_organization_schema_1.educationOrgAddressSchema).optional(),
38
+ identificationCodes: zod_1.z.array(education_organization_schema_1.educationOrgIdentificationCodeSchema).optional(),
39
+ telephones: zod_1.z.array(education_organization_schema_1.institutionTelephoneSchema).optional(),
40
+ accountabilityRatings: zod_1.z.array(education_organization_schema_1.accountabilityRatingSchema).optional(),
41
+ });
42
+ // ============================================
43
+ // Update LEA Schema
44
+ // ============================================
45
+ exports.updateLocalEducationAgencySchema = exports.createLocalEducationAgencySchema.partial().omit({
46
+ localEducationAgencyId: true, // Cannot change the Ed-Fi ID
47
+ });
48
+ // ============================================
49
+ // LEA Response Schema
50
+ // ============================================
51
+ exports.leaResponseSchema = zod_1.z.object({
52
+ // Identifiers
53
+ id: zod_1.z.string().uuid(), // Internal UUID
54
+ localEducationAgencyId: zod_1.z.number().int(), // Ed-Fi numeric ID
55
+ tenantId: zod_1.z.string().uuid(),
56
+ // Ed-Fi Fields
57
+ nameOfInstitution: zod_1.z.string(),
58
+ shortNameOfInstitution: zod_1.z.string().optional(),
59
+ webSite: zod_1.z.string().optional(),
60
+ leaCategoryDescriptor: education_org_descriptors_1.leaCategoryDescriptorSchema,
61
+ charterStatusDescriptor: education_org_descriptors_1.charterStatusDescriptorSchema.optional(),
62
+ operationalStatusDescriptor: education_org_descriptors_1.operationalStatusDescriptorSchema,
63
+ // Hierarchy References
64
+ stateEducationAgencyId: zod_1.z.string().uuid().optional(),
65
+ educationServiceCenterId: zod_1.z.string().uuid().optional(),
66
+ parentLocalEducationAgencyId: zod_1.z.string().uuid().optional(),
67
+ // Sub-Collections
68
+ categories: zod_1.z.array(education_organization_schema_1.educationOrgCategorySchema),
69
+ addresses: zod_1.z.array(education_organization_schema_1.educationOrgAddressSchema).optional(),
70
+ identificationCodes: zod_1.z.array(education_organization_schema_1.educationOrgIdentificationCodeSchema).optional(),
71
+ telephones: zod_1.z.array(education_organization_schema_1.institutionTelephoneSchema).optional(),
72
+ accountabilityRatings: zod_1.z.array(education_organization_schema_1.accountabilityRatingSchema).optional(),
73
+ // Metadata
74
+ createdAt: common_1.isoDateSchema,
75
+ updatedAt: common_1.isoDateSchema,
76
+ createdBy: zod_1.z.string(),
77
+ updatedBy: zod_1.z.string(),
78
+ version: zod_1.z.number().int().min(0),
79
+ });
80
+ // ============================================
81
+ // LEA List Response
82
+ // ============================================
83
+ exports.leaListResponseSchema = (0, common_1.createPaginatedResponseSchema)(exports.leaResponseSchema);
84
+ // ============================================
85
+ // LEA Filter Schema
86
+ // ============================================
87
+ exports.leaFilterSchema = zod_1.z.object({
88
+ seaId: zod_1.z.string().uuid().optional(), // Filter by parent SEA
89
+ escId: zod_1.z.string().uuid().optional(), // Filter by associated ESC
90
+ leaCategoryDescriptor: education_org_descriptors_1.leaCategoryDescriptorSchema.optional(),
91
+ operationalStatus: education_org_descriptors_1.operationalStatusDescriptorSchema.optional(),
92
+ search: zod_1.z.string().optional(), // Name search
93
+ limit: zod_1.z.coerce.number().min(1).max(100).default(20),
94
+ cursor: zod_1.z.string().optional(),
95
+ });
96
+ //# sourceMappingURL=local-education-agency.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-education-agency.schema.js","sourceRoot":"","sources":["../../../src/schemas/identity/local-education-agency.schema.ts"],"names":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,iBAAiB,EAAE,6DAAiC,CAAC,QAAQ,EAAE;IAC/D,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAkC,cAAc;IAC7E,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACpD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC"}
@@ -153,6 +153,52 @@ export declare const createSchoolSchema: z.ZodObject<{
153
153
  locale: z.ZodDefault<z.ZodString>;
154
154
  academicCalendarType: z.ZodDefault<z.ZodEnum<["semester", "quarter", "trimester"]>>;
155
155
  logoUrl: z.ZodOptional<z.ZodString>;
156
+ localEducationAgencyId: z.ZodOptional<z.ZodString>;
157
+ schoolCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<["AllLevels", "Elementary", "HighSchool", "MiddleSchool", "SecondarySchool", "Ungraded"]>, "many">>;
158
+ schoolTypeDescriptor: z.ZodOptional<z.ZodEnum<["Regular", "SpecialEducation", "CareerAndTechnical", "Alternative"]>>;
159
+ gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["InfantToddler", "Prenursery", "Nursery", "Prekindergarten", "TransitionalKindergarten", "Kindergarten", "FirstGrade", "SecondGrade", "ThirdGrade", "FourthGrade", "FifthGrade", "SixthGrade", "SeventhGrade", "EighthGrade", "NinthGrade", "TenthGrade", "EleventhGrade", "TwelfthGrade", "Postsecondary", "Ungraded", "Other"]>, "many">>;
160
+ charterStatusDescriptor: z.ZodOptional<z.ZodEnum<["NotACharter", "SchoolCharter", "CollegeUniversityCharter", "OpenEnrollment"]>>;
161
+ administrativeFundingControlDescriptor: z.ZodOptional<z.ZodEnum<["Public", "Private", "Other"]>>;
162
+ titleIPartASchoolDesignationDescriptor: z.ZodOptional<z.ZodString>;
163
+ identificationCodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
164
+ identificationCode: z.ZodString;
165
+ educationOrganizationIdentificationSystemDescriptor: z.ZodEnum<["NCES", "SEA", "DUNS", "Federal", "Other"]>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ identificationCode: string;
168
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
169
+ }, {
170
+ identificationCode: string;
171
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
172
+ }>, "many">>;
173
+ institutionTelephones: z.ZodOptional<z.ZodArray<z.ZodObject<{
174
+ telephoneNumber: z.ZodString;
175
+ institutionTelephoneNumberTypeDescriptor: z.ZodEnum<["Main", "Administrative", "Fax", "Attendance"]>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ telephoneNumber: string;
178
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
179
+ }, {
180
+ telephoneNumber: string;
181
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
182
+ }>, "many">>;
183
+ accountabilityRatings: z.ZodOptional<z.ZodArray<z.ZodObject<{
184
+ schoolYear: z.ZodNumber;
185
+ title: z.ZodString;
186
+ rating: z.ZodString;
187
+ ratingOrganization: z.ZodOptional<z.ZodString>;
188
+ ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ schoolYear: number;
191
+ title: string;
192
+ rating: string;
193
+ ratingOrganization?: string | undefined;
194
+ ratingDate?: string | undefined;
195
+ }, {
196
+ schoolYear: number;
197
+ title: string;
198
+ rating: string;
199
+ ratingOrganization?: string | undefined;
200
+ ratingDate?: string | undefined;
201
+ }>, "many">>;
156
202
  }, "strip", z.ZodTypeAny, {
157
203
  timezone: string;
158
204
  schoolCode: string;
@@ -190,6 +236,28 @@ export declare const createSchoolSchema: z.ZodObject<{
190
236
  principalName?: string | undefined;
191
237
  principalEmail?: string | undefined;
192
238
  logoUrl?: string | undefined;
239
+ localEducationAgencyId?: string | undefined;
240
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
241
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
242
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
243
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
244
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
245
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
246
+ identificationCodes?: {
247
+ identificationCode: string;
248
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
249
+ }[] | undefined;
250
+ institutionTelephones?: {
251
+ telephoneNumber: string;
252
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
253
+ }[] | undefined;
254
+ accountabilityRatings?: {
255
+ schoolYear: number;
256
+ title: string;
257
+ rating: string;
258
+ ratingOrganization?: string | undefined;
259
+ ratingDate?: string | undefined;
260
+ }[] | undefined;
193
261
  }, {
194
262
  schoolCode: string;
195
263
  name: string;
@@ -227,6 +295,28 @@ export declare const createSchoolSchema: z.ZodObject<{
227
295
  locale?: string | undefined;
228
296
  academicCalendarType?: "semester" | "quarter" | "trimester" | undefined;
229
297
  logoUrl?: string | undefined;
298
+ localEducationAgencyId?: string | undefined;
299
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
300
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
301
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
302
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
303
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
304
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
305
+ identificationCodes?: {
306
+ identificationCode: string;
307
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
308
+ }[] | undefined;
309
+ institutionTelephones?: {
310
+ telephoneNumber: string;
311
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
312
+ }[] | undefined;
313
+ accountabilityRatings?: {
314
+ schoolYear: number;
315
+ title: string;
316
+ rating: string;
317
+ ratingOrganization?: string | undefined;
318
+ ratingDate?: string | undefined;
319
+ }[] | undefined;
230
320
  }>;
231
321
  export type CreateSchoolDto = z.infer<typeof createSchoolSchema>;
232
322
  export declare const updateSchoolSchema: z.ZodObject<{
@@ -306,6 +396,52 @@ export declare const updateSchoolSchema: z.ZodObject<{
306
396
  locale: z.ZodOptional<z.ZodString>;
307
397
  currentAcademicYearId: z.ZodOptional<z.ZodString>;
308
398
  logoUrl: z.ZodOptional<z.ZodString>;
399
+ localEducationAgencyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
+ schoolCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<["AllLevels", "Elementary", "HighSchool", "MiddleSchool", "SecondarySchool", "Ungraded"]>, "many">>;
401
+ schoolTypeDescriptor: z.ZodOptional<z.ZodEnum<["Regular", "SpecialEducation", "CareerAndTechnical", "Alternative"]>>;
402
+ gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["InfantToddler", "Prenursery", "Nursery", "Prekindergarten", "TransitionalKindergarten", "Kindergarten", "FirstGrade", "SecondGrade", "ThirdGrade", "FourthGrade", "FifthGrade", "SixthGrade", "SeventhGrade", "EighthGrade", "NinthGrade", "TenthGrade", "EleventhGrade", "TwelfthGrade", "Postsecondary", "Ungraded", "Other"]>, "many">>;
403
+ charterStatusDescriptor: z.ZodOptional<z.ZodEnum<["NotACharter", "SchoolCharter", "CollegeUniversityCharter", "OpenEnrollment"]>>;
404
+ administrativeFundingControlDescriptor: z.ZodOptional<z.ZodEnum<["Public", "Private", "Other"]>>;
405
+ titleIPartASchoolDesignationDescriptor: z.ZodOptional<z.ZodString>;
406
+ identificationCodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
407
+ identificationCode: z.ZodString;
408
+ educationOrganizationIdentificationSystemDescriptor: z.ZodEnum<["NCES", "SEA", "DUNS", "Federal", "Other"]>;
409
+ }, "strip", z.ZodTypeAny, {
410
+ identificationCode: string;
411
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
412
+ }, {
413
+ identificationCode: string;
414
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
415
+ }>, "many">>;
416
+ institutionTelephones: z.ZodOptional<z.ZodArray<z.ZodObject<{
417
+ telephoneNumber: z.ZodString;
418
+ institutionTelephoneNumberTypeDescriptor: z.ZodEnum<["Main", "Administrative", "Fax", "Attendance"]>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ telephoneNumber: string;
421
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
422
+ }, {
423
+ telephoneNumber: string;
424
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
425
+ }>, "many">>;
426
+ accountabilityRatings: z.ZodOptional<z.ZodArray<z.ZodObject<{
427
+ schoolYear: z.ZodNumber;
428
+ title: z.ZodString;
429
+ rating: z.ZodString;
430
+ ratingOrganization: z.ZodOptional<z.ZodString>;
431
+ ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
432
+ }, "strip", z.ZodTypeAny, {
433
+ schoolYear: number;
434
+ title: string;
435
+ rating: string;
436
+ ratingOrganization?: string | undefined;
437
+ ratingDate?: string | undefined;
438
+ }, {
439
+ schoolYear: number;
440
+ title: string;
441
+ rating: string;
442
+ ratingOrganization?: string | undefined;
443
+ ratingDate?: string | undefined;
444
+ }>, "many">>;
309
445
  }, "strip", z.ZodTypeAny, {
310
446
  status?: "active" | "inactive" | "setup" | "suspended" | "closed" | undefined;
311
447
  website?: string | undefined;
@@ -342,6 +478,28 @@ export declare const updateSchoolSchema: z.ZodObject<{
342
478
  principalEmail?: string | undefined;
343
479
  locale?: string | undefined;
344
480
  logoUrl?: string | undefined;
481
+ localEducationAgencyId?: string | null | undefined;
482
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
483
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
484
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
485
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
486
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
487
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
488
+ identificationCodes?: {
489
+ identificationCode: string;
490
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
491
+ }[] | undefined;
492
+ institutionTelephones?: {
493
+ telephoneNumber: string;
494
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
495
+ }[] | undefined;
496
+ accountabilityRatings?: {
497
+ schoolYear: number;
498
+ title: string;
499
+ rating: string;
500
+ ratingOrganization?: string | undefined;
501
+ ratingDate?: string | undefined;
502
+ }[] | undefined;
345
503
  currentAcademicYearId?: string | undefined;
346
504
  }, {
347
505
  status?: "active" | "inactive" | "setup" | "suspended" | "closed" | undefined;
@@ -379,6 +537,28 @@ export declare const updateSchoolSchema: z.ZodObject<{
379
537
  principalEmail?: string | undefined;
380
538
  locale?: string | undefined;
381
539
  logoUrl?: string | undefined;
540
+ localEducationAgencyId?: string | null | undefined;
541
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
542
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
543
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
544
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
545
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
546
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
547
+ identificationCodes?: {
548
+ identificationCode: string;
549
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
550
+ }[] | undefined;
551
+ institutionTelephones?: {
552
+ telephoneNumber: string;
553
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
554
+ }[] | undefined;
555
+ accountabilityRatings?: {
556
+ schoolYear: number;
557
+ title: string;
558
+ rating: string;
559
+ ratingOrganization?: string | undefined;
560
+ ratingDate?: string | undefined;
561
+ }[] | undefined;
382
562
  currentAcademicYearId?: string | undefined;
383
563
  }>;
384
564
  export type UpdateSchoolDto = z.infer<typeof updateSchoolSchema>;
@@ -465,6 +645,52 @@ export declare const schoolResponseSchema: z.ZodObject<{
465
645
  staffCount: z.ZodOptional<z.ZodNumber>;
466
646
  teacherCount: z.ZodOptional<z.ZodNumber>;
467
647
  logoUrl: z.ZodOptional<z.ZodString>;
648
+ localEducationAgencyId: z.ZodOptional<z.ZodString>;
649
+ schoolCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<["AllLevels", "Elementary", "HighSchool", "MiddleSchool", "SecondarySchool", "Ungraded"]>, "many">>;
650
+ schoolTypeDescriptor: z.ZodOptional<z.ZodEnum<["Regular", "SpecialEducation", "CareerAndTechnical", "Alternative"]>>;
651
+ gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["InfantToddler", "Prenursery", "Nursery", "Prekindergarten", "TransitionalKindergarten", "Kindergarten", "FirstGrade", "SecondGrade", "ThirdGrade", "FourthGrade", "FifthGrade", "SixthGrade", "SeventhGrade", "EighthGrade", "NinthGrade", "TenthGrade", "EleventhGrade", "TwelfthGrade", "Postsecondary", "Ungraded", "Other"]>, "many">>;
652
+ charterStatusDescriptor: z.ZodOptional<z.ZodEnum<["NotACharter", "SchoolCharter", "CollegeUniversityCharter", "OpenEnrollment"]>>;
653
+ administrativeFundingControlDescriptor: z.ZodOptional<z.ZodEnum<["Public", "Private", "Other"]>>;
654
+ titleIPartASchoolDesignationDescriptor: z.ZodOptional<z.ZodString>;
655
+ identificationCodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
656
+ identificationCode: z.ZodString;
657
+ educationOrganizationIdentificationSystemDescriptor: z.ZodEnum<["NCES", "SEA", "DUNS", "Federal", "Other"]>;
658
+ }, "strip", z.ZodTypeAny, {
659
+ identificationCode: string;
660
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
661
+ }, {
662
+ identificationCode: string;
663
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
664
+ }>, "many">>;
665
+ institutionTelephones: z.ZodOptional<z.ZodArray<z.ZodObject<{
666
+ telephoneNumber: z.ZodString;
667
+ institutionTelephoneNumberTypeDescriptor: z.ZodEnum<["Main", "Administrative", "Fax", "Attendance"]>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ telephoneNumber: string;
670
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
671
+ }, {
672
+ telephoneNumber: string;
673
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
674
+ }>, "many">>;
675
+ accountabilityRatings: z.ZodOptional<z.ZodArray<z.ZodObject<{
676
+ schoolYear: z.ZodNumber;
677
+ title: z.ZodString;
678
+ rating: z.ZodString;
679
+ ratingOrganization: z.ZodOptional<z.ZodString>;
680
+ ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ schoolYear: number;
683
+ title: string;
684
+ rating: string;
685
+ ratingOrganization?: string | undefined;
686
+ ratingDate?: string | undefined;
687
+ }, {
688
+ schoolYear: number;
689
+ title: string;
690
+ rating: string;
691
+ ratingOrganization?: string | undefined;
692
+ ratingDate?: string | undefined;
693
+ }>, "many">>;
468
694
  createdAt: z.ZodString;
469
695
  updatedAt: z.ZodString;
470
696
  }, "strip", z.ZodTypeAny, {
@@ -508,6 +734,28 @@ export declare const schoolResponseSchema: z.ZodObject<{
508
734
  principalName?: string | undefined;
509
735
  principalEmail?: string | undefined;
510
736
  logoUrl?: string | undefined;
737
+ localEducationAgencyId?: string | undefined;
738
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
739
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
740
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
741
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
742
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
743
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
744
+ identificationCodes?: {
745
+ identificationCode: string;
746
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
747
+ }[] | undefined;
748
+ institutionTelephones?: {
749
+ telephoneNumber: string;
750
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
751
+ }[] | undefined;
752
+ accountabilityRatings?: {
753
+ schoolYear: number;
754
+ title: string;
755
+ rating: string;
756
+ ratingOrganization?: string | undefined;
757
+ ratingDate?: string | undefined;
758
+ }[] | undefined;
511
759
  currentAcademicYearId?: string | undefined;
512
760
  studentCount?: number | undefined;
513
761
  staffCount?: number | undefined;
@@ -553,6 +801,28 @@ export declare const schoolResponseSchema: z.ZodObject<{
553
801
  principalName?: string | undefined;
554
802
  principalEmail?: string | undefined;
555
803
  logoUrl?: string | undefined;
804
+ localEducationAgencyId?: string | undefined;
805
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
806
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
807
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
808
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
809
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
810
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
811
+ identificationCodes?: {
812
+ identificationCode: string;
813
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
814
+ }[] | undefined;
815
+ institutionTelephones?: {
816
+ telephoneNumber: string;
817
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
818
+ }[] | undefined;
819
+ accountabilityRatings?: {
820
+ schoolYear: number;
821
+ title: string;
822
+ rating: string;
823
+ ratingOrganization?: string | undefined;
824
+ ratingDate?: string | undefined;
825
+ }[] | undefined;
556
826
  currentAcademicYearId?: string | undefined;
557
827
  studentCount?: number | undefined;
558
828
  staffCount?: number | undefined;
@@ -643,6 +913,52 @@ export declare const schoolListResponseSchema: z.ZodObject<{
643
913
  staffCount: z.ZodOptional<z.ZodNumber>;
644
914
  teacherCount: z.ZodOptional<z.ZodNumber>;
645
915
  logoUrl: z.ZodOptional<z.ZodString>;
916
+ localEducationAgencyId: z.ZodOptional<z.ZodString>;
917
+ schoolCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<["AllLevels", "Elementary", "HighSchool", "MiddleSchool", "SecondarySchool", "Ungraded"]>, "many">>;
918
+ schoolTypeDescriptor: z.ZodOptional<z.ZodEnum<["Regular", "SpecialEducation", "CareerAndTechnical", "Alternative"]>>;
919
+ gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["InfantToddler", "Prenursery", "Nursery", "Prekindergarten", "TransitionalKindergarten", "Kindergarten", "FirstGrade", "SecondGrade", "ThirdGrade", "FourthGrade", "FifthGrade", "SixthGrade", "SeventhGrade", "EighthGrade", "NinthGrade", "TenthGrade", "EleventhGrade", "TwelfthGrade", "Postsecondary", "Ungraded", "Other"]>, "many">>;
920
+ charterStatusDescriptor: z.ZodOptional<z.ZodEnum<["NotACharter", "SchoolCharter", "CollegeUniversityCharter", "OpenEnrollment"]>>;
921
+ administrativeFundingControlDescriptor: z.ZodOptional<z.ZodEnum<["Public", "Private", "Other"]>>;
922
+ titleIPartASchoolDesignationDescriptor: z.ZodOptional<z.ZodString>;
923
+ identificationCodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
924
+ identificationCode: z.ZodString;
925
+ educationOrganizationIdentificationSystemDescriptor: z.ZodEnum<["NCES", "SEA", "DUNS", "Federal", "Other"]>;
926
+ }, "strip", z.ZodTypeAny, {
927
+ identificationCode: string;
928
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
929
+ }, {
930
+ identificationCode: string;
931
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
932
+ }>, "many">>;
933
+ institutionTelephones: z.ZodOptional<z.ZodArray<z.ZodObject<{
934
+ telephoneNumber: z.ZodString;
935
+ institutionTelephoneNumberTypeDescriptor: z.ZodEnum<["Main", "Administrative", "Fax", "Attendance"]>;
936
+ }, "strip", z.ZodTypeAny, {
937
+ telephoneNumber: string;
938
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
939
+ }, {
940
+ telephoneNumber: string;
941
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
942
+ }>, "many">>;
943
+ accountabilityRatings: z.ZodOptional<z.ZodArray<z.ZodObject<{
944
+ schoolYear: z.ZodNumber;
945
+ title: z.ZodString;
946
+ rating: z.ZodString;
947
+ ratingOrganization: z.ZodOptional<z.ZodString>;
948
+ ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ schoolYear: number;
951
+ title: string;
952
+ rating: string;
953
+ ratingOrganization?: string | undefined;
954
+ ratingDate?: string | undefined;
955
+ }, {
956
+ schoolYear: number;
957
+ title: string;
958
+ rating: string;
959
+ ratingOrganization?: string | undefined;
960
+ ratingDate?: string | undefined;
961
+ }>, "many">>;
646
962
  createdAt: z.ZodString;
647
963
  updatedAt: z.ZodString;
648
964
  }, "strip", z.ZodTypeAny, {
@@ -686,6 +1002,28 @@ export declare const schoolListResponseSchema: z.ZodObject<{
686
1002
  principalName?: string | undefined;
687
1003
  principalEmail?: string | undefined;
688
1004
  logoUrl?: string | undefined;
1005
+ localEducationAgencyId?: string | undefined;
1006
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
1007
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
1008
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
1009
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
1010
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
1011
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
1012
+ identificationCodes?: {
1013
+ identificationCode: string;
1014
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
1015
+ }[] | undefined;
1016
+ institutionTelephones?: {
1017
+ telephoneNumber: string;
1018
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
1019
+ }[] | undefined;
1020
+ accountabilityRatings?: {
1021
+ schoolYear: number;
1022
+ title: string;
1023
+ rating: string;
1024
+ ratingOrganization?: string | undefined;
1025
+ ratingDate?: string | undefined;
1026
+ }[] | undefined;
689
1027
  currentAcademicYearId?: string | undefined;
690
1028
  studentCount?: number | undefined;
691
1029
  staffCount?: number | undefined;
@@ -731,6 +1069,28 @@ export declare const schoolListResponseSchema: z.ZodObject<{
731
1069
  principalName?: string | undefined;
732
1070
  principalEmail?: string | undefined;
733
1071
  logoUrl?: string | undefined;
1072
+ localEducationAgencyId?: string | undefined;
1073
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
1074
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
1075
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
1076
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
1077
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
1078
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
1079
+ identificationCodes?: {
1080
+ identificationCode: string;
1081
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
1082
+ }[] | undefined;
1083
+ institutionTelephones?: {
1084
+ telephoneNumber: string;
1085
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
1086
+ }[] | undefined;
1087
+ accountabilityRatings?: {
1088
+ schoolYear: number;
1089
+ title: string;
1090
+ rating: string;
1091
+ ratingOrganization?: string | undefined;
1092
+ ratingDate?: string | undefined;
1093
+ }[] | undefined;
734
1094
  currentAcademicYearId?: string | undefined;
735
1095
  studentCount?: number | undefined;
736
1096
  staffCount?: number | undefined;
@@ -781,6 +1141,28 @@ export declare const schoolListResponseSchema: z.ZodObject<{
781
1141
  principalName?: string | undefined;
782
1142
  principalEmail?: string | undefined;
783
1143
  logoUrl?: string | undefined;
1144
+ localEducationAgencyId?: string | undefined;
1145
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
1146
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
1147
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
1148
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
1149
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
1150
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
1151
+ identificationCodes?: {
1152
+ identificationCode: string;
1153
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
1154
+ }[] | undefined;
1155
+ institutionTelephones?: {
1156
+ telephoneNumber: string;
1157
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
1158
+ }[] | undefined;
1159
+ accountabilityRatings?: {
1160
+ schoolYear: number;
1161
+ title: string;
1162
+ rating: string;
1163
+ ratingOrganization?: string | undefined;
1164
+ ratingDate?: string | undefined;
1165
+ }[] | undefined;
784
1166
  currentAcademicYearId?: string | undefined;
785
1167
  studentCount?: number | undefined;
786
1168
  staffCount?: number | undefined;
@@ -831,6 +1213,28 @@ export declare const schoolListResponseSchema: z.ZodObject<{
831
1213
  principalName?: string | undefined;
832
1214
  principalEmail?: string | undefined;
833
1215
  logoUrl?: string | undefined;
1216
+ localEducationAgencyId?: string | undefined;
1217
+ schoolCategories?: ("AllLevels" | "Elementary" | "HighSchool" | "MiddleSchool" | "SecondarySchool" | "Ungraded")[] | undefined;
1218
+ schoolTypeDescriptor?: "Regular" | "SpecialEducation" | "CareerAndTechnical" | "Alternative" | undefined;
1219
+ gradeLevels?: ("Kindergarten" | "Ungraded" | "Other" | "InfantToddler" | "Prenursery" | "Nursery" | "Prekindergarten" | "TransitionalKindergarten" | "FirstGrade" | "SecondGrade" | "ThirdGrade" | "FourthGrade" | "FifthGrade" | "SixthGrade" | "SeventhGrade" | "EighthGrade" | "NinthGrade" | "TenthGrade" | "EleventhGrade" | "TwelfthGrade" | "Postsecondary")[] | undefined;
1220
+ charterStatusDescriptor?: "NotACharter" | "SchoolCharter" | "CollegeUniversityCharter" | "OpenEnrollment" | undefined;
1221
+ administrativeFundingControlDescriptor?: "Other" | "Public" | "Private" | undefined;
1222
+ titleIPartASchoolDesignationDescriptor?: string | undefined;
1223
+ identificationCodes?: {
1224
+ identificationCode: string;
1225
+ educationOrganizationIdentificationSystemDescriptor: "Other" | "NCES" | "SEA" | "DUNS" | "Federal";
1226
+ }[] | undefined;
1227
+ institutionTelephones?: {
1228
+ telephoneNumber: string;
1229
+ institutionTelephoneNumberTypeDescriptor: "Main" | "Administrative" | "Fax" | "Attendance";
1230
+ }[] | undefined;
1231
+ accountabilityRatings?: {
1232
+ schoolYear: number;
1233
+ title: string;
1234
+ rating: string;
1235
+ ratingOrganization?: string | undefined;
1236
+ ratingDate?: string | undefined;
1237
+ }[] | undefined;
834
1238
  currentAcademicYearId?: string | undefined;
835
1239
  studentCount?: number | undefined;
836
1240
  staffCount?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"school.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/school.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,gBAAgB,6GAS3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,kBAAkB,mEAM7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,0BAA0B,iDAA+C,CAAC;AACvF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAM9E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EAOlC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAM3E,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAMzE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU9B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG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