(energetic music)
- [Instructor] Ready to build your own JSON-LD snippet?
It's time for a challenge.
The start code for this video
includes an empty person.jsonld file.
Your challenge is to add JSON-LD code
that describes a person to this file.
You can build a snippet that describes you,
or you can pick a well-known person to build a snippet for.
Your code should include at least three properties,
so be sure to do research if necessary.
Wikipedia displays a number of quick facts
about famous people,
so that can be a useful resource for this exercise.
You can build your JSON-LD
using the playground at jasonld.org,
or using a generator, or you can create it from scratch.
For an extra challenge, add a second level of data
using a nested data type.
You can refer to the person documentation
on the schema.org site to learn more about nested data
that's available for a person object.
This exercise should take you about 10 minutes.
When you're done, join me in the next video,
and I'll walk you through how I approached it.