Files
api-guidelines/evolution/json.md
apidesigner a8e010e204 Updates evolution/json.md
Auto commit by GitBook Editor
2017-02-27 10:23:18 +00:00

12 lines
610 B
Markdown

# JSON Format Conventions
Any JSON-based message **MUST** conform to these rules
- All JSON field names **MUST** follow the [Naming Conventions](https://adidas-group.gitbooks.io/api-guidelines/content/evolution/naming-conventions.html) (`snake_case`, American English etc.)
- Field names **MUST** be ASCII alpha num characters, underscore (`_`) or dollar sign (`$`)
- Boolean fields **MUST NOT** be of `null` value
- Fields with `null` value **SHOULD** be omitted
- Empty arrays and objects **SHOULD NOT ** be `null` (use `[]` or `{}` instead)
- Array field names **SHOULD** be plural (e.g. `"orders": []`)