Arrangement of data
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "video",
"name": "Małe kotki,
"author": {
"@type": "Person",
"name": "Name Forename"
},
"video": [
{
"@type": "VideoObject",
"name": "Małe kotki",
"description": "Little cats play.",
"thumbnailUrl": [
"https://video.onnetwork.tv/poster.php?video=1191677"
],
"contentUrl": "https://examples.onnetwork.tv/uparzadkowanie_danych.html",
"embedUrl": "https://video.onnetwork.tv/embed.php?sid=M1NGLDVWMUgsMA==",
"uploadDate": "2023-03-13T08:00:00+08:00",
"duration": "PT2M26S",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": { "@type": "http://schema.org/WatchAction" },
"userInteractionCount": 12
},
"expires": "2026-02-05T08:00:00+08:00"
}
]
}
</script>
Here's the description of each parameter in the provided JSON-LD code:
@context: Specifies the context of the schema.org data. In this case, it is "http://schema.org/", indicating the usage of schema.org's schema for structured data. @type: Indicates the type of structured data. In this case, it is "video", representing a video content type.
name: Specifies the name of the video. In this case, the name is "Małe kotki" (which means "Little cats" in Polish).
author: Specifies the author of the video.
@type: Indicates the type of the author. Here, it is "Person".
name: Specifies the name of the author. In this case, the name is "Name Forename".
video: Represents a list containing information about the video.
@type: Indicates the type of structured data. Here, it is "VideoObject".
name: Specifies the name of the video. In this case, it is "Małe kotki" (Little cats).
description: Provides a description of the video. The description states "Little cats play."
thumbnailUrl: Contains the URL(s) of the video thumbnail image(s). In this case, there is one thumbnail URL: "https://video.onnetwork.tv/poster.php?video=1191677".
contentUrl: Specifies the URL where the video content can be found. The content is accessible at "https://examples.onnetwork.tv/uparzadkowanie_danych.html".
embedUrl: Specifies the URL for an embedded video player. The embedded player is available at "https://video.onnetwork.tv/embed.php?sid=M1NGLDVWMUgsMA==".
uploadDate: Indicates the date and time when the video was uploaded. In this case, it is "2023-03-13T08:00:00+08:00".
duration: Specifies the duration of the video. The video has a duration of 2 minutes and 26 seconds.
interactionStatistic: Provides statistics about user interactions with the video.
@type: Indicates the type of interaction statistics. Here, it is "InteractionCounter".
interactionType: Specifies the type of interaction. In this case, it is "http://schema.org/WatchAction", indicating that it measures user views.
userInteractionCount: Specifies the number of user interactions. In this case, it is 12.
expires: Specifies the date and time when the video expires or becomes unavailable. In this case, the video expires on "2026-02-05T08:00:00+08:00".
https://search.google.com/test/rich-results - A link to check the code or site, verifying the correctness of the structured data