planetscale · Schema

PasswordWithPlaintext

View JSON Schema on GitHub

JSON Schema

planetscale-passwordwithplaintext-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PasswordWithPlaintext",
  "title": "PasswordWithPlaintext",
  "allOf": [
    {
      "$ref": "#/components/schemas/Password"
    },
    {
      "type": "object",
      "properties": {
        "plain_text": {
          "type": "string",
          "description": "The plaintext password value. Only returned during creation."
        },
        "connection_strings": {
          "type": "object",
          "description": "Pre-formatted connection strings for various drivers.",
          "properties": {
            "general": {
              "type": "string",
              "description": "A general MySQL connection string."
            },
            "prisma": {
              "type": "string",
              "description": "A Prisma-formatted connection string."
            },
            "laravel": {
              "type": "string",
              "description": "A Laravel-formatted connection string."
            },
            "rails": {
              "type": "string",
              "description": "A Rails-formatted connection string."
            }
          }
        }
      }
    }
  ]
}