/** * OneRoster Schemas * * Zod schemas for OneRoster inputs used across CLI and SDK clients. */ import { z } from 'zod/v4'; /** * Input for assigning a role to a user. */ export declare const OneRosterUserRoleInput: z.ZodObject<{ roleType: z.ZodEnum<{ primary: "primary"; secondary: "secondary"; }>; role: z.ZodEnum<{ administrator: "administrator"; aide: "aide"; guardian: "guardian"; parent: "parent"; proctor: "proctor"; relative: "relative"; student: "student"; teacher: "teacher"; }>; org: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; userProfile: z.ZodOptional; metadata: z.ZodOptional>>; beginDate: z.ZodOptional, z.ZodTransform>>; endDate: z.ZodOptional, z.ZodTransform>>; }, z.core.$strict>; /** * Input for creating a OneRoster user. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterUserCreateInput: z.ZodObject<{ sourcedId: z.ZodString; status: z.ZodOptional>; enabledUser: z.ZodUnion, z.ZodTransform>]>; givenName: z.ZodString; familyName: z.ZodString; middleName: z.ZodOptional>; preferredFirstName: z.ZodOptional>; preferredMiddleName: z.ZodOptional>; preferredLastName: z.ZodOptional>; username: z.ZodOptional>; email: z.ZodEmail; userMasterIdentifier: z.ZodOptional>; roles: z.ZodArray; role: z.ZodEnum<{ administrator: "administrator"; aide: "aide"; guardian: "guardian"; parent: "parent"; proctor: "proctor"; relative: "relative"; student: "student"; teacher: "teacher"; }>; org: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; userProfile: z.ZodOptional; metadata: z.ZodOptional>>; beginDate: z.ZodOptional, z.ZodTransform>>; endDate: z.ZodOptional, z.ZodTransform>>; }, z.core.$strict>>; userIds: z.ZodOptional>>; agents: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; primaryOrg: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>; sms: z.ZodOptional>; phone: z.ZodOptional>; pronouns: z.ZodOptional>; password: z.ZodOptional>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster course. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterCourseCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; title: z.ZodString; org: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; courseCode: z.ZodOptional>; subjects: z.ZodOptional>>>; subjectCodes: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; level: z.ZodOptional>; academicSession: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; schoolYear: z.ZodOptional; href: z.ZodURL; }, z.core.$strict>>>; gradingScheme: z.ZodOptional>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster class. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterClassCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; status: z.ZodOptional>; title: z.ZodString; terms: z.ZodArray; href: z.ZodOptional; }, z.core.$strict>>; course: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; org: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; classCode: z.ZodOptional>; classType: z.ZodOptional>; location: z.ZodOptional>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>; subjects: z.ZodOptional>>; subjectCodes: z.ZodOptional>; periods: z.ZodOptional>; metadata: z.ZodOptional>>; }, z.core.$strict>; export declare const OneRosterEnrollmentCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; status: z.ZodOptional>; user: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; class: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; school: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>; role: z.ZodEnum<{ administrator: "administrator"; proctor: "proctor"; student: "student"; teacher: "teacher"; }>; primary: z.ZodOptional>; beginDate: z.ZodOptional; endDate: z.ZodOptional; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster category. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterCategoryCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; title: z.ZodString; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; weight: z.ZodOptional>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster line item. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterLineItemCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; title: z.ZodString; class: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; school: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; category: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; assignDate: z.ZodPipe, z.ZodTransform>; dueDate: z.ZodPipe, z.ZodTransform>; status: z.ZodOptional>; description: z.ZodOptional>; resultValueMin: z.ZodOptional>; resultValueMax: z.ZodOptional>; gradingPeriod: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; academicSession: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; scoreScale: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster result (grade). * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterResultCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; lineItem: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; student: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; class: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; scoreDate: z.ZodPipe, z.ZodTransform>; scoreStatus: z.ZodEnum<{ exempt: "exempt"; "fully graded": "fully graded"; "not submitted": "not submitted"; "partially graded": "partially graded"; submitted: "submitted"; }>; score: z.ZodOptional>; textScore: z.ZodOptional>; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; scoreScale: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; comment: z.ZodOptional>; learningObjectiveSet: z.ZodOptional; textScore: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>>; inProgress: z.ZodOptional; incomplete: z.ZodOptional; late: z.ZodOptional; missing: z.ZodOptional; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster score scale. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterScoreScaleCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; title: z.ZodString; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; type: z.ZodString; class: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; course: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; scoreScaleValue: z.ZodArray; description: z.ZodOptional; }, z.core.$strict>>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster assessment line item. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterAssessmentLineItemCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; dateLastModified: z.ZodOptional; title: z.ZodString; description: z.ZodOptional>; class: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; parentAssessmentLineItem: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; scoreScale: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; resultValueMin: z.ZodOptional>; resultValueMax: z.ZodOptional>; component: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; componentResource: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; learningObjectiveSet: z.ZodNullable; }, z.core.$strip>>>>; course: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster assessment result. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterAssessmentResultCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; dateLastModified: z.ZodOptional; metadata: z.ZodOptional>>; assessmentLineItem: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; student: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; score: z.ZodOptional>; textScore: z.ZodOptional>; scoreDate: z.ZodPipe, z.ZodTransform>; scoreScale: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; scorePercentile: z.ZodOptional>; scoreStatus: z.ZodEnum<{ exempt: "exempt"; "fully graded": "fully graded"; "not submitted": "not submitted"; "partially graded": "partially graded"; submitted: "submitted"; }>; comment: z.ZodOptional>; learningObjectiveSet: z.ZodOptional; textScore: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>>; inProgress: z.ZodOptional>; incomplete: z.ZodOptional>; late: z.ZodOptional>; missing: z.ZodOptional>; }, z.core.$strict>; /** * Input for creating a OneRoster organization. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterOrgCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; status: z.ZodOptional>; name: z.ZodString; type: z.ZodEnum<{ department: "department"; district: "district"; local: "local"; national: "national"; school: "school"; state: "state"; }>; identifier: z.ZodOptional>; parent: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster school (org with type='school'). * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterSchoolCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; status: z.ZodOptional>; name: z.ZodString; type: z.ZodDefault>; identifier: z.ZodOptional>; parent: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster academic session. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterAcademicSessionCreateInput: z.ZodObject<{ sourcedId: z.ZodString; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; title: z.ZodString; startDate: z.ZodPipe, z.ZodTransform>; endDate: z.ZodPipe, z.ZodTransform>; type: z.ZodEnum<{ gradingPeriod: "gradingPeriod"; schoolYear: "schoolYear"; semester: "semester"; term: "term"; }>; schoolYear: z.ZodString; org: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; parent: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>; children: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster component resource. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterComponentResourceCreateInput: z.ZodObject<{ sourcedId: z.ZodString; title: z.ZodString; courseComponent: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; resource: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; sortOrder: z.ZodOptional; lessonType: z.ZodOptional>>; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for creating a OneRoster course component. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterCourseComponentCreateInput: z.ZodPipe; title: z.ZodString; course: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; sortOrder: z.ZodOptional; parent: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; courseComponent: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>>>; prerequisites: z.ZodOptional>>; prerequisiteCriteria: z.ZodOptional>; unlockDate: z.ZodOptional, z.ZodTransform>>>; metadata: z.ZodOptional>>; }, z.core.$strict>, z.ZodTransform<{ sourcedId?: string | undefined; title: string; course: { sourcedId: string; type?: string | undefined; href?: string | undefined; }; status: "active" | "tobedeleted"; sortOrder?: number | undefined; prerequisites?: string[] | null | undefined; prerequisiteCriteria?: string | null | undefined; unlockDate?: string | null | undefined; metadata?: Record | null | undefined; parent: { sourcedId: string; type?: string | undefined; href?: string | undefined; } | null | undefined; }, { sourcedId?: string | undefined; title: string; course: { sourcedId: string; type?: string | undefined; href?: string | undefined; }; status: "active" | "tobedeleted"; sortOrder?: number | undefined; parent?: { sourcedId: string; type?: string | undefined; href?: string | undefined; } | null | undefined; courseComponent?: { sourcedId: string; type?: string | undefined; href?: string | undefined; } | null | undefined; prerequisites?: string[] | null | undefined; prerequisiteCriteria?: string | null | undefined; unlockDate?: string | null | undefined; metadata?: Record | null | undefined; }>>; /** * Input for enrolling a user in a class (convenience method). * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterEnrollInput: z.ZodObject<{ sourcedId: z.ZodString; role: z.ZodEnum<{ student: "student"; teacher: "teacher"; }>; primary: z.ZodOptional>; beginDate: z.ZodOptional; endDate: z.ZodOptional; metadata: z.ZodOptional>>; }, z.core.$strict>; /** * Input for adding an agent (parent/guardian) relationship. * * Enforces agentSourcedId. */ export declare const OneRosterAgentInput: z.ZodObject<{ agentSourcedId: z.ZodString; }, z.core.$strict>; /** * Input for registering student credentials for a third-party application. */ export declare const OneRosterCredentialInput: z.ZodObject<{ applicationName: z.ZodString; credentials: z.ZodObject<{ username: z.ZodString; password: z.ZodString; }, z.core.$strip>; }, z.core.$strict>; /** * Input for creating/updating demographics. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterDemographicsCreateInput: z.ZodObject<{ sourcedId: z.ZodString; status: z.ZodOptional>; metadata: z.ZodOptional>>; birthDate: z.ZodOptional>; sex: z.ZodOptional>>; americanIndianOrAlaskaNative: z.ZodOptional>>; asian: z.ZodOptional>>; blackOrAfricanAmerican: z.ZodOptional>>; nativeHawaiianOrOtherPacificIslander: z.ZodOptional>>; white: z.ZodOptional>>; demographicRaceTwoOrMoreRaces: z.ZodOptional>>; hispanicOrLatinoEthnicity: z.ZodOptional>>; countryOfBirthCode: z.ZodOptional>; stateOfBirthAbbreviation: z.ZodOptional>; cityOfBirth: z.ZodOptional>; publicSchoolResidenceStatus: z.ZodOptional>; }, z.core.$strict>; /** * QTI resource metadata schema. */ export declare const QtiMetadataSchema: z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"qti">; subType: z.ZodEnum<{ "qti-question": "qti-question"; "qti-stimulus": "qti-stimulus"; "qti-test": "qti-test"; "qti-test-bank": "qti-test-bank"; }>; questionType: z.ZodOptional>; difficulty: z.ZodOptional>; }, z.core.$loose>; /** * Text resource metadata schema. */ export declare const TextMetadataSchema: z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"text">; format: z.ZodString; author: z.ZodOptional; pageCount: z.ZodOptional; }, z.core.$loose>; /** * Audio resource metadata schema. */ export declare const AudioMetadataSchema: z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"audio">; duration: z.ZodOptional; format: z.ZodString; speaker: z.ZodOptional; }, z.core.$loose>; /** * Video resource metadata schema. */ export declare const VideoMetadataSchema: z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"video">; duration: z.ZodOptional; captionsAvailable: z.ZodOptional; format: z.ZodString; }, z.core.$loose>; /** * Interactive resource metadata schema. * Used for launchable resources like games and apps. */ export declare const InteractiveMetadataSchema: z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"interactive">; launchUrl: z.ZodOptional; toolProvider: z.ZodOptional; instructionalMethod: z.ZodOptional; courseIdOnFail: z.ZodOptional>; fail_fast: z.ZodOptional; stagnation_limit: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>; /** * Visual resource metadata schema. */ export declare const VisualMetadataSchema: z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"visual">; format: z.ZodString; resolution: z.ZodOptional; }, z.core.$loose>; /** * Course material resource metadata schema. */ export declare const CourseMaterialMetadataSchema: z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"course-material">; subType: z.ZodEnum<{ course: "course"; "resource-collection": "resource-collection"; unit: "unit"; }>; author: z.ZodOptional; format: z.ZodString; instructionalMethod: z.ZodOptional; }, z.core.$loose>; /** * Assessment bank resource metadata schema. */ export declare const AssessmentBankMetadataSchema: z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"assessment-bank">; resources: z.ZodArray; }, z.core.$loose>; /** * Discriminated union of all typed resource metadata schemas. * Use this for type-safe metadata handling. */ export declare const ResourceMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"qti">; subType: z.ZodEnum<{ "qti-question": "qti-question"; "qti-stimulus": "qti-stimulus"; "qti-test": "qti-test"; "qti-test-bank": "qti-test-bank"; }>; questionType: z.ZodOptional>; difficulty: z.ZodOptional>; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"text">; format: z.ZodString; author: z.ZodOptional; pageCount: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"audio">; duration: z.ZodOptional; format: z.ZodString; speaker: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"video">; duration: z.ZodOptional; captionsAvailable: z.ZodOptional; format: z.ZodString; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"interactive">; launchUrl: z.ZodOptional; toolProvider: z.ZodOptional; instructionalMethod: z.ZodOptional; courseIdOnFail: z.ZodOptional>; fail_fast: z.ZodOptional; stagnation_limit: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"visual">; format: z.ZodString; resolution: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"course-material">; subType: z.ZodEnum<{ course: "course"; "resource-collection": "resource-collection"; unit: "unit"; }>; author: z.ZodOptional; format: z.ZodString; instructionalMethod: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"assessment-bank">; resources: z.ZodArray; }, z.core.$loose>], "type">; /** * Input for creating/updating resources. * * Unknown keys are rejected intentionally; add supported fields here rather than relying on passthrough. */ export declare const OneRosterResourceCreateInput: z.ZodObject<{ sourcedId: z.ZodOptional; title: z.ZodString; vendorResourceId: z.ZodString; roles: z.ZodOptional>>; importance: z.ZodOptional>; vendorId: z.ZodOptional>; applicationId: z.ZodOptional>; status: z.ZodOptional>; metadata: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"qti">; subType: z.ZodEnum<{ "qti-question": "qti-question"; "qti-stimulus": "qti-stimulus"; "qti-test": "qti-test"; "qti-test-bank": "qti-test-bank"; }>; questionType: z.ZodOptional>; difficulty: z.ZodOptional>; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"text">; format: z.ZodString; author: z.ZodOptional; pageCount: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"audio">; duration: z.ZodOptional; format: z.ZodString; speaker: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"video">; duration: z.ZodOptional; captionsAvailable: z.ZodOptional; format: z.ZodString; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"interactive">; launchUrl: z.ZodOptional; toolProvider: z.ZodOptional; instructionalMethod: z.ZodOptional; courseIdOnFail: z.ZodOptional>; fail_fast: z.ZodOptional; stagnation_limit: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"visual">; format: z.ZodString; resolution: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"course-material">; subType: z.ZodEnum<{ course: "course"; "resource-collection": "resource-collection"; unit: "unit"; }>; author: z.ZodOptional; format: z.ZodString; instructionalMethod: z.ZodOptional; }, z.core.$loose>, z.ZodObject<{ subject: z.ZodOptional>>; grades: z.ZodOptional>]>, z.ZodUnion, z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<10>, z.ZodLiteral<11>, z.ZodLiteral<12>, z.ZodLiteral<13>]>>>>>; language: z.ZodOptional>; xp: z.ZodOptional>; url: z.ZodOptional>; keywords: z.ZodOptional>>; learningObjectiveSet: z.ZodOptional; }, z.core.$strip>>>>; lessonType: z.ZodOptional>; type: z.ZodLiteral<"assessment-bank">; resources: z.ZodArray; }, z.core.$loose>], "type">, z.ZodRecord]>>>; }, z.core.$strict>; /** * Input for creating a course structure from QTI tests. * * Enforces course required fields and courseStructure shape. */ export declare const OneRosterCourseStructureInput: z.ZodObject<{ course: z.ZodObject<{ sourcedId: z.ZodOptional; title: z.ZodString; org: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; status: z.ZodEnum<{ active: "active"; tobedeleted: "tobedeleted"; }>; metadata: z.ZodOptional>>; }, z.core.$strict>; courseStructure: z.ZodRecord>; }, z.core.$strict>; /** * Input for bulk result creation (partial result for convenience). * * Enforces student reference. */ export declare const OneRosterBulkResultItem: z.ZodObject<{ student: z.ZodObject<{ sourcedId: z.ZodString; type: z.ZodOptional; href: z.ZodOptional; }, z.core.$strict>; }, z.core.$loose>; /** * Input array for bulk result creation. */ export declare const OneRosterBulkResultsInput: z.ZodArray; href: z.ZodOptional; }, z.core.$strict>; }, z.core.$loose>>; export type OrgCreateInput = z.input; export type SchoolCreateInput = z.input; export type UserRoleInput = z.input; export type UserCreateInput = z.input; export type DemographicsCreateInput = z.input; export type CourseCreateInput = z.input; export type CourseStructureInput = z.input; export type CourseComponentCreateInput = z.input; export type ClassCreateInput = z.input; export type EnrollmentCreateInput = z.input; export type EnrollInput = z.input; export type AcademicSessionCreateInput = z.input; export type AgentInput = z.input; export type CategoryCreateInput = z.input; export type LineItemCreateInput = z.input; export type ResultCreateInput = z.input; export type ComponentResourceCreateInput = z.input; export type ResourceCreateInput = z.input; export type ResourceMetadata = z.input; export type QtiMetadata = z.input; export type TextMetadata = z.input; export type AudioMetadata = z.input; export type VideoMetadata = z.input; export type InteractiveMetadata = z.input; export type VisualMetadata = z.input; export type CourseMaterialMetadata = z.input; export type AssessmentBankMetadata = z.input; export type ScoreScaleCreateInput = z.input; export type AssessmentLineItemCreateInput = z.input; export type AssessmentResultCreateInput = z.input; export type BulkResultsInput = z.input; //# sourceMappingURL=oneroster.d.ts.map