lib/json/ld/preloaded/activitystreams.rb in json-ld-preloaded-1.1.0 vs lib/json/ld/preloaded/activitystreams.rb in json-ld-preloaded-2.1.0
- old
+ new
@@ -2,10 +2,10 @@
# frozen_string_literal: true
# This file generated automatically from https://www.w3.org/ns/activitystreams.jsonld
require 'json/ld'
class JSON::LD::Context
add_preloaded("https://www.w3.org/ns/activitystreams.jsonld") do
- new(vocab: "_:", term_definitions: {
+ new(vocab: "_:", processingMode: "json-ld-1.0", term_definitions: {
"Accept" => TermDefinition.new("Accept", id: "https://www.w3.org/ns/activitystreams#Accept", simple: true),
"Activity" => TermDefinition.new("Activity", id: "https://www.w3.org/ns/activitystreams#Activity", simple: true),
"Add" => TermDefinition.new("Add", id: "https://www.w3.org/ns/activitystreams#Add", simple: true),
"Announce" => TermDefinition.new("Announce", id: "https://www.w3.org/ns/activitystreams#Announce", simple: true),
"Application" => TermDefinition.new("Application", id: "https://www.w3.org/ns/activitystreams#Application", simple: true),