Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem https://nextgraph.org
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.
 
 
 
 
 
 
nextgraph-rs/sdk/ng-sdk-js/ng-ldo-compact/packages/schema-converter-shex/test/testData/singleAnonymous.ts

33 lines
637 B

import type { TestData } from "./testData.js";
export const singleAnonymous: TestData = {
name: "single anonymous",
shexc: `
PREFIX ex: <http://ex/>
ex:ConfigHolderShape { ex:config { ex:key . ; ex:val . } }
`,
sampleTurtle: ``,
baseNode: "http://ex/cfg1",
successfulContext: {},
successfulTypings: "",
successfulCompactTypings: `export type IRI = string;
export interface ConfigHolder {
id: IRI;
/**
* Original IRI: http://ex/config
*/
config: {
id: IRI;
/**
* Original IRI: http://ex/key
*/
key: any;
/**
* Original IRI: http://ex/val
*/
val: any;
};
}
`,
};