You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ldo-compact-fork/packages/ldo/example/ldo/foafProfile.context.ts

26 lines
746 B

import { ContextDefinition } from "jsonld";
/**
* =============================================================================
* foafProfileContext: JSONLD Context for foafProfile
* =============================================================================
*/
export const foafProfileContext: ContextDefinition = {
type: {
"@id": "@type",
},
Person: "http://xmlns.com/foaf/0.1/Person",
name: {
"@id": "http://xmlns.com/foaf/0.1/name",
"@type": "http://www.w3.org/2001/XMLSchema#string",
},
img: {
"@id": "http://xmlns.com/foaf/0.1/img",
"@type": "http://www.w3.org/2001/XMLSchema#string",
},
knows: {
"@id": "http://xmlns.com/foaf/0.1/knows",
"@type": "@id",
"@container": "@set",
},
};