JJijibora
Docs & Product Guide
On this page (6 sections)

Appendix A — Hotel CNS Type Hierarchy

Status: Reference
Sources: D-06 — Ontology Pack for Developers, S-03 — Glossary (plain language), docs/cns/, Comprehensive Business Processes Specification

CNS (Canonical Naming System) URIs identify every hotel entity and claim type. CNS types are declarative (registered in cns_type_catalog), never invented in code.


1. Claim Types (cns://claim/type/hotel/...)

CNS URIDescriptionTraitsPrimary Use
cns://claim/type/hotel/reservationGuest reservation / booking[booking_confirmed, poce_governed]Front desk reservation lifecycle (H-1)
cns://claim/type/hotel/folio_lineFolio / invoice charge line[charge_posted, poce_governed]Folio line items, adjustments
cns://claim/type/hotel/eventFunction / banquet booking[event_booked, deposit_required]Events & banquets (H-5)
cns://claim/type/hotel/incidentSecurity / safety incident[incident_reported, escalated]Incident & security reports (H-8)
cns://claim/type/hotel/identityGuest / staff identity record[identity_verified, kyc]Guest identity & access (H-10)
cns://federation/procurementFederated group requisition[federated, escrow_governed]Multi-property group procurement (H-9)
cns://creative/mood_boardEvent design board[visual_assets_pinned, approval_required]Event design (H-6)
cns://collaboration/discussionStaff discussion thread[thread_active]Staff communication (H-7)

2. Workflow & Operation Types

CNS URIDescriptionPrimary Use
cns://workflow/taskTask / checklist itemHousekeeping, inspections, rounds (H-2)
cns://workflow/requisitionPurchase requisitionF&B & procurement (H-4)
cns://workflow/scheduleSchedule / bookingReservations, function space, shifts (H-5/H-3)
cns://operations/work_orderMaintenance work orderEngineering (H-3)
cns://operations/incidentOperational incidentFault intake (H-3/H-8)
cns://knowledge/meeting_noteMeeting / decision recordBEOs, shift handovers (Process 4)

3. Resource Types (cns://resource/...)

CNS URIDescriptionPrimary Use
cns://resource/roomHotel room / unitOccupancy, housekeeping, maintenance
cns://resource/function_spaceBanquet hall, boardroomEvent space booking
cns://resource/equipmentAV, projector, laundryEquipment reservation
cns://resource/inventoryLinen, amenities, F&B stockProcurement, par levels
cns://resource/budgetBudget pool (cost center)Threshold gating, spend control

4. Truth Node Types (cns://truth/node/...)

CNS URIDescription
cns://truth/node/personGuest or staff profile
cns://truth/node/organizationVendor, supplier, corporate client
cns://truth/node/propertyHotel property (for group scope)

5. Edge Types (truth_edge.edge_type)

Edge TypeSemanticsExample
occupiesguest → room (lease, time-bounded)guest_G123 occupies room_405
has_claimnode → claimguest_G123 has_claim reservation_RES-001
assigned_totask → staffhousekeeping_HK-405 assigned_to attendant_9
servicestask → roomhousekeeping_HK-405 services room_405
maintainswork order → assetworkorder_WO-88 maintains asset_hvac_lobby
charges_budgetclaim → budgetrequisition_REQ-77 charges_budget budget_fnb_q4
requires_gateclaim → approval gaterequisition_REQ-77 requires_gate approval_gate_tiered
submitted_byclaim → personrequisition_REQ-77 submitted_by staff_procurement_3
bound_toresource → leaseroom_405 bound_to occupancy_lease_L1

6. Registration Pattern

Hotel CNS types are registered declaratively via fn::cns::register_type / fn::cns::register_entry (s185) or the playbook dictionary (dictionary.v1.json). Do not hardcode CNS URIs in application code — read them from governed NATS KV lookups at runtime.

Example registration shape (offline seed, not runtime):

json
{
  "cns_type": "cns://claim/type/hotel/reservation",
  "traits": ["booking_confirmed", "poce_governed"],
  "schema_ref": "claims.hotel.reservation.v1",
  "version": "1.0.0"
}