{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-sandbox-session-response-dto-success-response-schema.json",
  "title": "SandboxSessionResponseDtoSuccessResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowra-dev-sandbox-api-openapi.yml#/components/schemas/SandboxSessionResponseDtoSuccessResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Success status"
    },
    "message": {
      "type": "string",
      "description": "Success message"
    },
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Public session id (ledger UUID)"
        },
        "sandboxId": {
          "type": "string",
          "description": "Provider sandbox id"
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "settling",
            "settled",
            "failed"
          ],
          "description": "Session status"
        },
        "threadId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Isolation thread id"
        },
        "cpuCount": {
          "type": "number",
          "description": "vCPU count"
        },
        "memoryMB": {
          "type": "number",
          "description": "Memory in MB"
        },
        "maxDurationSec": {
          "type": "number",
          "description": "Max session duration in seconds"
        },
        "startedAt": {
          "type": "string",
          "description": "Session start time (ISO)"
        }
      },
      "required": [
        "id",
        "sandboxId",
        "status",
        "cpuCount",
        "memoryMB",
        "maxDurationSec",
        "startedAt"
      ]
    }
  },
  "required": [
    "success",
    "message",
    "data"
  ]
}