JSON-LD is the standard way to link data to your APIs using standard vocabularies. Let’s take a look at how to do it. What we will be creating For this example, we will be recreating the PetStore example from Swagger, but will leverage types from schema.org where they exist.