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/pluralAnonymous.ts

33 lines
671 B

import type { TestData } from "./testData.js";
export const pluralAnonymous: TestData = {
name: "plural anonymous",
shexc: `
PREFIX ex: <http://ex.org/>
ex:ConfigHolderShape { ex:configs { 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.org/configs
*/
configs?: Record<IRI, {
id: IRI;
/**
* Original IRI: http://ex.org/key
*/
key: any;
/**
* Original IRI: http://ex.org/val
*/
val: any;
}>;
}
`,
};