Mobile app version of vmapp.org
Login or Join
Cugini213

: Schema doesn't recognise productionCompany I'm using Schema to format an address like so: <div itemscope itemtype="https://schema.org/productionCompany"> <span itemprop="name">Production

@Cugini213

Posted in: #SchemaOrg

I'm using Schema to format an address like so:

<div itemscope itemtype="https://schema.org/productionCompany">
<span itemprop="name">Production Company Name</span>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Address goes here</span>
<span itemprop="addressRegion">London</span>,
<span itemprop="postalCode">N1 000</span>,
</div>
Phone: <span itemprop="telephone">0203000000</span>
Fax: <span itemprop="faxNumber">0203000001</span>
</div>


Using Google's structured data testing tool, I'm getting the following validation error:


@type productionCompany (The type productionCompany is not a type
known to Google.)


This is strange, because I've found the company type here. Any ideas why I'm getting this error?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cugini213

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sherry384

productionCompany is a property, not a type.

In Schema.org, a property always starts with a lowercase letter, while types always start with an uppercase letter.

It seems that you want to say something about a company. In that case, you should use Organization or one of its sub-types, e.g., LocalBusiness:

<div itemscope itemtype="http://schema.org/LocalBusiness">
<!-- … -->
</div>


The productionCompany property takes Organization (or one of its sub-types) as value. So you could for example say that a certain Movie was produced by this company:

<div itemscope itemtype="http://schema.org/Movie">
<div itemprop="productionCompany" itemscope itemtype="http://schema.org/LocalBusiness">
<!-- … -->
</div>
</div>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme