Creating a playlist
A CreateAction for a YouTube playlist, at the time the playlist was created. Its result is the playlist as a Collection, with its visibility.
{
"@type": "CreateAction",
"@key": ["@type", "source", "result.sourceId"],
"source": "youtube",
"timestamp": "2024-02-20T19:45:10.000Z",
"agent": {
"@type": "Agent",
"@key": ["@type", "source", "handle"],
"source": "youtube",
"handle": "UCexampleOwner0000000000",
"sameAs": ["@me"]
},
"result": {
"@type": "Collection",
"@key": ["@type", "source", "sourceId"],
"source": "youtube",
"sourceId": "PLexample0001",
"url": "https://www.youtube.com/playlist?list=PLexample0001",
"name": "Bike repair",
"visibility": "unlisted"
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "CreateAction",
"doc:key": {
"@list": ["@type", "source", "result.sourceId"]
},
"source": "youtube",
"timestamp": {
"@value": "2024-02-20T19:45:10.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": "Collection",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "youtube",
"sourceId": "PLexample0001",
"url": "https://www.youtube.com/playlist?list=PLexample0001",
"name": "Bike repair",
"visibility": "unlisted"
}
}@prefix : <https://schema.chronicle.app/> .
@prefix doc: <https://schema.chronicle.app/docs/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[
a :CreateAction;
doc:key ("@type" "source" "result.sourceId");
:source "youtube";
:timestamp "2024-02-20T19:45:10.000Z"^^xsd:dateTime;
:agent [
a :Agent;
doc:key ("@type" "source" "handle");
:source "youtube";
:handle "UCexampleOwner0000000000";
:sameAs "@me"
];
:result [
a :Collection;
doc:key ("@type" "source" "sourceId");
:source "youtube";
:sourceId "PLexample0001";
:url "https://www.youtube.com/playlist?list=PLexample0001";
:name "Bike repair";
:visibility "unlisted"
]
] .