{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autodesk/json-schema/autodesk-records-response-schema.json",
  "title": "RecordsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autodesk-records-api-openapi.yml#/components/schemas/RecordsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Record"
      }
    },
    "pagination": {
      "$ref": "#/$defs/Pagination"
    }
  },
  "$defs": {
    "Pagination": {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer"
        },
        "limit": {
          "type": "integer"
        },
        "totalResults": {
          "type": "integer"
        }
      }
    },
    "Record": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "datasetId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "year": {
          "type": "integer"
        },
        "unit": {
          "type": "string",
          "description": "Unit of measurement."
        },
        "emissionFactor": {
          "type": "number",
          "description": "Carbon emission factor value."
        },
        "emissionFactorUnit": {
          "type": "string",
          "description": "Unit for the emission factor (e.g., kgCO2e/kWh)."
        },
        "gwp": {
          "type": "number",
          "description": "Global Warming Potential value."
        },
        "metadata": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  }
}