From 4a33c61faf8dca313d3bb9fef587d4caaeed71fb Mon Sep 17 00:00:00 2001 From: Pat McBennett Date: Wed, 15 Sep 2021 14:31:23 +0100 Subject: [PATCH] Added Schema.org term, and authn term for Inrupt (#126) * Added Schema.org term, and authn term for Inrupt * Update CHANGELOG --- CHANGELOG.md | 1 + common-rdf/Extension/schema-inrupt-ext.ttl | 12 ++++++++++++ inrupt-rdf/Core/CopyOfVocab/inrupt-common.ttl | 8 ++++++++ 3 files changed, 21 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6b4219..fe12e27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ configuration files contained in this repository. come from vocabs themselves - we only provide the capability for vocabs that fail to describe themselves). - Moved the basic test code into a JavaScript-specific sub-directory. +- Added Schema.org term ('accountId'), and authn token as a JWT term for Inrupt. ## v1.0.1 2021-08-20 diff --git a/common-rdf/Extension/schema-inrupt-ext.ttl b/common-rdf/Extension/schema-inrupt-ext.ttl index b800d12..507a18a 100644 --- a/common-rdf/Extension/schema-inrupt-ext.ttl +++ b/common-rdf/Extension/schema-inrupt-ext.ttl @@ -358,6 +358,18 @@ schema:accessCode rdfs:comment "Se necesita contraseña, PIN o código de acceso para la entrega (por ejemplo, de un casillero)."@es ; rdfs:comment "Password, PIN o codice di accesso necessari per la consegna (ad es. da un armadietto)."@it . +schema:accountId + rdfs:isDefinedBy schema_inrupt_ext: ; + schema:alternateName "Account ID"@en ; + schema:alternateName "Identifiant de compte"@fr ; + schema:alternateName "Konto-ID"@de ; + schema:alternateName "ID de la cuenta"@es ; + schema:alternateName "Account ID"@it ; + rdfs:comment "L'identifiant du compte sur lequel le paiement sera appliqué."@fr ; + rdfs:comment "Die Kennung des Kontos, auf das die Zahlung angewendet wird."@de ; + rdfs:comment "El identificador de la cuenta a la que se aplicará el pago."@es ; + rdfs:comment "L'identificativo dell'account a cui verrà applicato il pagamento."@it . + # # Template for pulling in new terms! # diff --git a/inrupt-rdf/Core/CopyOfVocab/inrupt-common.ttl b/inrupt-rdf/Core/CopyOfVocab/inrupt-common.ttl index 6ccf1c8..c51dae2 100755 --- a/inrupt-rdf/Core/CopyOfVocab/inrupt-common.ttl +++ b/inrupt-rdf/Core/CopyOfVocab/inrupt-common.ttl @@ -75,3 +75,11 @@ inrupt_common:customerId a rdf:Property ; rdfs:comment """A generic customer identifier (e.g., an identifier for a customer from a legacy system, or a 3rd-party system, or a separate internal system, etc.)."""@en . +# +# Authentication. +# +inrupt_common:authenticationTokenAsJwt a rdf:Property ; + rdfs:isDefinedBy inrupt_common: ; + rdfs:label "Authentication token as JWT"@en ; + rdfs:comment """An authentication token encoded as a JSON Web Token (JWT). This JWT may + contain not just an access code, but also user account IDs or other information."""@en .