Skip to main content

Horse Types

The system supports two types of horses, each with different ownership and usage rules:
export type TipoCaballo = "ESCUELA" | "PRIVADO";
See: ~/workspace/source/src/types/enums.ts:15

School Horses (ESCUELA)

School Horses

Horses owned by the equestrian school, available for all students

Characteristics

  • Ownership: Owned by the school
  • Availability: Available for any student
  • Reservation: Students can reserve specific school horses
  • Assignment: Can be assigned to any class

Use Cases

Students without their own horses use school horses for their classes. The system assigns an available school horse for each class.
A student can reserve a specific school horse and configure a pension quota (Entera, Media, or Tercio). The horse remains school property but is prioritized for that student.
School horses are typically used for trial classes (clases de prueba) for new students trying out the school.

Display in System

School horses are displayed with a blue badge:
Caballos.tsx
<StatusBadge status={row.tipo === "ESCUELA" ? "info" : "warning"}>
  {row.tipo === "ESCUELA" ? "Escuela" : "Privado"}
</StatusBadge>
See: ~/workspace/source/src/pages/Caballos.tsx:238-241

Private Horses (PRIVADO)

Private Horses

Horses owned by individual students, restricted to owner use only

Characteristics

  • Ownership: Owned by a specific student
  • Availability: Only available for the owner
  • Restriction: Cannot be used by other students
  • Pension: Requires pension quota configuration

Use Cases

When a student brings their own horse to the school, it’s registered as PRIVADO and linked to that student as the owner.
Students with private horses take lessons on their own horses, often for specialized training or competition preparation.

Validation Rules

Important: Private horses can only be used by their owners. The system enforces this restriction when creating classes.
From the README:
Los caballos privados solo pueden ser usados por sus propietarios
See: ~/workspace/source/README.md:129

Pension Configuration

Both reserved school horses and private horses require pension quota configuration:
export type TipoPension = "SIN_CABALLO" | "RESERVA_ESCUELA" | "CABALLO_PROPIO";
export type CuotaPension = "ENTERA" | "MEDIA" | "TERCIO";
See: ~/workspace/source/src/types/enums.ts:1-2

Pension Options

SIN_CABALLO
option
No specific horse assigned. School assigns an available horse per class.
RESERVA_ESCUELA
option
Reserves a specific school horse. Requires:
  • Pension quota: Entera / Media / Tercio
  • Horse selection: From ESCUELA type horses
CABALLO_PROPIO
option
Student’s own horse. Requires:
  • Pension quota: Entera / Media / Tercio
  • Horse selection: From PRIVADO type horses

Pension Quotas

Entera

Full pension - complete care and board

Media

Half pension - partial care and board

Tercio

Third pension - limited care and board

Visual Indicators

The system uses color-coded badges to distinguish horse types:

In Calendar Export

When exporting the daily schedule to Excel:
  • Blue header: School horses (ESCUELA)
  • Gold header: Private horses (PRIVADO)
From the README:
Cabecera con colores según tipo de caballo:
  • 🔵 Azul: Caballos de Escuela
  • 🟡 Dorado: Caballos Privados
See: ~/workspace/source/README.md:324-326

Comparison Table

FeatureSchool Horse (ESCUELA)Private Horse (PRIVADO)
OwnershipSchoolIndividual student
AvailabilityAll studentsOwner only
ReservationOptionalNot applicable
Pension RequiredOnly if reservedAlways
Color CodeBlueGold
Trial ClassesYesNo

Next Steps

Horse Registration

Learn how to register horses in the system

Horse Availability

Manage horse availability for class scheduling

Build docs developers (and LLMs) love