SubjectMatterHierarchy

A request or response body; the type column links to the schemas it refers to.

SubjectMatterHierarchy

FieldTypeRequiredDescription
subjectSubjectMatteryes—
parentsarray of SubjectMatterRefyes

The broader subjects this one sits directly beneath, alphabetically.

ancestorsarray of SubjectMatterRefyes

Every subject above this one at any depth — the parents, their parents, and so on — each once, alphabetically.

childrenarray of SubjectMatterRefyes

The narrower subjects directly beneath this one, alphabetically.

jsonExample
{
  "subject": {
    "id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
    "owner_organization_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
    "owner_department_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
    "slug": "string",
    "name": "string",
    "description": "string",
    "archived_at": "2026-01-01T00:00:00.000Z",
    "created_at": "2026-01-01T00:00:00.000Z"
  },
  "parents": [
    {
      "id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
      "slug": "string",
      "name": "string",
      "archived_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "ancestors": [
    {
      "id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
      "slug": "string",
      "name": "string",
      "archived_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "children": [
    {
      "id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
      "slug": "string",
      "name": "string",
      "archived_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}