Skip to content

Commit

Permalink
Fix namespace documents as requested by @gkellogg.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Nov 1, 2018
1 parent 2399114 commit 7d66396
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ <h2>Identifiers</h2>

<pre class="example nohighlight" title="Usage of the 'id' property">
{
"@context": "https://w3id.org/credentials/v1",
"@context": "https://w3.org/2018/credentials/v1",
<span class="highlight">"id": "http://dmv.example.gov/credentials/3732"</span>,
"type": ["VerifiableCredential", "ProofOfAgeCredential"],
"claim": {
Expand Down Expand Up @@ -1381,7 +1381,7 @@ <h3>Semantic Interoperability</h3>
"@context": {
"referenceNumber": "https://example.com/vocab#referenceNumber",
<span class="highlight">"claim": {
"@id": "https://w3id.org/credentials#claim",
"@id": "https://w3.org/2018/credentials#claim",
"@context": {
"favoriteFood": "https://example.com/vocab#favoriteFood"
}
Expand Down Expand Up @@ -2266,7 +2266,7 @@ <h3>JSON Web Token</h3>
"aud": "www.example.com",
"sub": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"verifiableCredential": {
"@context": "https://w3id.org/security/v1",
"@context": "https://w3.org/2018/security/v1",
"id": "http://example.gov/credentials/3732",
"type": ["VerifiableCredential", "ProofOfAgeCredential"],
"issuer": "https://dmv.example.gov",
Expand Down
4 changes: 2 additions & 2 deletions vocab/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
{
"@version": 1.1
},
"https://w3id.org/security/v1",
"https://w3.org/2018/security/v1",
{
"id": "@id",
"type": "@type",
"cred": "https://w3id.org/credentials#",
"cred": "https://w3.org/2018/credentials#",
"dc": "http://purl.org/dc/terms/",
"schema": "http://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
Expand Down
12 changes: 6 additions & 6 deletions vocab/credentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
specStatus: "base",
shortName: "vc-vocab",
publishDate: "2018-07-25",
thisVersion: "http://w3id.org/credentials",
thisVersion: "http://w3.org/2018/credentials",
doJsonLd: true,
//edDraftURI: "https://w3c.github.io/vc-vocab/",
// lcEnd: "3000-01-01",
Expand Down Expand Up @@ -72,7 +72,7 @@
.bold {font-weight: bold;}
</style>
</head>
<body resource="https://w3id.org/credentials#" typeof="owl:Ontology" prefix="cred: https://w3id.org/credentials#">
<body resource="https://w3.org/2018/credentials#" typeof="owl:Ontology" prefix="cred: https://w3.org/2018/credentials#">
<section id="abstract">
<p>This document describes the
<span property="dc:title">Verifiable Claims Vocabulary</span>
Expand All @@ -89,7 +89,7 @@
<dt>Published:</dt><dd><time property="dc:date">2018-07-25</time></dd>
<dt>Imports:</dt>
<dd><a href="http://purl.org/dc/terms/" property="owl:imports">http://purl.org/dc/terms/</a></dd>
<dd><a href="https://w3id.org/security" property="owl:imports">https://w3id.org/security</a></dd>
<dd><a href="https://w3.org/2018/security" property="owl:imports">https://w3.org/2018/security</a></dd>
<dt>Version Info:</dt>
<dd><a href="" property="owl:versionInfo"></a></dd>
<dt>See Also:</dt>
Expand All @@ -107,11 +107,11 @@ <h2>Introduction</h2>
<p>This specification makes use of the following namespaces:</p>
<dl class="terms">
<dt><code>cred</code>:</dt>
<dd><code>https://w3id.org/credentials#</code></dd>
<dd><code>https://w3.org/2018/credentials#</code></dd>
<dt><code>dc</code>:</dt>
<dd><code>http://purl.org/dc/terms/</code></dd>
<dt><code>sec</code>:</dt>
<dd><code>https://w3id.org/security#</code></dd>
<dd><code>https://w3.org/2018/security#</code></dd>
<dt><code>xsd</code>:</dt>
<dd><code>http://www.w3.org/2001/XMLSchema#</code></dd>
</dl>
Expand Down Expand Up @@ -291,7 +291,7 @@ <h2>Term Definitions</h2>
</dd>
<dt>cred</dt>
<dd>
https://w3id.org/credentials#
https://w3.org/2018/credentials#
</dd>
<dt>credentialStatus</dt>
<dd>
Expand Down
8 changes: 4 additions & 4 deletions vocab/credentials.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
{
"@version": 1.1
},
"https://w3id.org/security/v1",
"https://w3.org/2018/security/v1",
{
"id": "@id",
"type": "@type",
"cred": "https://w3id.org/credentials#",
"cred": "https://w3.org/2018/credentials#",
"dc": "http://purl.org/dc/terms/",
"schema": "http://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
Expand Down Expand Up @@ -140,7 +140,7 @@
"@type": "@id"
}
},
"@id": "https://w3id.org/credentials#",
"@id": "https://w3.org/2018/credentials#",
"@type": "owl:Ontology",
"dc:title": {
"en": "Verifiable Claims Vocabulary"
Expand All @@ -151,7 +151,7 @@
"dc:date": "2018-07-25",
"owl:imports": [
"http://purl.org/dc/terms/",
"https://w3id.org/security"
"https://w3.org/2018/security"
],
"rdfs:seeAlso": [
"https://www.w3.org/TR/verifiable-claims-data-model/"
Expand Down
4 changes: 2 additions & 2 deletions vocab/credentials.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix cred: <https://w3id.org/credentials#> .
@prefix cred: <https://w3.org/2018/credentials#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

Expand All @@ -11,7 +11,7 @@ cred: a owl:Ontology;
dc:title "Verifiable Claims Vocabulary"@en;
dc:description """This document describes the RDFS vocabulary description used for Verifiable Claims [[verifiable-claims-data-model]] along with the default JSON-LD Context."""@en;
dc:date "2018-07-25"^^xsd:date;
dc:imports <http://purl.org/dc/terms/>, <https://w3id.org/security>;
dc:imports <http://purl.org/dc/terms/>, <https://w3.org/2018/security>;
rdfs:seeAlso <https://www.w3.org/TR/verifiable-claims-data-model/>;

# Class definitions
Expand Down
6 changes: 3 additions & 3 deletions vocab/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
specStatus: "base",
shortName: "vc-vocab",
publishDate: "<%=ont["dc:date"]%>",
thisVersion: "http://w3id.org/credentials",
thisVersion: "http://w3.org/2018/credentials",
doJsonLd: true,
//edDraftURI: "https://w3c.github.io/vc-vocab/",
// lcEnd: "3000-01-01",
Expand Down Expand Up @@ -112,11 +112,11 @@ <h2>Introduction</h2>
<p>This specification makes use of the following namespaces:</p>
<dl class="terms">
<dt><code>cred</code>:</dt>
<dd><code>https://w3id.org/credentials#</code></dd>
<dd><code>https://w3.org/2018/credentials#</code></dd>
<dt><code>dc</code>:</dt>
<dd><code>http://purl.org/dc/terms/</code></dd>
<dt><code>sec</code>:</dt>
<dd><code>https://w3id.org/security#</code></dd>
<dd><code>https://w3.org/2018/security#</code></dd>
<dt><code>xsd</code>:</dt>
<dd><code>http://www.w3.org/2001/XMLSchema#</code></dd>
</dl>
Expand Down
6 changes: 3 additions & 3 deletions vocab/vocab.csv
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
id,type,label,subClassOf,domain,range,@type,@container,comment
,@context,,https://w3id.org/security/v1,,,,,
cred,prefix,,https://w3id.org/credentials#,,,,,
,@context,,https://w3.org/2018/security/v1,,,,,
cred,prefix,,https://w3.org/2018/credentials#,,,,,
dc,prefix,,http://purl.org/dc/terms/,,,,,
schema,prefix,,http://schema.org/,,,,,
xsd,prefix,,http://www.w3.org/2001/XMLSchema#,,,,,
,owl:imports,,http://purl.org/dc/terms/,,,,,
,owl:imports,,https://w3id.org/security,,,,,
,owl:imports,,https://w3.org/2018/security,,,,,
,rdfs:seeAlso,,https://www.w3.org/TR/verifiable-claims-data-model/,,,,,
claim,rdf:Property,claim,,VerifiableCredential,,@id,@graph,A statement made about a `subject`.
issuer,rdf:Property,issuer,,VerifiableCredential,,@id,,The value of this property MUST be a URI. It is RECOMMENDED that dereferencing the URI results in a document containing machine-readable information about the issuer that may be used to verify the information expressed in the `credential`.
Expand Down

0 comments on commit 7d66396

Please sign in to comment.