lib/json/ld/preloaded/activitystreams.rb in json-ld-preloaded-3.0.2 vs lib/json/ld/preloaded/activitystreams.rb in json-ld-preloaded-3.0.3
- old
+ new
@@ -1,11 +1,11 @@
# -*- encoding: utf-8 -*-
# frozen_string_literal: true
-# This file generated automatically from https://www.w3.org/ns/activitystreams
+# This file generated automatically from http://www.w3.org/ns/activitystreams
require 'json/ld'
class JSON::LD::Context
- add_preloaded("https://www.w3.org/ns/activitystreams") do
+ add_preloaded("http://www.w3.org/ns/activitystreams") do
new(vocab: "_:", 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),
@@ -151,6 +151,7 @@
"url" => TermDefinition.new("url", id: "https://www.w3.org/ns/activitystreams#url", type_mapping: "@id"),
"width" => TermDefinition.new("width", id: "https://www.w3.org/ns/activitystreams#width", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
"xsd" => TermDefinition.new("xsd", id: "http://www.w3.org/2001/XMLSchema#", simple: true, prefix: true)
})
end
+ alias_preloaded("https://www.w3.org/ns/activitystreams", "http://www.w3.org/ns/activitystreams")
end