2

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?

1 Answer 1

2

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>
2
  • 1
    That makes more sense, thank you. I've found a good list here with all of the different business categories: schema.org/docs/full.html.
    – Sam
    Commented Oct 8, 2016 at 9:24
  • 1
    @Sam: Another way to find suitable types is to start at a type you know is relevant (like Organization) (or Thing if you don’t know yet) and go down the hierarchy → see my answer with details
    – unor
    Commented Oct 8, 2016 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.