prisma-json-schema
JSON schema of prisma.yml files
Last updated 7 years ago by timsuchanek .
Repository · Bugs · Original npm
$ cnpm install prisma-json-schema 
SYNC missed versions from official npm registry.

prisma-json-schema

JSON schema of prisma.yml files

CircleCI npm version

Usage

JSON Schema

As hosted URL

You can use the following URL for the current JSON schema file:

https://raw.githubusercontent.com/prisma/prisma-json-schema/master/src/schema.json

Import as file in Node

const schema = require('prisma-json-schema/dist/schema.json')

Usage with VSCode

Add the following to your settings:

{
  "yaml.schemas": {
    "https://raw.githubusercontent.com/prisma/prisma-json-schema/master/src/schema.json":
      "prisma.yml"
  }
}

Typescript Definitions

yarn add prisma-json-schema
import { PrismaDefinition } from 'prisma-json-schema'

Current Tags

  • 0.0.5-alpha.2                                ...           alpha (7 years ago)
  • 0.1.3                                ...           latest (7 years ago)

3 Versions

  • 0.0.4                                ...           7 years ago
  • 0.0.5-alpha.2                                ...           7 years ago
  • 0.1.3                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org