Saltar al contenido

app.person_work_details

TablaSeguridad a nivel de fila activa

A person's work details (Section 4.5.6 item 10): uniform sizes, dietary and accessibility needs and the travel profile. Owned and read only by the person; an engaging org sees a category only while the person shares it with that engagement (app.work_detail_shares, app.shared_work_details). The passport number is Restricted and encrypted.

Clave primaria: id

Columnas de app.person_work_details
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.
person_iduuidNoOwner. One live row per person.Hace referencia a app.people.id
shirt_sizeapp.garment_letter_sizeSíShirt size.
jacket_sizeapp.garment_letter_sizeSíJacket size.
pants_sizetextSíPants size as the person writes it, for example 32x32 or EU 48.
shoe_sizetextSíShoe size with its system, for example US 10.5 or EU 44.
glove_sizeapp.garment_letter_sizeSíGlove size.
hat_sizetextSíHat size as the person writes it, for example 7 1/4 or 58 cm.
uniform_notestextSíAnything else about fit, for example a preferred cut.
dietary_needsapp.dietary_need[]NoDietary needs hospitality caters for, each once, in enum order. Confidential.
allergiestextSíFood and other allergies in the person's words, with how severe they are. Confidential.
dietary_notestextSíOther dietary notes. Confidential.
accessibility_needsapp.accessibility_need[]NoAccessibility needs, each once, in enum order. Confidential.
accessibility_notestextSíAccessibility needs in the person's words. Confidential.
seat_preferenceapp.seat_preferenceSíPreferred seat when an org books travel.
meal_preferencetextSíPreferred in-flight meal, for example Vegetarian (VGML).
home_airportcharacter(3)SíIATA code of the airport the person travels from, for example MIA.
passport_numberbyteaSíPassport number encrypted with pgp_sym_encrypt under the Vault key xos_passport_number_key. Restricted (data.restricted.read.government_id): never selectable or writable by signed-in callers; written through app.set_my_passport_number and read only through an audited reveal.
passport_number_last4textSíLast four characters of the passport number, shown in place of the masked number; NULL when none is recorded. Set only with the number.
passport_issuing_countrycharacter(2)SíISO 3166-1 alpha-2 country that issued the passport. Confidential.
passport_expires_ondateSíDay the passport expires. Confidential; readable so reminders can run.
passport_nametextSíName exactly as printed in the passport, which travel bookings must match. Confidential.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id