Schema: toLocation
Schema: toLocation Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: toLocation.
MoveAction JSON-LD example for traveling between cities. MoveAction is the parent of TravelAction, ArriveAction, and DepartAction for movement between places.
TransferAction JSON-LD example for downloading a file. TransferAction is the parent of BorrowAction, DownloadAction, GiveAction, LendAction, MoneyTransfer, ReceiveAction, ReturnAction, SendAction, and TakeAction for actions that move something between parties.
ExerciseAction JSON-LD example for a running session — a PlayAction subtype describing exertive activity for health and fitness. Carries exerciseType, distance, sportsActivityLocation, exerciseCourse, exercisePlan, sportsEvent, opponent, and the diet/exerciseRelatedDiet pairing.
InsertAction JSON-LD reference — AddAction subtype with toLocation. Inserting an object into a location.
TravelAction JSON-LD reference — MoveAction subtype with distance. Traveling some distance.