{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Environment", "title": "Environment", "type": "object", "description": "An environment represents a deployment stage within a project, such as development, staging, or production, with its own database connection and API keys.", "properties": { "id": { "type": "string", "description": "Unique identifier for the environment", "examples": [ "env_abc123def456" ] }, "name": { "type": "string", "description": "Display name of the environment", "examples": [ "Production" ] }, "projectId": { "type": "string", "description": "Identifier of the parent project" }, "connectionString": { "type": "string", "description": "Database connection string for this environment", "examples": [ "prisma://accelerate.prisma-data.net/?api_key=ey..." ] }, "createdAt": { "type": "string", "format": "date-time", "description": "Timestamp when the environment was created" }, "updatedAt": { "type": "string", "format": "date-time", "description": "Timestamp when the environment was last updated" } }, "required": [ "id", "name", "projectId", "createdAt", "updatedAt" ] }