Ho to use Schema.org in the caption of an image?
I see that caption is not present in BlogPosting
nor Article
. I made a search and it seems that it is in ImageObject
.
But if I am inside itemscope
Article
, can I use itemprop="caption"
? I mean, can I use the code example below?
<div itemprop="caption">Caption of the image</div>
If not, how to use caption inside Article
or BlogPosting
?
<div itemscope itemtype="http://schema.org/Article">
<img itemprop="image" src="1.png">
<div>Caption of the image</div>
<h1 itemprop="headline name" >Title of the post</h1>
<div itemprop="datePublished" content="2016-01-07" >2016-01-07</div>
<div itemprop="articleBody" >
<p>This is the body of the post</p>
</div>
</div><!-- end schema Article -->