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"
}
]
}
]
}
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "ExperienceAction",
"doc:key": {
"@list": [
"@type",
"source",
"startTime",
"endTime",
"instrument[*].handle",
"result.category"
]
},
"source": "apple-health",
"startTime": {
"@value": "2026-05-09T04:20:30.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"endTime": {
"@value": "2026-05-09T04:51:00.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"agent": {
"@type": "Person",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "icloud",
"sourceId": "1234567890",
"handle": "you@example.com",
"sameAs": ["@me"]
},
"instrument": [
{
"@type": "Device",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "apple-health",
"handle": "Sam’s Apple Watch",
"name": "Sam’s Apple Watch"
}
],
"result": {
"@type": "SleepStage",
"doc:key": {
"@list": [
"@type",
"source",
"category",
"resultOf.startTime",
"resultOf.endTime",
"resultOf.instrument[*].handle"
]
},
"source": "apple-health",
"category": ["deep"],
"isStageOf": {
"@type": "SleepSession",
"doc:key": {
"@list": [
"@type",
"source",
"resultOf.startTime",
"resultOf.endTime",
"resultOf.instrument[*].handle"
]
},
"source": "apple-health",
"resultOf": [
{
"@type": "SleepAction",
"doc:key": {
"@list": ["@type", "source", "startTime", "endTime", "instrument[*].handle"]
},
"source": "apple-health",
"startTime": {
"@value": "2026-05-09T03:12:00.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"endTime": {
"@value": "2026-05-09T10:41:00.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"instrument": [
{
"@type": "Device",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "apple-health",
"handle": "Sam’s Apple Watch"
}
]
}
]
}
}
}@prefix : <https://schema.chronicle.app/> .
@prefix doc: <https://schema.chronicle.app/docs/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[
a :ExperienceAction;
doc:key ("@type" "source" "startTime" "endTime" "instrument[*].handle" "result.category");
:source "apple-health";
:startTime "2026-05-09T04:20:30.000Z"^^xsd:dateTime;
:endTime "2026-05-09T04:51:00.000Z"^^xsd:dateTime;
:agent [
a :Person;
doc:key ("@type" "source" "sourceId");
:source "icloud";
:sourceId "1234567890";
:handle "you@example.com";
:sameAs "@me"
];
:instrument [
a :Device;
doc:key ("@type" "source" "handle");
:source "apple-health";
:handle "Sam’s Apple Watch";
:name "Sam’s Apple Watch"
];
:result [
a :SleepStage;
doc:key ("@type" "source" "category" "resultOf.startTime" "resultOf.endTime" "resultOf.instrument[*].handle");
:source "apple-health";
:category "deep";
:isStageOf [
a :SleepSession;
doc:key ("@type" "source" "resultOf.startTime" "resultOf.endTime" "resultOf.instrument[*].handle");
:source "apple-health";
:resultOf [
a :SleepAction;
doc:key ("@type" "source" "startTime" "endTime" "instrument[*].handle");
:source "apple-health";
:startTime "2026-05-09T03:12:00.000Z"^^xsd:dateTime;
:endTime "2026-05-09T10:41:00.000Z"^^xsd:dateTime;
:instrument [
a :Device;
doc:key ("@type" "source" "handle");
:source "apple-health";
:handle "Sam’s Apple Watch"
]
]
]
]
] .