{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/university-of-twente/blob/main/json-schema/resource.json",
  "title": "Resource Response",
  "description": "Envelope listing every campus resource and the energy types metered for it.",
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "error": {
      "type": [
        "string",
        "null"
      ],
      "description": "Human-readable error message, or null on success."
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "https://github.com/api-evangelist/university-of-twente/blob/main/json-schema/building.json"
      }
    }
  },
  "additionalProperties": false,
  "x-generated": "2026-09-01",
  "x-method": "derived",
  "x-source": "openapi/_original/university-of-twente-energy-api-openapi.json",
  "x-operator": "institution"
}
