{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fortrabbit-com/json-schema/fortrabbit-com-environment-api-read-api-read-environment-variables-api-read-platform-variables-schema.json",
  "title": "Environment-api.read_api.read.environment-variables_api.read.platform-variables",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/fortrabbit-com-api-openapi.json#/components/schemas/Environment-api.read_api.read.environment-variables_api.read.platform-variables",
  "type": "object",
  "properties": {
    "publicId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "softwareVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "domains": {
      "readOnly": true,
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "components": {
      "readOnly": true,
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "phpVersion": {
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "buildCommands": {
      "readOnly": true,
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "postDeployCommands": {
      "readOnly": true,
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "git": {
      "readOnly": true,
      "type": "object",
      "properties": {
        "branch": {
          "type": [
            "string",
            "null"
          ]
        },
        "directory": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "environmentVariables": {
      "readOnly": true,
      "type": "object",
      "description": "Variables set on this environment by its owners, keyed by name.",
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "platformVariables": {
      "readOnly": true,
      "type": "object",
      "description": "Variables injected by fortrabbit, keyed by name. Read-only: they cannot be added, changed or removed. Encrypted values, such as the database password, are not exposed.",
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  }
}