Complete the code to specify the type of content using schema.org vocabulary.
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "[1]" } </script>
The @type property defines the type of content using schema.org vocabulary. "Article" is a common type for web content.
Complete the code to add a name property to the structured data.
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "[1]": "How to use schema markup" } </script>
The name property is used to specify the title or name of the item in schema markup.
Fix the error in the JSON-LD by completing the missing context URL.
<script type="application/ld+json"> { "@context": "[1]", "@type": "Person", "name": "Alice" } </script>
The correct context URL for schema.org structured data is https://schema.org. It tells search engines where to find the vocabulary definitions.
Fill both blanks to create a structured data snippet for a product with a name and price.
<script type="application/ld+json"> { "@context": "[1]", "@type": "[2]", "name": "Coffee Mug", "price": "12.99" } </script>
The @context must be https://schema.org and the @type for a product is Product.
Fill all three blanks to create a structured data snippet for an event with a name, start date, and location.
<script type="application/ld+json"> { "@context": "[1]", "@type": "[2]", "name": "Concert", "startDate": "[3]", "location": "Concert Hall" } </script>
The context URL is https://schema.org, the type for events is Event, and the start date must be in ISO 8601 format like 2024-09-15T20:00.