Neemias — API Reference
    Preparing search index...

    Variable studentListItemSchemaConst

    studentListItemSchema: ZodObject<
        {
            address: ZodObject<
                {
                    city: ZodDefault<ZodString>;
                    complement: ZodDefault<ZodString>;
                    neighborhood: ZodDefault<ZodString>;
                    number: ZodDefault<ZodString>;
                    state: ZodDefault<ZodString>;
                    street: ZodDefault<ZodString>;
                    zip: ZodDefault<ZodString>;
                },
                $strip,
            >;
            allergies: ZodNullable<ZodString>;
            birthDate: ZodNullable<ZodString>;
            childAtypicalNotes: ZodOptional<ZodNullable<ZodString>>;
            classId: ZodNullable<ZodString>;
            cpsInvolvement: ZodOptional<ZodNullable<ZodBoolean>>;
            displayName: ZodString;
            domesticViolence: ZodOptional<ZodNullable<ZodString>>;
            economicVulnerability: ZodOptional<ZodNullable<ZodString>>;
            familyMembershipStatus: ZodOptional<ZodNullable<ZodString>>;
            familyNotes: ZodOptional<ZodNullable<ZodString>>;
            familyStructure: ZodOptional<ZodNullable<ZodString>>;
            guardianName: ZodString;
            guardianNameAlt: ZodNullable<ZodString>;
            livesWith: ZodOptional<ZodNullable<ZodString>>;
            nucleusName: ZodNullable<ZodString>;
            nucleusParticipates: ZodBoolean;
            nucleusRegion: ZodNullable<ZodString>;
            phones: ZodArray<
                ZodObject<{ number: ZodString; qualifier: ZodString }, $strip>,
            >;
            photoRef: ZodNullable<ZodString>;
            schoolStatus: ZodOptional<ZodNullable<ZodString>>;
            siblingsCount: ZodOptional<ZodNullable<ZodNumber>>;
            specialNeeds: ZodNullable<ZodString>;
            status: ZodString;
            studentId: ZodString;
            updatedAt: ZodString;
        },
        $strip,
    > = ...

    Read projection for GET /api/v1/students (list route). The Worker returns a trimmed subset of studentSchema — required for parsing list responses in the app read layer (validating a list item against the full studentSchema throws, since the list lacks createdAt/createdBy and sends nullable profile fields). Mirrors the worker's studentListItemSchema.