{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codecarbon/json-schema/codecarbon-run-report-schema.json",
  "title": "RunReport",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codecarbon-openapi.yml#/components/schemas/RunReport",
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "title": "Timestamp"
    },
    "experiment_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Experiment Id"
    },
    "os": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Os"
    },
    "python_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Python Version"
    },
    "codecarbon_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Codecarbon Version"
    },
    "cpu_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cpu Count"
    },
    "cpu_model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cpu Model"
    },
    "gpu_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gpu Count"
    },
    "gpu_model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gpu Model"
    },
    "longitude": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Longitude"
    },
    "latitude": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latitude"
    },
    "region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Region"
    },
    "provider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provider"
    },
    "ram_total_size": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ram Total Size"
    },
    "tracking_mode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tracking Mode"
    },
    "run_id": {
      "type": "string",
      "format": "uuid",
      "title": "Run Id"
    },
    "emissions": {
      "type": "number",
      "title": "Emissions"
    },
    "cpu_power": {
      "type": "number",
      "title": "Cpu Power"
    },
    "gpu_power": {
      "type": "number",
      "title": "Gpu Power"
    },
    "ram_power": {
      "type": "number",
      "title": "Ram Power"
    },
    "cpu_energy": {
      "type": "number",
      "title": "Cpu Energy"
    },
    "gpu_energy": {
      "type": "number",
      "title": "Gpu Energy"
    },
    "ram_energy": {
      "type": "number",
      "title": "Ram Energy"
    },
    "energy_consumed": {
      "type": "number",
      "title": "Energy Consumed"
    },
    "duration": {
      "type": "number",
      "title": "Duration"
    },
    "emissions_rate": {
      "type": "number",
      "title": "Emissions Rate"
    },
    "emissions_count": {
      "type": "integer",
      "title": "Emissions Count"
    },
    "cpu_utilization_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cpu Utilization Percent"
    },
    "gpu_utilization_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gpu Utilization Percent"
    },
    "ram_utilization_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ram Utilization Percent"
    }
  },
  "type": "object",
  "required": [
    "timestamp",
    "run_id",
    "emissions",
    "cpu_power",
    "gpu_power",
    "ram_power",
    "cpu_energy",
    "gpu_energy",
    "ram_energy",
    "energy_consumed",
    "duration",
    "emissions_rate",
    "emissions_count"
  ]
}