From 535e0e36d6547329697c0613bf0a80640ff772a8 Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Fri, 14 Jul 2023 12:11:19 +0200 Subject: [PATCH] Added new ob context files --- .../vc/util/CachingDocumentLoader.java | 2 + .../resources/contexts/ob-v3p0-3.0.1.json | 447 ++++++++++++++++++ .../resources/contexts/ob-v3p0-3.0.2.json | 431 +++++++++++++++++ 3 files changed, 880 insertions(+) create mode 100644 inspector-vc/src/main/resources/contexts/ob-v3p0-3.0.1.json create mode 100644 inspector-vc/src/main/resources/contexts/ob-v3p0-3.0.2.json diff --git a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/util/CachingDocumentLoader.java b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/util/CachingDocumentLoader.java index 22f05fe..a1c6348 100644 --- a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/util/CachingDocumentLoader.java +++ b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/util/CachingDocumentLoader.java @@ -110,6 +110,8 @@ public class CachingDocumentLoader extends ConfigurableDocumentLoader { .put("https://purl.imsglobal.org/spec/clr/v2p0/context.json",Resources.getResource("contexts/clr-v2p0.json")) .put("https://purl.imsglobal.org/spec/ob/v3p0/context/ob_v3p0.jsonld",Resources.getResource("contexts/ob-v3p0.json")) .put("https://purl.imsglobal.org/spec/ob/v3p0/context.json",Resources.getResource("contexts/ob-v3p0.json")) + .put("https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.1.json",Resources.getResource("contexts/ob-v3p0-3.0.1.json")) + .put("https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.2.json",Resources.getResource("contexts/ob-v3p0-3.0.2.json")) .put("https://purl.imsglobal.org/spec/ob/v3p0/extensions.json",Resources.getResource("contexts/ob-v3p0-extensions.json")) .put("https://www.w3.org/ns/did/v1", Resources.getResource("contexts/did-v1.jsonld")) .put("https://www.w3.org/ns/odrl.jsonld", Resources.getResource("contexts/odrl.jsonld")) diff --git a/inspector-vc/src/main/resources/contexts/ob-v3p0-3.0.1.json b/inspector-vc/src/main/resources/contexts/ob-v3p0-3.0.1.json new file mode 100644 index 0000000..061f3d3 --- /dev/null +++ b/inspector-vc/src/main/resources/contexts/ob-v3p0-3.0.1.json @@ -0,0 +1,447 @@ +{ + "@context": { + "id": "@id", + "type": "@type", + + "xsd": "https://www.w3.org/2001/XMLSchema#", + + "OpenBadgeCredential": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#OpenBadgeCredential" + }, + "Achievement": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Achievement", + "@context": { + "achievementType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#achievementType", + "@type": "xsd:string" + }, + "alignment": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#alignment", + "@container": "@set" + }, + "creator": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#creator" + }, + "creditsAvailable": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#creditsAvailable", + "@type": "xsd:float" + }, + "criteria": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Criteria", + "@type": "@id" + }, + "fieldOfStudy": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#fieldOfStudy", + "@type": "xsd:string" + }, + "humanCode": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#humanCode", + "@type": "xsd:string" + }, + "image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Image", + "@type": "@id" + }, + "otherIdentifier": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#otherIdentifier", + "@container": "@set" + }, + "related": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#related", + "@container": "@set" + }, + "resultDescription": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#resultDescription", + "@container": "@set" + }, + "specialization": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#specialization", + "@type": "xsd:string" + }, + "tag": { + "@id": "https://schema.org/keywords", + "@type": "xsd:string", + "@container": "@set" + }, + "version": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version", + "@type": "xsd:string" + } + } + }, + "AchievementCredential": { + "@id": "OpenBadgeCredential" + }, + "AchievementSubject": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#AchievementSubject", + "@context": { + "achievement": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#achievement-0" + }, + "activityEndDate": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#activityEndDate", + "@type": "xsd:date" + }, + "activityStartDate": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#activityStartDate", + "@type": "xsd:date" + }, + "creditsEarned": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#creditsEarned", + "@type": "xsd:float" + }, + "identifier": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identifier", + "@container": "@set" + }, + "image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Image", + "@type": "@id" + }, + "licenseNumber": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#licenseNumber", + "@type": "xsd:string" + }, + "result": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#result", + "@container": "@set" + }, + "role": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#role", + "@type": "xsd:string" + }, + "source": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#source", + "@type": "@id" + }, + "term": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#term", + "@type": "xsd:string" + } + } + }, + "Address": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Address", + "@context": { + "addressCountry": { + "@id": "https://schema.org/addressCountry", + "@type": "xsd:string" + }, + "addressCountryCode": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#CountryCode", + "@type": "xsd:string" + }, + "addressLocality": { + "@id": "https://schema.org/addressLocality", + "@type": "xsd:string" + }, + "addressRegion": { + "@id": "https://schema.org/addressRegion", + "@type": "xsd:string" + }, + "geo": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#GeoCoordinates" + }, + "postOfficeBoxNumber": { + "@id": "https://schema.org/postOfficeBoxNumber", + "@type": "xsd:string" + }, + "postalCode": { + "@id": "https://schema.org/postalCode", + "@type": "xsd:string" + }, + "streetAddress": { + "@id": "https://schema.org/streetAddress", + "@type": "xsd:string" + } + } + }, + "Alignment": { + "@id": "https://schema.org/AlignmentObject", + "@context": { + "targetCode": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#targetCode", + "@type": "xsd:string" + }, + "targetDescription": { + "@id": "https://schema.org/targetDescription", + "@type": "xsd:string" + }, + "targetFramework": { + "@id": "https://schema.org/targetFramework", + "@type": "xsd:string" + }, + "targetName": { + "@id": "https://schema.org/targetName", + "@type": "xsd:string" + }, + "targetType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#targetType", + "@type": "xsd:string" + }, + "targetUrl": { + "@id": "https://schema.org/targetUrl", + "@type": "xsd:anyURI" + } + } + }, + "Criteria": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Criteria" + }, + "EndorsementCredential": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#EndorsementCredential" + }, + "EndorsementSubject": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#EndorsementSubject", + "@context": { + "endorsementComment": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#endorsementComment", + "@type": "xsd:string" + } + } + }, + "Evidence": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Evidence", + "@context": { + "audience": { + "@id": "https://schema.org/audience", + "@type": "xsd:string" + }, + "genre": { + "@id": "https://schema.org/genre", + "@type": "xsd:string" + } + } + }, + "GeoCoordinates": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#GeoCoordinates", + "@context": { + "latitude": { + "@id": "https://schema.org/latitude", + "@type": "xsd:string" + }, + "longitude": { + "@id": "https://schema.org/longitude", + "@type": "xsd:string" + } + } + }, + "IdentifierEntry": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#IdentifierEntry", + "@context": { + "identifier": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identifier", + "@type": "xsd:string" + }, + "identifierType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identifierType", + "@type": "xsd:string" + } + } + }, + "IdentityObject": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#IdentityObject", + "@context": { + "hashed": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#hashed", + "@type": "xsd:boolean" + }, + "identityHash": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identityHash", + "@type": "xsd:string" + }, + "identityType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identityType", + "@type": "xsd:string" + }, + "salt": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#salt", + "@type": "xsd:string" + } + } + }, + "Image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Image", + "@context": { + "caption": { + "@id": "https://schema.org/caption", + "@type": "xsd:string" + } + } + }, + "Profile": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Profile", + "@context": { + "additionalName": { + "@id": "https://schema.org/additionalName", + "@type": "xsd:string" + }, + "address": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#address", + "@type": "@id" + }, + "dateOfBirth": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#dateOfBirth", + "@type": "xsd:date" + }, + "email": { + "@id": "https://schema.org/email", + "@type": "xsd:string" + }, + "familyName": { + "@id": "https://schema.org/familyName", + "@type": "xsd:string" + }, + "familyNamePrefix": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#familyNamePrefix", + "@type": "xsd:string" + }, + "givenName": { + "@id": "https://schema.org/givenName", + "@type": "xsd:string" + }, + "honorificPrefix": { + "@id": "https://schema.org/honorificPrefix", + "@type": "xsd:string" + }, + "honorificSuffix": { + "@id": "https://schema.org/honorificSuffix", + "@type": "xsd:string" + }, + "image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Image", + "@type": "@id" + }, + "otherIdentifier": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#otherIdentifier", + "@container": "@set" + }, + "parentOrg": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#parentOrg", + "@type": "@id" + }, + "patronymicName": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#patronymicName", + "@type": "xsd:string" + }, + "phone": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#phone", + "@type": "xsd:string" + }, + "official": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#official", + "@type": "xsd:string" + } + } + }, + "Related": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Related", + "@context": { + "version": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version", + "@type": "xsd:string" + } + } + }, + "Result": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Result", + "@context": { + "achievedLevel": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#achievedLevel", + "@type": "xsd:anyURI" + }, + "resultDescription": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#resultDescription", + "@type": "xsd:anyURI" + }, + "status": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#status", + "@type": "xsd:string" + }, + "value": { + "@id": "https://schema.org/value", + "@type": "xsd:string" + } + } + }, + "ResultDescription": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#ResultDescription", + "@context": { + "allowedValue": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#allowedValue", + "@type": "xsd:string", + "@container": "@set" + }, + "requiredLevel": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#requiredLevel", + "@type": "xsd:anyURI" + }, + "requiredValue": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#requiredValue", + "@type": "xsd:string" + }, + "resultType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#resultType", + "@type": "xsd:string" + }, + "rubricCriterionLevel": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#rubricCriterionLevel", + "@container": "@set" + }, + "valueMax": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#valueMax", + "@type": "xsd:string" + }, + "valueMin": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#valueMin", + "@type": "xsd:string" + } + } + }, + "RubricCriterionLevel": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#RubricCriterionLevel", + "@context": { + "level": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#level", + "@type": "xsd:string" + }, + "points": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#points", + "@type": "xsd:string" + } + } + }, + "alignment": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#alignment", + "@container": "@set" + }, + "awardedDate": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#awardedDate", + "@type": "xsd:dateTime" + }, + "description": { + "@id": "https://schema.org/description", + "@type": "xsd:string" + }, + "endorsement": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#endorsement", + "@container": "@set" + }, + "image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#image", + "@type": "@id" + }, + "name": { + "@id": "https://schema.org/name", + "@type": "xsd:string" + }, + "narrative": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#narrative", + "@type": "xsd:string" + }, + "url": { + "@id": "https://schema.org/url", + "@type": "xsd:anyURI" + } + } +} diff --git a/inspector-vc/src/main/resources/contexts/ob-v3p0-3.0.2.json b/inspector-vc/src/main/resources/contexts/ob-v3p0-3.0.2.json new file mode 100644 index 0000000..be0e9d6 --- /dev/null +++ b/inspector-vc/src/main/resources/contexts/ob-v3p0-3.0.2.json @@ -0,0 +1,431 @@ +{ + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "OpenBadgeCredential": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#OpenBadgeCredential" + }, + "Achievement": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Achievement", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "achievementType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#achievementType" + }, + "alignment": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#alignment", + "@container": "@set" + }, + "creator": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#creator" + }, + "creditsAvailable": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#creditsAvailable", + "@type": "https://www.w3.org/2001/XMLSchema#float" + }, + "criteria": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Criteria", + "@type": "@id" + }, + "fieldOfStudy": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#fieldOfStudy" + }, + "humanCode": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#humanCode" + }, + "image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Image", + "@type": "@id" + }, + "otherIdentifier": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#otherIdentifier", + "@container": "@set" + }, + "related": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#related", + "@container": "@set" + }, + "resultDescription": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#resultDescription", + "@container": "@set" + }, + "specialization": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#specialization" + }, + "tag": { + "@id": "https://schema.org/keywords", + "@container": "@set" + }, + "version": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version" + } + } + }, + "AchievementCredential": { + "@id": "OpenBadgeCredential" + }, + "AchievementSubject": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#AchievementSubject", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "achievement": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#achievement-0" + }, + "activityEndDate": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#activityEndDate", + "@type": "https://www.w3.org/2001/XMLSchema#date" + }, + "activityStartDate": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#activityStartDate", + "@type": "https://www.w3.org/2001/XMLSchema#date" + }, + "creditsEarned": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#creditsEarned", + "@type": "https://www.w3.org/2001/XMLSchema#float" + }, + "identifier": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identifier", + "@container": "@set" + }, + "image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Image", + "@type": "@id" + }, + "licenseNumber": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#licenseNumber" + }, + "result": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#result", + "@container": "@set" + }, + "role": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#role" + }, + "source": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#source", + "@type": "@id" + }, + "term": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#term" + } + } + }, + "Address": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Address", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "addressCountry": { + "@id": "https://schema.org/addressCountry" + }, + "addressCountryCode": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#CountryCode" + }, + "addressLocality": { + "@id": "https://schema.org/addressLocality" + }, + "addressRegion": { + "@id": "https://schema.org/addressRegion" + }, + "geo": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#GeoCoordinates" + }, + "postOfficeBoxNumber": { + "@id": "https://schema.org/postOfficeBoxNumber" + }, + "postalCode": { + "@id": "https://schema.org/postalCode" + }, + "streetAddress": { + "@id": "https://schema.org/streetAddress" + } + } + }, + "Alignment": { + "@id": "https://schema.org/AlignmentObject", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "targetCode": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#targetCode" + }, + "targetDescription": { + "@id": "https://schema.org/targetDescription" + }, + "targetFramework": { + "@id": "https://schema.org/targetFramework" + }, + "targetName": { + "@id": "https://schema.org/targetName" + }, + "targetType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#targetType" + }, + "targetUrl": { + "@id": "https://schema.org/targetUrl", + "@type": "https://www.w3.org/2001/XMLSchema#anyURI" + } + } + }, + "Criteria": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Criteria" + }, + "EndorsementCredential": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#EndorsementCredential" + }, + "EndorsementSubject": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#EndorsementSubject", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "endorsementComment": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#endorsementComment" + } + } + }, + "Evidence": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Evidence", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "audience": { + "@id": "https://schema.org/audience" + }, + "genre": { + "@id": "https://schema.org/genre" + } + } + }, + "GeoCoordinates": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#GeoCoordinates", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "latitude": { + "@id": "https://schema.org/latitude" + }, + "longitude": { + "@id": "https://schema.org/longitude" + } + } + }, + "IdentifierEntry": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#IdentifierEntry", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "identifier": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identifier" + }, + "identifierType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identifierType" + } + } + }, + "IdentityObject": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#IdentityObject", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "hashed": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#hashed", + "@type": "https://www.w3.org/2001/XMLSchema#boolean" + }, + "identityHash": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identityHash" + }, + "identityType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#identityType" + }, + "salt": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#salt" + } + } + }, + "Image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Image", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "caption": { + "@id": "https://schema.org/caption" + } + } + }, + "Profile": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Profile", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "additionalName": { + "@id": "https://schema.org/additionalName" + }, + "address": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#address", + "@type": "@id" + }, + "dateOfBirth": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#dateOfBirth", + "@type": "https://www.w3.org/2001/XMLSchema#date" + }, + "email": { + "@id": "https://schema.org/email" + }, + "familyName": { + "@id": "https://schema.org/familyName" + }, + "familyNamePrefix": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#familyNamePrefix" + }, + "givenName": { + "@id": "https://schema.org/givenName" + }, + "honorificPrefix": { + "@id": "https://schema.org/honorificPrefix" + }, + "honorificSuffix": { + "@id": "https://schema.org/honorificSuffix" + }, + "image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Image", + "@type": "@id" + }, + "otherIdentifier": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#otherIdentifier", + "@container": "@set" + }, + "parentOrg": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#parentOrg", + "@type": "@id" + }, + "patronymicName": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#patronymicName" + }, + "phone": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#phone" + }, + "official": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#official" + } + } + }, + "Related": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Related", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "version": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version" + } + } + }, + "Result": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Result", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "achievedLevel": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#achievedLevel", + "@type": "https://www.w3.org/2001/XMLSchema#anyURI" + }, + "resultDescription": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#resultDescription", + "@type": "https://www.w3.org/2001/XMLSchema#anyURI" + }, + "status": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#status" + }, + "value": { + "@id": "https://schema.org/value" + } + } + }, + "ResultDescription": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#ResultDescription", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "allowedValue": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#allowedValue", + "@container": "@list" + }, + "requiredLevel": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#requiredLevel", + "@type": "https://www.w3.org/2001/XMLSchema#anyURI" + }, + "requiredValue": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#requiredValue" + }, + "resultType": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#resultType" + }, + "rubricCriterionLevel": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#rubricCriterionLevel", + "@container": "@set" + }, + "valueMax": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#valueMax" + }, + "valueMin": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#valueMin" + } + } + }, + "RubricCriterionLevel": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#RubricCriterionLevel", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "level": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#level" + }, + "points": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#points" + } + } + }, + "alignment": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#alignment", + "@container": "@set" + }, + "description": { + "@id": "https://schema.org/description" + }, + "endorsement": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#endorsement", + "@container": "@set" + }, + "image": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#image", + "@type": "@id" + }, + "name": { + "@id": "https://schema.org/name" + }, + "narrative": { + "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#narrative" + }, + "url": { + "@id": "https://schema.org/url", + "@type": "https://www.w3.org/2001/XMLSchema#anyURI" + } + } +}