@nodescript/core
Version:
Visual programming language for Browser and Node
24 lines • 596 B
JavaScript
import { Schema } from 'airtight';
export const SubgraphSpecSchema = new Schema({
id: 'SubgraphSpec',
type: 'object',
properties: {
rootNodeId: {
type: 'string',
},
nodes: {
type: 'object',
properties: {},
additionalProperties: {
type: 'ref',
schemaId: 'NodeSpec',
},
},
metadata: {
type: 'object',
properties: {},
additionalProperties: { type: 'any' },
},
},
});
//# sourceMappingURL=SubgraphSpec.js.map