FOLIO · Schema

surroundingOpenings

Information for three dates: one before when the SP is open, one representing an opening or closure for the current date, and one after the provided date where the SP is open. If there are no openings before or after a given date, then an opening object will be returned with the date immediately following, denoting a closure.

CompanyLibrariesLibrary Services PlatformOpen SourceMicroservicesEducation

Properties

Name Type Description
openings array
View JSON Schema on GitHub

JSON Schema

folio-surrounding-openings-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/folio/main/json-schema/folio-surrounding-openings-schema.json",
  "title": "surroundingOpenings",
  "description": "Information for three dates: one before when the SP is open, one representing an opening or closure for the current date, and one after the provided date where the SP is open.  If there are no openings before or after a given date, then an opening object will be returned with the date immediately following, denoting a closure.",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-mod-calendar-openapi.yml#/components/schemas/surroundingOpenings",
  "type": "object",
  "properties": {
    "openings": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "items": {
        "$ref": "#/$defs/singleDayOpening"
      }
    }
  },
  "required": [
    "openings"
  ],
  "additionalProperties": false,
  "$defs": {
    "singleDayOpening": {
      "description": "Opening information for a single day",
      "type": "object",
      "properties": {
        "date": {
          "description": "The date (YYYY-MM-DD) that this object is describing openings for",
          "type": "string",
          "format": "date"
        },
        "allDay": {
          "description": "If the service point is open or closed for the entire day",
          "type": "boolean"
        },
        "open": {
          "description": "If the service point is open on this day",
          "type": "boolean"
        },
        "exceptional": {
          "description": "If this opening (or closure) was the result of an exception",
          "type": "boolean"
        },
        "exceptionName": {
          "description": "The name of an exception, if this day was affected by one",
          "type": "string"
        },
        "openings": {
          "description": "A list of all the opening ranges of the service point on this day",
          "type": "array",
          "items": {
            "$ref": "#/$defs/singleDayOpeningRange"
          }
        }
      },
      "required": [
        "date",
        "allDay",
        "open",
        "exceptional",
        "openings"
      ],
      "additionalProperties": false
    },
    "singleDayOpeningRange": {
      "description": "A time for a single opening range on a given day",
      "type": "object",
      "properties": {
        "startTime": {
          "description": "The start time of this opening",
          "type": "string",
          "format": "time"
        },
        "endTime": {
          "description": "The end time of this opening",
          "type": "string",
          "format": "time"
        }
      },
      "required": [
        "startTime",
        "endTime"
      ],
      "additionalProperties": false
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/folio-surrounding-openings"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.