{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.nthusa.tw/schemas/library-space.json",
  "title": "LibrarySpace",
  "description": "Availability of a library space/zone (圖書館空間剩餘).",
  "type": "object",
  "required": [
    "spacetype",
    "spacetypename",
    "zoneid",
    "zonename",
    "count"
  ],
  "properties": {
    "spacetype": {
      "type": "integer",
      "description": "空間類型"
    },
    "spacetypename": {
      "type": "string",
      "description": "空間類型名稱"
    },
    "zoneid": {
      "type": "string",
      "description": "區域代號"
    },
    "zonename": {
      "type": "string",
      "description": "區域名稱"
    },
    "count": {
      "type": "integer",
      "description": "空間剩餘數量"
    }
  },
  "x-method": "derived",
  "x-source-url": "openapi/_original/nthu-data-api.yaml",
  "x-operator": "tenant",
  "x-note": "Derived from the NTHU Student Association contract at api.nthusa.tw, not published by National Tsing Hua University."
}
