{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/elation-health/main/json-schema/elation-health-patched-staff-group-schema.json",
  "title": "PatchedStaffGroup",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elation-health-staff-groups-api-openapi.yml#/components/schemas/PatchedStaffGroup",
  "properties": {
    "created_date": {
      "format": "date-time",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "deleted_date": {
      "format": "date-time",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "readOnly": true,
      "type": "integer"
    },
    "is_elation_group": {
      "description": "Whether the staff group is an Elation group.",
      "type": "boolean"
    },
    "name": {
      "description": "The name of the staff group.",
      "maxLength": 50,
      "type": "string"
    },
    "practice": {
      "description": "The id of the practice that the staff group belongs to.",
      "format": "int64",
      "type": "integer"
    },
    "users": {
      "description": "A list of user ids inside the group.",
      "items": {
        "type": "integer"
      },
      "type": "array"
    }
  },
  "type": "object"
}