ChronicleSchema
Used on
Session and their subclasses
Expected type
Session
Values
At most one value
Required
No
Inverse
hasStage gives the relation from the other side. A record can use either name; only this property is stored.

In other vocabularies

VocabularyTerm
schema.org A kind of isPartOf

Examples

A stage of sleep

One stage of a night's sleep, here deep sleep.

{
  "@type": "ExperienceAction",
  "@key": [
    "@type",
    "source",
    "startTime",
    "endTime",
    "instrument[*].handle",
    "result.category"
  ],
  "source": "apple-health",
  "startTime": "2026-05-09T04:20:30.000Z",
  "endTime": "2026-05-09T04:51:00.000Z",
  "agent": {
    "@type": "Person",
    "@key": ["@type", "source", "sourceId"],
    "source": "icloud",
    "sourceId": "1234567890",
    "handle": "you@example.com",
    "sameAs": ["@me"]
  },
  "instrument": [
    {
      "@type": "Device",
      "@key": ["@type", "source", "handle"],
      "source": "apple-health",
      "handle": "Sam’s Apple Watch",
      "name": "Sam’s Apple Watch"
    }
  ],
  "result": {
    "@type": "SleepStage",
    "@key": [
      "@type",
      "source",
      "category",
      "resultOf.startTime",
      "resultOf.endTime",
      "resultOf.instrument[*].handle"
    ],
    "source": "apple-health",
    "category": ["deep"],
    "isStageOf": {
      "@type": "SleepSession",
      "@key": [
        "@type",
        "source",
        "resultOf.startTime",
        "resultOf.endTime",
        "resultOf.instrument[*].handle"
      ],
      "source": "apple-health",
      "resultOf": [
        {
          "@type": "SleepAction",
          "@key": ["@type", "source", "startTime", "endTime", "instrument[*].handle"],
          "source": "apple-health",
          "startTime": "2026-05-09T03:12:00.000Z",
          "endTime": "2026-05-09T10:41:00.000Z",
          "instrument": [
            {
              "@type": "Device",
              "@key": ["@type", "source", "handle"],
              "source": "apple-health",
              "handle": "Sam’s Apple Watch"
            }
          ]
        }
      ]
    }
  }
}

URI https://schema.chronicle.app/isStageOf · Suggest a change

Esc

↑↓ to move↵ to open/ or ⌘K to search