feat: initial commit
This commit is contained in:
commit
a161b86c9a
705 changed files with 288162 additions and 0 deletions
26
vendor/sourcery.dny.nu/pana/vocab/w3id/identityv1/context.go
vendored
Normal file
26
vendor/sourcery.dny.nu/pana/vocab/w3id/identityv1/context.go
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// Package identityv1 contains terms for the W3ID Identity namespace.
|
||||
package identityv1
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
//go:embed context.jsonld
|
||||
var ContextDocument []byte
|
||||
|
||||
// IRI is the remote context IRI.
|
||||
const IRI = "https://w3id.org/identity/v1"
|
||||
|
||||
// Namespace is the IRI prefix used for terms defined in this namespace.
|
||||
const Namespace = "https://w3id.org/identity#"
|
||||
|
||||
const (
|
||||
// IdentityService is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
IdentityService = Namespace + "identityService"
|
||||
// IDP is an IRI, either as a string or as an object with an
|
||||
// id property.
|
||||
IDP = Namespace + "idp"
|
||||
// TypeIdentity is a possible value for the type property.
|
||||
TypeIdentity = Namespace + "Identity"
|
||||
)
|
||||
152
vendor/sourcery.dny.nu/pana/vocab/w3id/identityv1/context.jsonld
vendored
Normal file
152
vendor/sourcery.dny.nu/pana/vocab/w3id/identityv1/context.jsonld
vendored
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
{
|
||||
"@context": {
|
||||
"id": "@id",
|
||||
"type": "@type",
|
||||
"cred": "https://w3id.org/credentials#",
|
||||
"dc": "http://purl.org/dc/terms/",
|
||||
"identity": "https://w3id.org/identity#",
|
||||
"perm": "https://w3id.org/permissions#",
|
||||
"ps": "https://w3id.org/payswarm#",
|
||||
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
|
||||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
||||
"sec": "https://w3id.org/security#",
|
||||
"schema": "http://schema.org/",
|
||||
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
||||
"Group": "https://www.w3.org/ns/activitystreams#Group",
|
||||
"claim": {
|
||||
"@id": "cred:claim",
|
||||
"@type": "@id"
|
||||
},
|
||||
"credential": {
|
||||
"@id": "cred:credential",
|
||||
"@type": "@id"
|
||||
},
|
||||
"issued": {
|
||||
"@id": "cred:issued",
|
||||
"@type": "xsd:dateTime"
|
||||
},
|
||||
"issuer": {
|
||||
"@id": "cred:issuer",
|
||||
"@type": "@id"
|
||||
},
|
||||
"recipient": {
|
||||
"@id": "cred:recipient",
|
||||
"@type": "@id"
|
||||
},
|
||||
"Credential": "cred:Credential",
|
||||
"CryptographicKeyCredential": "cred:CryptographicKeyCredential",
|
||||
"about": {
|
||||
"@id": "schema:about",
|
||||
"@type": "@id"
|
||||
},
|
||||
"address": {
|
||||
"@id": "schema:address",
|
||||
"@type": "@id"
|
||||
},
|
||||
"addressCountry": "schema:addressCountry",
|
||||
"addressLocality": "schema:addressLocality",
|
||||
"addressRegion": "schema:addressRegion",
|
||||
"comment": "rdfs:comment",
|
||||
"created": {
|
||||
"@id": "dc:created",
|
||||
"@type": "xsd:dateTime"
|
||||
},
|
||||
"creator": {
|
||||
"@id": "dc:creator",
|
||||
"@type": "@id"
|
||||
},
|
||||
"description": "schema:description",
|
||||
"email": "schema:email",
|
||||
"familyName": "schema:familyName",
|
||||
"givenName": "schema:givenName",
|
||||
"image": {
|
||||
"@id": "schema:image",
|
||||
"@type": "@id"
|
||||
},
|
||||
"label": "rdfs:label",
|
||||
"name": "schema:name",
|
||||
"postalCode": "schema:postalCode",
|
||||
"streetAddress": "schema:streetAddress",
|
||||
"title": "dc:title",
|
||||
"url": {
|
||||
"@id": "schema:url",
|
||||
"@type": "@id"
|
||||
},
|
||||
"Person": "schema:Person",
|
||||
"PostalAddress": "schema:PostalAddress",
|
||||
"Organization": "schema:Organization",
|
||||
"identityService": {
|
||||
"@id": "identity:identityService",
|
||||
"@type": "@id"
|
||||
},
|
||||
"idp": {
|
||||
"@id": "identity:idp",
|
||||
"@type": "@id"
|
||||
},
|
||||
"Identity": "identity:Identity",
|
||||
"paymentProcessor": "ps:processor",
|
||||
"preferences": {
|
||||
"@id": "ps:preferences",
|
||||
"@type": "@vocab"
|
||||
},
|
||||
"cipherAlgorithm": "sec:cipherAlgorithm",
|
||||
"cipherData": "sec:cipherData",
|
||||
"cipherKey": "sec:cipherKey",
|
||||
"digestAlgorithm": "sec:digestAlgorithm",
|
||||
"digestValue": "sec:digestValue",
|
||||
"domain": "sec:domain",
|
||||
"expires": {
|
||||
"@id": "sec:expiration",
|
||||
"@type": "xsd:dateTime"
|
||||
},
|
||||
"initializationVector": "sec:initializationVector",
|
||||
"member": {
|
||||
"@id": "schema:member",
|
||||
"@type": "@id"
|
||||
},
|
||||
"memberOf": {
|
||||
"@id": "schema:memberOf",
|
||||
"@type": "@id"
|
||||
},
|
||||
"nonce": "sec:nonce",
|
||||
"normalizationAlgorithm": "sec:normalizationAlgorithm",
|
||||
"owner": {
|
||||
"@id": "sec:owner",
|
||||
"@type": "@id"
|
||||
},
|
||||
"password": "sec:password",
|
||||
"privateKey": {
|
||||
"@id": "sec:privateKey",
|
||||
"@type": "@id"
|
||||
},
|
||||
"privateKeyPem": "sec:privateKeyPem",
|
||||
"publicKey": {
|
||||
"@id": "sec:publicKey",
|
||||
"@type": "@id"
|
||||
},
|
||||
"publicKeyPem": "sec:publicKeyPem",
|
||||
"publicKeyService": {
|
||||
"@id": "sec:publicKeyService",
|
||||
"@type": "@id"
|
||||
},
|
||||
"revoked": {
|
||||
"@id": "sec:revoked",
|
||||
"@type": "xsd:dateTime"
|
||||
},
|
||||
"signature": "sec:signature",
|
||||
"signatureAlgorithm": "sec:signatureAlgorithm",
|
||||
"signatureValue": "sec:signatureValue",
|
||||
"CryptographicKey": "sec:Key",
|
||||
"EncryptedMessage": "sec:EncryptedMessage",
|
||||
"GraphSignature2012": "sec:GraphSignature2012",
|
||||
"LinkedDataSignature2015": "sec:LinkedDataSignature2015",
|
||||
"accessControl": {
|
||||
"@id": "perm:accessControl",
|
||||
"@type": "@id"
|
||||
},
|
||||
"writePermission": {
|
||||
"@id": "perm:writePermission",
|
||||
"@type": "@id"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue