{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/university-of-maryland-college-park/refs/heads/main/json-schema/university-of-maryland-college-park-space-details-schema.json",
  "title": "UMD Libraries raw space records",
  "description": "Raw LibCal space records for one UMD library location. The response is an array containing one array of space objects. Derived from a live probe \u2014 the upstream OpenAPI declares an untyped 200 body.",
  "type": "array",
  "items": {
    "type": "array",
    "items": {
      "$ref": "#/$defs/space"
    }
  },
  "$defs": {
    "space": {
      "type": "object",
      "title": "Bookable space",
      "properties": {
        "id": {
          "type": "integer",
          "description": "LibCal space id.",
          "examples": [
            86468
          ]
        },
        "name": {
          "type": "string",
          "description": "Space name.",
          "examples": [
            "Seminar Room M2213A"
          ]
        },
        "description": {
          "type": "string",
          "description": "HTML description of the space."
        },
        "termsAndConditions": {
          "type": "string",
          "description": "HTML terms for booking this space."
        },
        "locationTermsAndConditions": {
          "type": "string",
          "description": "HTML terms inherited from the location."
        },
        "groupTermsAndConditions": {
          "type": "string",
          "description": "HTML terms inherited from the space group."
        },
        "image": {
          "type": "string",
          "description": "Image URL, empty when unset."
        },
        "image_alt_text": {
          "type": "string"
        },
        "capacity": {
          "type": "integer",
          "description": "Seats or people the space holds.",
          "examples": [
            20
          ]
        },
        "formid": {
          "type": "integer"
        },
        "isBookableAsWhole": {
          "type": "boolean"
        },
        "isEventLocation": {
          "type": "boolean"
        },
        "zoneId": {
          "type": "integer"
        },
        "zoneName": {
          "type": "string",
          "examples": [
            "McKeldin Library 4th Floor"
          ]
        },
        "google": {
          "type": "boolean"
        },
        "exchange": {
          "type": "boolean"
        },
        "filter_ids": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "groupId": {
          "type": "integer"
        },
        "groupName": {
          "type": "string",
          "examples": [
            "McKeldin Library Study Carrels"
          ]
        },
        "availability": {
          "type": "array",
          "description": "Free time windows, present when the availability query parameter requests them.",
          "items": {
            "type": "object",
            "properties": {
              "from": {
                "type": "string",
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "required": [
        "id",
        "name",
        "capacity",
        "groupId",
        "groupName"
      ],
      "additionalProperties": true
    }
  },
  "x-generated": "2026-08-30",
  "x-method": "derived",
  "x-source": "live probe of https://api.www.lib.umd.edu/api/libtools (2026-08-30)",
  "x-operator": "institution"
}