See how we've added Go Fish Digital's Facebook and Twitter profiles to the "sameAs" property? Since there are multiple entries, we enclose both entries in brackets (I call it an array). If we were just adding the Facebook URL, we wouldn't use the brackets. We'd just wrap the value (the URL) in quotes.
Whenever we call a property that has an bulgaria number data "type", we will use inner curly braces to enclose the information.
In the image above, the "contactPoint" property was called. This particular property had the expected type "ContactPoint". Isn't that nice and confusing? We'll go into more detail about this later, but for now just notice that after the "contactPoint" property was called, an inner curly brace was opened. On the next line, you'll see the ContactPoint type. The properties inside that type were declared ("Telephone" and "ContactType"), and then the inner curly braces were closed.
There's something else in this use case that, if you can understand it now, will save you a lot of trouble in the future:
Notice how there is no comma after "customer service." That's because there's no more information to share within that set. But there is a comma after the closing inner curly brace, because there's more data to come (specifically, the "sameAs" property).
Creating Structured Data Markup with an Online Generator
Now that we know a little about the syntax, let's start creating structured data markup.
Inner curly braces
-
- Posts: 178
- Joined: Tue Jan 07, 2025 4:44 am