Skip to content

This page is for builders naming the parts of an application. Most things in OSOS have two names: a name people see, in Arabic and English, which you can change whenever you like; and a normalized name, a short English machine name that queries, reactions, expressions, packages and the API use to find the thing. The first is a label. The second is an address — change it and everything that used the old address stops finding it. So decide normalized names once, on the design sheet, before you build.

These are rules, not advice — a name that breaks them is refused or changed for you:

  • Characters. A normalized name uses English letters, digits and the underscore (_). It must not start with a digit.
  • Length. From 3 to 128 characters.
  • Generated names. When you type a name, the normalized name is generated from the English name: lower case, with every space or other character turned into an underscore — Job Application becomes job_application.
  • Arabic is never used. Arabic letters typed into a normalized name are turned into underscores. Always type the English name first, or type the normalized name yourself.
  • Reserved words are refused for entities and fields — programming words such as new, class, default, if or return.
  • Unique. No two entities can share a normalized name. An entity’s display name must be unique within its module.
  • Fixed at creation. The normalized name of a module and of an entity cannot be changed after it is created. You can still rename what people see.

See Identifiers and normalized names for how normalized names differ from the random identifiers the platform assigns.

The following is the official recommendation for every OSOS application:

RuleExampleNot
English snake_case: lower case, words joined by underscoressupport_ticketSupportTicket, supportTicket
Name the thing, not where or how it is usedjob_applicationhr_form_2, portal_request
Singular for entities — the entity is the kind, each record is onesupport_ticket, employeesupport_tickets_list
No environment, version, date or person in a namecustomer_supportcustomer_support_test, tickets_v2, ahmad_tickets
Whole words; abbreviate only what the business abbreviatesregistration_deadlinereg_dl
The same word for the same thing across the applicationstart_date on every entitystart_date, begin_dt, opened_on
Fields that point at a record are named after what they point atassigned_to, vacancy, productuser_ref_1

Display names are what people read, in both languages. They can change, so make them clear rather than short:

  • Views — say the audience and the purpose: My tickets, Incoming requests — support desk, All jobs (HR).
  • Queries — say what they select: Open jobs, Closed tickets, Tickets waiting over two days.
  • Workflow steps — name the stage or the role that acts: Help Desk, Manager Approval, Job review. Name actions as verbs the owner chooses: Approve, Return for changes, Send Solution.
  • Reactions — write them as When … then …: When the ticket reaches Help Desk, notify the desk. The Recruitment tutorial does this well: Notify the job’s creator when the job is approved.

The official recommendation: do not point a reference field from one module at an entity in another module. A direct reference ties the two modules together — deleting, moving or packaging one then needs the other. When one module needs another’s data or behaviour, use a deliberate seam instead:

SeamUse it when
A proxy virtual entity in your moduleYou need to list, pick or show the other module’s records — see Virtual entities
An External custom action, called with Execute Custom Action Since 1.8One event here must make one thing happen there — see Reactions & automation
Announce Event and On Event Announced Since 1.8One event here may interest several listeners, now or later

Name the seam for the contract it carries (staff_directory for a proxy of Employees), and write down which module owns it.

Worked example: names for the two tutorials

Section titled “Worked example: names for the two tutorials”

The tutorials keep the normalized names the platform generates, which is fine for learning. For a production application, this is what the convention gives:

ThingGenerated from the English nameRecommended
Customer Support modulecustomer_support_systemcustomer_support
Support Tickets entitysupport_ticketssupport_ticket
Ticket number fieldticket_numberticket_number
Assigned to fieldassigned_toassigned_to
Recruitment modulerecruitment_systemrecruitment
Jobs entityjobsjob
Job Application servicejob_applicationjob_application — already right
Registration deadline fieldregistration_deadlineregistration_deadline
Years of experience required fieldyears_of_experience_requiredrequired_experience_years (or keep the generated one — both are clear)

The generated names are already valid snake_case; the changes are about the singular and dropping words that add nothing. Make them when you create the module and entity: afterwards their normalized names are fixed.

  • Accepting whatever was generated from a hurried name. new_entity_1 stays forever. Type the English name you mean before you confirm.
  • Typing the Arabic name first. The normalized name becomes underscores and is refused or replaced. Type English, then add the Arabic display name.
  • Encoding the environment or the version. tickets_test moves to production in a package and keeps its name.
  • Renaming field normalized names after go-live. Reactions, queries, expressions and integrations that used the old name stop working. Rename the display name instead.
  • A reference field into another module. Use a proxy entity or a custom action.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27