json-ld-preloaded 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/json/ld/preloaded/identity.rb +86 -0
- data/lib/json/ld/preloaded.rb +1 -0
- data/spec/preloaded_spec.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2e6362e196bd7f23fc054fd40f90febbb4e3856
|
4
|
+
data.tar.gz: 73fd4176cbf39ad07f2782cb1573264dfbf1cbce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e8d0f2497ffa1f22ab5164d4e94c27f2b3133509664dca5947e2f3a395e3739de01fa5101652e25a9be5d22402598c0684b13bd5db3241afdff2b4e9e3ff31e
|
7
|
+
data.tar.gz: 0db96dccc5483c49439dbee391309b47082859823688baac2359e292f97073f8fce6b21f016a5e07171cd545331fadf596310452591bafe2b71d3acdb7b962f6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.2
|
@@ -0,0 +1,86 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# This file generated automatically from https://w3id.org/identity/v1
|
4
|
+
require 'json/ld'
|
5
|
+
class JSON::LD::Context
|
6
|
+
add_preloaded("https://w3id.org/identity/v1") do
|
7
|
+
new(processingMode: "json-ld-1.0", term_definitions: {
|
8
|
+
"Credential" => TermDefinition.new("Credential", id: "https://w3id.org/credentials#Credential", simple: true),
|
9
|
+
"CryptographicKey" => TermDefinition.new("CryptographicKey", id: "https://w3id.org/security#Key", simple: true),
|
10
|
+
"CryptographicKeyCredential" => TermDefinition.new("CryptographicKeyCredential", id: "https://w3id.org/credentials#CryptographicKeyCredential", simple: true),
|
11
|
+
"EncryptedMessage" => TermDefinition.new("EncryptedMessage", id: "https://w3id.org/security#EncryptedMessage", simple: true),
|
12
|
+
"GraphSignature2012" => TermDefinition.new("GraphSignature2012", id: "https://w3id.org/security#GraphSignature2012", simple: true),
|
13
|
+
"Group" => TermDefinition.new("Group", id: "https://www.w3.org/ns/activitystreams#Group", simple: true),
|
14
|
+
"Identity" => TermDefinition.new("Identity", id: "https://w3id.org/identity#Identity", simple: true),
|
15
|
+
"LinkedDataSignature2015" => TermDefinition.new("LinkedDataSignature2015", id: "https://w3id.org/security#LinkedDataSignature2015", simple: true),
|
16
|
+
"Organization" => TermDefinition.new("Organization", id: "http://schema.org/Organization", simple: true),
|
17
|
+
"Person" => TermDefinition.new("Person", id: "http://schema.org/Person", simple: true),
|
18
|
+
"PostalAddress" => TermDefinition.new("PostalAddress", id: "http://schema.org/PostalAddress", simple: true),
|
19
|
+
"about" => TermDefinition.new("about", id: "http://schema.org/about", type_mapping: "@id"),
|
20
|
+
"accessControl" => TermDefinition.new("accessControl", id: "https://w3id.org/permissions#accessControl", type_mapping: "@id"),
|
21
|
+
"address" => TermDefinition.new("address", id: "http://schema.org/address", type_mapping: "@id"),
|
22
|
+
"addressCountry" => TermDefinition.new("addressCountry", id: "http://schema.org/addressCountry", simple: true),
|
23
|
+
"addressLocality" => TermDefinition.new("addressLocality", id: "http://schema.org/addressLocality", simple: true),
|
24
|
+
"addressRegion" => TermDefinition.new("addressRegion", id: "http://schema.org/addressRegion", simple: true),
|
25
|
+
"cipherAlgorithm" => TermDefinition.new("cipherAlgorithm", id: "https://w3id.org/security#cipherAlgorithm", simple: true),
|
26
|
+
"cipherData" => TermDefinition.new("cipherData", id: "https://w3id.org/security#cipherData", simple: true),
|
27
|
+
"cipherKey" => TermDefinition.new("cipherKey", id: "https://w3id.org/security#cipherKey", simple: true),
|
28
|
+
"claim" => TermDefinition.new("claim", id: "https://w3id.org/credentials#claim", type_mapping: "@id"),
|
29
|
+
"comment" => TermDefinition.new("comment", id: "http://www.w3.org/2000/01/rdf-schema#comment", simple: true),
|
30
|
+
"created" => TermDefinition.new("created", id: "http://purl.org/dc/terms/created", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
31
|
+
"creator" => TermDefinition.new("creator", id: "http://purl.org/dc/terms/creator", type_mapping: "@id"),
|
32
|
+
"cred" => TermDefinition.new("cred", id: "https://w3id.org/credentials#", simple: true, prefix: true),
|
33
|
+
"credential" => TermDefinition.new("credential", id: "https://w3id.org/credentials#credential", type_mapping: "@id"),
|
34
|
+
"dc" => TermDefinition.new("dc", id: "http://purl.org/dc/terms/", simple: true, prefix: true),
|
35
|
+
"description" => TermDefinition.new("description", id: "http://schema.org/description", simple: true),
|
36
|
+
"digestAlgorithm" => TermDefinition.new("digestAlgorithm", id: "https://w3id.org/security#digestAlgorithm", simple: true),
|
37
|
+
"digestValue" => TermDefinition.new("digestValue", id: "https://w3id.org/security#digestValue", simple: true),
|
38
|
+
"domain" => TermDefinition.new("domain", id: "https://w3id.org/security#domain", simple: true),
|
39
|
+
"email" => TermDefinition.new("email", id: "http://schema.org/email", simple: true),
|
40
|
+
"expires" => TermDefinition.new("expires", id: "https://w3id.org/security#expiration", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
41
|
+
"familyName" => TermDefinition.new("familyName", id: "http://schema.org/familyName", simple: true),
|
42
|
+
"givenName" => TermDefinition.new("givenName", id: "http://schema.org/givenName", simple: true),
|
43
|
+
"id" => TermDefinition.new("id", id: "@id", simple: true),
|
44
|
+
"identity" => TermDefinition.new("identity", id: "https://w3id.org/identity#", simple: true, prefix: true),
|
45
|
+
"identityService" => TermDefinition.new("identityService", id: "https://w3id.org/identity#identityService", type_mapping: "@id"),
|
46
|
+
"idp" => TermDefinition.new("idp", id: "https://w3id.org/identity#idp", type_mapping: "@id"),
|
47
|
+
"image" => TermDefinition.new("image", id: "http://schema.org/image", type_mapping: "@id"),
|
48
|
+
"initializationVector" => TermDefinition.new("initializationVector", id: "https://w3id.org/security#initializationVector", simple: true),
|
49
|
+
"issued" => TermDefinition.new("issued", id: "https://w3id.org/credentials#issued", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
50
|
+
"issuer" => TermDefinition.new("issuer", id: "https://w3id.org/credentials#issuer", type_mapping: "@id"),
|
51
|
+
"label" => TermDefinition.new("label", id: "http://www.w3.org/2000/01/rdf-schema#label", simple: true),
|
52
|
+
"member" => TermDefinition.new("member", id: "http://schema.org/member", type_mapping: "@id"),
|
53
|
+
"memberOf" => TermDefinition.new("memberOf", id: "http://schema.org/memberOf", type_mapping: "@id"),
|
54
|
+
"name" => TermDefinition.new("name", id: "http://schema.org/name", simple: true),
|
55
|
+
"nonce" => TermDefinition.new("nonce", id: "https://w3id.org/security#nonce", simple: true),
|
56
|
+
"normalizationAlgorithm" => TermDefinition.new("normalizationAlgorithm", id: "https://w3id.org/security#normalizationAlgorithm", simple: true),
|
57
|
+
"owner" => TermDefinition.new("owner", id: "https://w3id.org/security#owner", type_mapping: "@id"),
|
58
|
+
"password" => TermDefinition.new("password", id: "https://w3id.org/security#password", simple: true),
|
59
|
+
"paymentProcessor" => TermDefinition.new("paymentProcessor", id: "https://w3id.org/payswarm#processor", simple: true),
|
60
|
+
"perm" => TermDefinition.new("perm", id: "https://w3id.org/permissions#", simple: true, prefix: true),
|
61
|
+
"postalCode" => TermDefinition.new("postalCode", id: "http://schema.org/postalCode", simple: true),
|
62
|
+
"preferences" => TermDefinition.new("preferences", id: "https://w3id.org/payswarm#preferences", type_mapping: "@vocab"),
|
63
|
+
"privateKey" => TermDefinition.new("privateKey", id: "https://w3id.org/security#privateKey", type_mapping: "@id"),
|
64
|
+
"privateKeyPem" => TermDefinition.new("privateKeyPem", id: "https://w3id.org/security#privateKeyPem", simple: true),
|
65
|
+
"ps" => TermDefinition.new("ps", id: "https://w3id.org/payswarm#", simple: true, prefix: true),
|
66
|
+
"publicKey" => TermDefinition.new("publicKey", id: "https://w3id.org/security#publicKey", type_mapping: "@id"),
|
67
|
+
"publicKeyPem" => TermDefinition.new("publicKeyPem", id: "https://w3id.org/security#publicKeyPem", simple: true),
|
68
|
+
"publicKeyService" => TermDefinition.new("publicKeyService", id: "https://w3id.org/security#publicKeyService", type_mapping: "@id"),
|
69
|
+
"rdf" => TermDefinition.new("rdf", id: "http://www.w3.org/1999/02/22-rdf-syntax-ns#", simple: true, prefix: true),
|
70
|
+
"rdfs" => TermDefinition.new("rdfs", id: "http://www.w3.org/2000/01/rdf-schema#", simple: true, prefix: true),
|
71
|
+
"recipient" => TermDefinition.new("recipient", id: "https://w3id.org/credentials#recipient", type_mapping: "@id"),
|
72
|
+
"revoked" => TermDefinition.new("revoked", id: "https://w3id.org/security#revoked", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
73
|
+
"schema" => TermDefinition.new("schema", id: "http://schema.org/", simple: true, prefix: true),
|
74
|
+
"sec" => TermDefinition.new("sec", id: "https://w3id.org/security#", simple: true, prefix: true),
|
75
|
+
"signature" => TermDefinition.new("signature", id: "https://w3id.org/security#signature", simple: true),
|
76
|
+
"signatureAlgorithm" => TermDefinition.new("signatureAlgorithm", id: "https://w3id.org/security#signatureAlgorithm", simple: true),
|
77
|
+
"signatureValue" => TermDefinition.new("signatureValue", id: "https://w3id.org/security#signatureValue", simple: true),
|
78
|
+
"streetAddress" => TermDefinition.new("streetAddress", id: "http://schema.org/streetAddress", simple: true),
|
79
|
+
"title" => TermDefinition.new("title", id: "http://purl.org/dc/terms/title", simple: true),
|
80
|
+
"type" => TermDefinition.new("type", id: "@type", simple: true),
|
81
|
+
"url" => TermDefinition.new("url", id: "http://schema.org/url", type_mapping: "@id"),
|
82
|
+
"writePermission" => TermDefinition.new("writePermission", id: "https://w3id.org/permissions#writePermission", type_mapping: "@id"),
|
83
|
+
"xsd" => TermDefinition.new("xsd", id: "http://www.w3.org/2001/XMLSchema#", simple: true, prefix: true)
|
84
|
+
})
|
85
|
+
end
|
86
|
+
end
|
data/lib/json/ld/preloaded.rb
CHANGED
@@ -12,6 +12,7 @@ load "json/ld/preloaded/entityfacts.rb"
|
|
12
12
|
load "json/ld/preloaded/foaf.rb"
|
13
13
|
load "json/ld/preloaded/geojson.rb"
|
14
14
|
load "json/ld/preloaded/hydra.rb"
|
15
|
+
load "json/ld/preloaded/identity.rb"
|
15
16
|
load "json/ld/preloaded/iiif.rb"
|
16
17
|
load "json/ld/preloaded/lov.rb"
|
17
18
|
load "json/ld/preloaded/oa.rb"
|
data/spec/preloaded_spec.rb
CHANGED
@@ -11,6 +11,7 @@ describe JSON::LD::Context::Preloaded do
|
|
11
11
|
foaf: "http://xmlns.com/foaf/context",
|
12
12
|
geojson: "http://geojson.org/geojson-ld/geojson-context.jsonld",
|
13
13
|
hydra: "http://www.w3.org/ns/hydra/core",
|
14
|
+
identity: "https://w3id.org/identity/v1",
|
14
15
|
iiif: "http://iiif.io/api/image/2/context.json",
|
15
16
|
lov: "http://lov.okfn.org/dataset/lov/context",
|
16
17
|
prefix: "http://prefix.cc/context",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json-ld-preloaded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
@@ -133,6 +133,7 @@ files:
|
|
133
133
|
- lib/json/ld/preloaded/foaf.rb
|
134
134
|
- lib/json/ld/preloaded/geojson.rb
|
135
135
|
- lib/json/ld/preloaded/hydra.rb
|
136
|
+
- lib/json/ld/preloaded/identity.rb
|
136
137
|
- lib/json/ld/preloaded/iiif.rb
|
137
138
|
- lib/json/ld/preloaded/lov.rb
|
138
139
|
- lib/json/ld/preloaded/oa.rb
|