Publishing a story
You posted a photo story on Instagram. The PublishAction's result is a Post. Its sourceFormat says it was a story rather than a feed post or a reel, and its visibility is private because only the archive link reaches it. The photo itself is an ImageObject the post contains, keyed by the media ID Instagram wrote into the file name. The export gives the post no ID of its own, so the post is keyed by the files it contains, and the action by the post.
{
"@type": "PublishAction",
"@key": ["@type", "source", "result.contains[*].sourceId"],
"source": "instagram",
"timestamp": "2024-09-02T18:00:00.000Z",
"agent": {
"@type": "Agent",
"@key": ["@type", "source", "handle"],
"source": "instagram",
"handle": "sam.rivera",
"name": "Sam Rivera",
"sameAs": ["@me"]
},
"result": {
"@type": "Post",
"@key": ["@type", "source", "contains[*].sourceId"],
"source": "instagram",
"sourceFormat": "story",
"visibility": "private",
"url": "https://www.instagram.com/stories/archive/4444444444/",
"body": "Morning coffee",
"contains": [
{
"@type": "ImageObject",
"@key": ["@type", "source", "sourceId"],
"source": "instagram",
"sourceId": "4444444444",
"contentPath": "/Users/sam/Downloads/instagram-export/media/stories/202409/4444444444.jpg",
"mimeType": "image/jpeg"
}
]
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "PublishAction",
"doc:key": {
"@list": ["@type", "source", "result.contains[*].sourceId"]
},
"source": "instagram",
"timestamp": {
"@value": "2024-09-02T18:00:00.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"agent": {
"@type": "Agent",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "instagram",
"handle": "sam.rivera",
"name": "Sam Rivera",
"sameAs": ["@me"]
},
"result": {
"@type": "Post",
"doc:key": {
"@list": ["@type", "source", "contains[*].sourceId"]
},
"source": "instagram",
"sourceFormat": "story",
"visibility": "private",
"url": "https://www.instagram.com/stories/archive/4444444444/",
"body": "Morning coffee",
"contains": [
{
"@type": "ImageObject",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "instagram",
"sourceId": "4444444444",
"contentPath": "/Users/sam/Downloads/instagram-export/media/stories/202409/4444444444.jpg",
"mimeType": "image/jpeg"
}
]
}
}@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.contains[*].sourceId");
:source "instagram";
:timestamp "2024-09-02T18:00:00.000Z"^^xsd:dateTime;
:agent [
a :Agent;
doc:key ("@type" "source" "handle");
:source "instagram";
:handle "sam.rivera";
:name "Sam Rivera";
:sameAs "@me"
];
:result [
a :Post;
doc:key ("@type" "source" "contains[*].sourceId");
:source "instagram";
:sourceFormat "story";
:visibility "private";
:url "https://www.instagram.com/stories/archive/4444444444/";
:body "Morning coffee";
:contains [
a :ImageObject;
doc:key ("@type" "source" "sourceId");
:source "instagram";
:sourceId "4444444444";
:contentPath "/Users/sam/Downloads/instagram-export/media/stories/202409/4444444444.jpg";
:mimeType "image/jpeg"
]
]
] .