In schema type information there is a search box for main schema type. Here you start typing your main schema type of this schema item (My Book).
You can select any Schema Type Full list of types, shown on one page.
After selecting the type you will see a new accordion box appeared under the title “Configure Schema properties”. When you click the accordion is will open a small windows. There are a bunch of little settings in this window.
Let’s try to make sense of what these settings are.
This selection box will show all the possible properties based on your selection in Main Schema Type. If you have selected Book in main schema type, it will show all properties listed on Book page on schema.org. i.e. name, numberOfPages, Publisher and Author, there are too many properties to choose from. But you only need to select what you want to use.
You can select one property per accordion window.
By default this dropdown is set to “No”. That means you can manually define value of selected property here.
In this dropdown you get option to link this property to existing data that is already on your page. i.e. you want your post title to be the name of your book. You can select Post Title in this drop box.
There is an option called “Create Field”. This will create a field in the backend of your post, page or taxonomy for you to add value.
This label will be used for the front end. (we will learn how to show all properties on the front end and upcoming Docs)
As Schema Type?
This field comes in handy when you want to define main type of a subtype of a property. i.e. Author is subtype of Person. If you select Author in Property ID you should select Person in “As Schema Type”.
Here you can decide if you want this field to be visible in schema or not.
Here you select if you want to exclude this item to the frontend where rests of the fields are shown.
Each line to property?
This option comes in handy when you have multiple values in the same field and you want all values to be added in an array.
This option helps you define all the child properties of a schema type. (Remember the schema property depth we discussed in Schema Property?) Here we use that schema property depth concept.
Let’s say you have selected author in property ID and you have selected Person in “As schema type”. And now you want to show the date of birth of this author Person. You should switch on the “Has Child?” option. This option will add one more accordion that is nested under the author accordion. And when you click this accordion you will have similar options as before. Only this time Property ID will show all properties available in Person. Because we have selected person in “As Schema Type?” and now we are going to define more properties in this person type. (Which is parent type of our author).
Select birthDate or any other property that you want to define under this person. For the rest of the field you have same option. Either create a filed or link existing fields or type the value in this window by selecting “no” in Link Existing dropdown.
You can continue adding more properties and child properties. You can add as complex schema as you like it to be.
In the end Schema Item will look something like this.