JSON schema and TypeScript definitions for graphcool.yml configuration files. Version 1.2.1 provides the canonical schema for the Graphcool framework's YAML config, enabling IDE autocompletion and validation. The schema is available as a hosted URL or bundled as a JSON file. The package includes TypeScript type definitions (GraphcoolDefinition) and exports the raw JSON schema. No longer maintained; the Graphcool framework has been superseded by Prisma.
npm install graphcool-json-schemaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Validates a graphcool.yml file against the schema using Ajv and outputs any validation errors.
Migrate from Graphcool to Prisma (https://www.prisma.io/docs/guides/upgrade-guides/upgrade-from-graphcool)
Use require('graphcool-json-schema/dist/schema.json') or import from 'graphcool-json-schema/dist/schema.json'Update import path to include /dist/.
Use require('graphcool-json-schema/dist/schema.json')Use a JSON loader or configure webpack to handle .json files.
No dependency data recorded yet.