Field and Property Naming
About
Core Rules and Examples
1. Use camelCase for JSON
{ "User_Name": "John" }
{ "user_name": "John" }{ "userName": "John" }2. Use Lowercase for XML Elements (if used)
3. Be Descriptive and Unambiguous
4. Maintain Consistency Across Entities
5. Avoid Abbreviations Unless Universal
6. Avoid Encoding Types in Names
7. Use Singular for Field Names
8. Keep Nested Field Naming Consistent
9. Indicate Booleans with a Clear Prefix
10. Avoid Reserved Keywords
Special Cases
Pagination Fields
Timestamps
IDs
Last updated