`@context` files for Rebase Credentials.
`BasicPost`
```json
[
"https://www.w3.org/2018/credentials/v1",
{
"BasicPostCredential": "https://example.com/BasicPostCredential",
"BasicPost": {
"@id": "https://schema.org/BasicPost",
"@context": {
"title": "https://schema.org/name",
"body": "https://schema.org/articleBody",
}
}
},
]
```
`BasicProfile`
```json
[
"https://www.w3.org/2018/credentials/v1",
{
"BasicProfile": {
"@id": "https://example.com/BasicProfile",
"@context": {
"alias": "https://schema.org/name",
"description": "https://schema.org/description",
"website": "https://schema.org/url",
"logo": "https://schema.org/logo",
}
}
}
]
```
`DNS`
```json
[
"https://www.w3.org/2018/credentials/v1",
{
"sameAs": "http://schema.org/sameAs",
"DnsVerification": "https://example.com/DnsVerification",
"DnsVerificationMessage": {
"@id": "https://example.com/DnsVerificationMessage",
"@context": {
"@version": 1.1,
"@protected": true,
"timestamp": {
"@id": "https://example.com/timestamp",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"dnsServer": "https://example.com/dnsServer",
}
}
}
]
```
`GitHub`
```json
[
"https://www.w3.org/2018/credentials/v1",
{
"sameAs": "http://schema.org/sameAs",
"GitHubVerification": "https://example.com/GitHubVerification",
"GitHubVerificationMessage": {
"@id": "https://example.com/GitHubVerificationMessage",
"@context": {
"@version": 1.1,
"@protected": true,
"timestamp": {
"@id": "https://example.com/timestamp",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"gistId": "https://example.com/gistId",
"handle": "https://example.com/handle"
}
}
}
]
```
`Reddit`
```json
[
"https://www.w3.org/2018/credentials/v1",
{
"sameAs": "http://schema.org/sameAs",
"RedditVerification": "https://example.com/RedditVerification",
"RedditVerificationMessage": {
"@id": "https://example.com/RedditVerificationMessage",
"@context": {
"@version": 1.1,
"@protected": true,
"timestamp": {
"@id": "https://example.com/timestamp",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"handle": "https://example.com/handle",
}
}
}
]
```
`Self Signed` (This probably needs editing before adding to the spec, please see [this issue](https://github.com/spruceid/rebase/issues/18))
```json
[
"https://www.w3.org/2018/credentials/v1",
{
"id": "https://example.com/id",
"sameAs": "http://schema.org/sameAs",
"SelfSignedControl": "https://example.com/SelfSignedControl",
"SelfSignedControlVerification": {
"@id": "https://example.com/SelfSignedControlVerification",
"@context": {
"@version": 1.1,
"@protected": true,
"signature_1": "https://example.com/signature_1",
"signature_2": "https://example.com/signature_2",
"statement": "https://example.com/statement",
}
},
}
]
```
`SoundCloud`
```json
[
"https://www.w3.org/2018/credentials/v1",
{
"sameAs": "http://schema.org/sameAs",
"SoundCloudVerification": "https://example.com/SoundCloudVerification",
"SoundCloudVerificationMessage": {
"@id": "https://example.com/SoundCloudVerificationMessage",
"@context": {
"@version": 1.1,
"@protected": true,
"timestamp": {
"@id": "https://example.com/timestamp",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"handle": "https://example.com/handle",
}
}
}
]
```
`Twitter`
```json
[
"https://www.w3.org/2018/credentials/v1",
{
"sameAs": "http://schema.org/sameAs",
"TwitterVerification": "https://example.com/TwitterVerification",
"TwitterVerificationPublicTweet": {
"@id": "https://example.com/TwitterVerificationPublicTweet",
"@context": {
"@version": 1.1,
"@protected": true,
"handle": "https://example.com/handle",
"timestamp": {
"@id": "https://example.com/timestamp",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"tweetId": "https://example.com/tweetId"
}
}
}
]
```