{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-batching-table-table-results-schema.json",
  "title": "BatchingTableTableResults",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-mycc-credits-api-openapi.yml#/components/schemas/BatchingTableTableResults",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "format": "int32"
    },
    "results": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/BatchingTable"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "BatchingDataStatus": {
      "enum": [
        "Successful",
        "MissingData",
        "Error"
      ],
      "type": "string"
    },
    "BatchingTable": {
      "type": "object",
      "properties": {
        "uploadLogId": {
          "type": "integer",
          "format": "int32"
        },
        "status": {
          "$ref": "#/$defs/BatchingDataStatus"
        },
        "source": {
          "type": [
            "string",
            "null"
          ]
        },
        "fileName": {
          "type": [
            "string",
            "null"
          ]
        },
        "uploadTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "timeframe": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}