{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-sandbox-ephemeral-response-dto-success-response-schema.json",
  "title": "SandboxEphemeralResponseDtoSuccessResponse",
  "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/SandboxEphemeralResponseDtoSuccessResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Success status"
    },
    "message": {
      "type": "string",
      "description": "Success message"
    },
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Ephemeral run id"
        },
        "status": {
          "type": "string",
          "enum": [
            "succeeded",
            "failed"
          ],
          "description": "Run outcome"
        },
        "language": {
          "type": "string",
          "description": "Language used for the run"
        },
        "result": {
          "type": "object",
          "description": "Result object when status is succeeded"
        },
        "error": {
          "type": "string",
          "description": "Error message when status is failed"
        },
        "durationMs": {
          "type": "number",
          "description": "Wall-clock duration in milliseconds"
        }
      },
      "required": [
        "id",
        "status",
        "language"
      ]
    }
  },
  "required": [
    "success",
    "message",
    "data"
  ]
}