Employee JSON Example

A common employee record for HR and directory systems.

Example

{
  "id": 101,
  "name": "Ada Lovelace",
  "department": "Engineering",
  "salary": 95000,
  "skills": ["Python", "JavaScript", "JSON"],
  "manager": {"id": 7, "name": "Grace Hopper"}
}

Explanation

Use arrays for skills and a nested object for manager references.