Page 1 of 1

This is because there is no additional information to be stated

Posted: Thu Feb 06, 2025 8:25 am
by Rina7RS
colon
Next up is the colon don't giggle. Basically, every time we call a type or property, we need to continue entering information with a colon. This is a field separator.


comma
Commas are used to set the expectation that another value i.e. more information is coming.


Notice that there is no comma after the information field for the "logo" attribute.

brackets
When we call a property that contains two or more items, we finland mobile database can use an open bracket and a close bracket as a box.


See how we included Go Fish Digital’s Facebook and Twitter profiles in the “sameAs” attribute? Since there are multiple entries, we enclosed both entries in parentheses which I call an array. If we were only including the Facebook URL, we wouldn’t use parentheses. We would simply wrap the value the URL in quotes.

Inner curly braces
Whenever we call a property with an expected "type", we use inner curly braces to contain the information.


In the image above, the "contactPoint" property is called. This particular property has the expected type of "ContactPoint". Isn't this nice and confusing? We'll talk about this in more detail later, but for now notice that after the "contactPoint" property is called, an inner curly brace is opened. On the next line, you'll see the ContactPoint type is called. The properties within that type "telephone" and "contactType" are stated, and then the inner curly brace is closed.