Prisma · Schema

ConnectionCreate

Request body for creating a new connection string

Properties

Name Type Description
name string Display name for the connection
type string Type of connection to create
View JSON Schema on GitHub

JSON Schema

prisma-connectioncreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ConnectionCreate",
  "title": "ConnectionCreate",
  "type": "object",
  "description": "Request body for creating a new connection string",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for the connection"
    },
    "type": {
      "type": "string",
      "description": "Type of connection to create",
      "enum": [
        "prisma",
        "direct"
      ]
    }
  },
  "required": [
    "type"
  ]
}