Schema.org NewsArticle: invalid value for logo property

Viewed 3584

I try to markup a little section in my code as NewsArticle but I can't get it to validate.

If I do this

<div itemscope itemprop="publisher" itemtype="https://schema.org/Organization">
  <span itemprop="name">My Company</span>
</div>

the validator complains that there is no logo.

And if I add a logo like this

<div itemscope itemprop="publisher" itemtype="https://schema.org/Organization">
  <img itemprop="logo" src="https://www.mysite.de/resources/assets/71/small/my_logo_web.png" />
  <span itemprop="name">My Company</span>
</div>

the validator complains that the attribute contains an invalid value. What am I doing wrong here?

1 Answers
Related