Publishing a video
A PublishAction for a video uploaded to your channel. The action's timestamp is the time the video was published, so the video itself carries no datePublished.
{
"@type": "PublishAction",
"@key": ["@type", "source", "result.sourceId"],
"source": "youtube",
"timestamp": "2025-08-01T12:00:00.000Z",
"agent": {
"@type": "Agent",
"@key": ["@type", "source", "handle"],
"source": "youtube",
"handle": "UCexampleOwner0000000000",
"sameAs": ["@me"]
},
"result": {
"@type": "VideoObject",
"@key": ["@type", "source", "sourceId"],
"source": "youtube",
"sourceId": "vid00000002",
"url": "https://www.youtube.com/watch?v=vid00000002",
"name": "Summer ride",
"duration": "PT2M3S"
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "PublishAction",
"doc:key": {
"@list": ["@type", "source", "result.sourceId"]
},
"source": "youtube",
"timestamp": {
"@value": "2025-08-01T12:00:00.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"agent": {
"@type": "Agent",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "youtube",
"handle": "UCexampleOwner0000000000",
"sameAs": ["@me"]
},
"result": {
"@type": "VideoObject",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "youtube",
"sourceId": "vid00000002",
"url": "https://www.youtube.com/watch?v=vid00000002",
"name": "Summer ride",
"duration": "PT2M3S"
}
}@prefix : <https://schema.chronicle.app/> .
@prefix doc: <https://schema.chronicle.app/docs/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[
a :PublishAction;
doc:key ("@type" "source" "result.sourceId");
:source "youtube";
:timestamp "2025-08-01T12:00:00.000Z"^^xsd:dateTime;
:agent [
a :Agent;
doc:key ("@type" "source" "handle");
:source "youtube";
:handle "UCexampleOwner0000000000";
:sameAs "@me"
];
:result [
a :VideoObject;
doc:key ("@type" "source" "sourceId");
:source "youtube";
:sourceId "vid00000002";
:url "https://www.youtube.com/watch?v=vid00000002";
:name "Summer ride";
:duration "PT2M3S"
]
] .