{
  "openapi": "3.1.0",
  "jsonSchemaDialect": "https://spec.openapis.org/oas/3.1/dialect/base",
  "info": {
    "title": "ReferenceData REST API",
    "description": "ObjectsGrid's reference data: countries (ISO 3166-1), subdivisions (ISO 3166-2), languages (ISO 639), currencies (ISO 4217), time zones (IANA), locales (BCP 47) and units (UN/CEFACT Rec 20), with names in every language Unicode CLDR covers at modern level. Read-only and public: no token, no access point, nothing billed; requests are limited per client address (10,000 a minute, then 403). Revisions never change once published, and codes are never removed: a withdrawn code stays, marked withdrawn.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://apis.objectsgrid.com"
    }
  ],
  "security": [],
  "paths": {
    "/referencedata": {
      "get": {
        "summary": "List the datasets",
        "operationId": "listDatasets",
        "security": [],
        "description": "The datasets of a revision, with their keys, fields, sources, licences, languages and sizes, and every revision, newest first. Public: no token and no X-ObjectsGrid-AccessPoint needed, nothing billed.",
        "parameters": [
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The datasets",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DatasetsResponse"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/countries": {
      "get": {
        "summary": "List countries",
        "operationId": "listCountries",
        "security": [],
        "description": "Countries and territories, with former ones (ISO 3166-3) kept as withdrawn. By code, or best match first with search. Public: no token and no X-ObjectsGrid-AccessPoint needed, nothing billed.",
        "parameters": [
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "search",
            "description": "Text to find: codes, names in every language and other names; case and accents don't count, and the text matches the start of any word. Best match first",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            },
            "example": "allem"
          },
          {
            "in": "query",
            "name": "where",
            "description": "Conditions, as on every ObjectsGrid list (JSON): on text fields equals, in, notIn, not, startsWith, endsWith, contains and mode; on lists has, hasSome, hasEvery and isEmpty; on true/false fields equals; AND, OR and NOT. name is the name in the lang language. Withdrawn codes are listed only when the where names withdrawn",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "{\"continent\": {\"equals\": \"150\"}}"
          },
          {
            "in": "query",
            "name": "limit",
            "description": "At most this many records; with search 20 by default and 100 at most. Without search and limit, every matching record",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The countries",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountryList"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "400": {
            "description": "INVALID_QUERY: a where, search or limit that can't be run",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/countries/{code}": {
      "get": {
        "summary": "Retrieve a Country",
        "operationId": "retrieveCountry",
        "security": [],
        "description": "One ISO 3166-1 alpha-2 code's record, current or withdrawn, with its provenance in meta.",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "description": "The ISO 3166-1 alpha-2 code, such as RO; its case doesn't count",
            "schema": {
              "type": "string"
            },
            "example": "RO"
          },
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Country",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Country/v1/schema.json"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/subdivisions": {
      "get": {
        "summary": "List subdivisions",
        "operationId": "listSubdivisions",
        "security": [],
        "description": "Country subdivisions: states, provinces, regions. By code, or best match first with search. Public: no token and no X-ObjectsGrid-AccessPoint needed, nothing billed.",
        "parameters": [
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "search",
            "description": "Text to find: codes, names in every language and other names; case and accents don't count, and the text matches the start of any word. Best match first",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            },
            "example": "allem"
          },
          {
            "in": "query",
            "name": "where",
            "description": "Conditions, as on every ObjectsGrid list (JSON): on text fields equals, in, notIn, not, startsWith, endsWith, contains and mode; on lists has, hasSome, hasEvery and isEmpty; on true/false fields equals; AND, OR and NOT. name is the name in the lang language. Withdrawn codes are listed only when the where names withdrawn",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "{\"continent\": {\"equals\": \"150\"}}"
          },
          {
            "in": "query",
            "name": "limit",
            "description": "At most this many records; with search 20 by default and 100 at most. Without search and limit, every matching record",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The subdivisions",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubdivisionList"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "400": {
            "description": "INVALID_QUERY: a where, search or limit that can't be run",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/subdivisions/{code}": {
      "get": {
        "summary": "Retrieve a Subdivision",
        "operationId": "retrieveSubdivision",
        "security": [],
        "description": "One ISO 3166-2 code's record, current or withdrawn, with its provenance in meta.",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "description": "The ISO 3166-2 code, such as DE-BY; its case doesn't count",
            "schema": {
              "type": "string"
            },
            "example": "DE-BY"
          },
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Subdivision",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Subdivision/v1/schema.json"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/languages": {
      "get": {
        "summary": "List languages",
        "operationId": "listLanguages",
        "security": [],
        "description": "Languages, by ISO 639-1 code, or 639-2/639-3 where there is none. By code, or best match first with search. Public: no token and no X-ObjectsGrid-AccessPoint needed, nothing billed.",
        "parameters": [
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "search",
            "description": "Text to find: codes, names in every language and other names; case and accents don't count, and the text matches the start of any word. Best match first",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            },
            "example": "allem"
          },
          {
            "in": "query",
            "name": "where",
            "description": "Conditions, as on every ObjectsGrid list (JSON): on text fields equals, in, notIn, not, startsWith, endsWith, contains and mode; on lists has, hasSome, hasEvery and isEmpty; on true/false fields equals; AND, OR and NOT. name is the name in the lang language. Withdrawn codes are listed only when the where names withdrawn",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "{\"continent\": {\"equals\": \"150\"}}"
          },
          {
            "in": "query",
            "name": "limit",
            "description": "At most this many records; with search 20 by default and 100 at most. Without search and limit, every matching record",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The languages",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageList"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "400": {
            "description": "INVALID_QUERY: a where, search or limit that can't be run",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/languages/{code}": {
      "get": {
        "summary": "Retrieve a Language",
        "operationId": "retrieveLanguage",
        "security": [],
        "description": "One ISO 639 code's record, current or withdrawn, with its provenance in meta.",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "description": "The ISO 639 code, such as de; its case doesn't count",
            "schema": {
              "type": "string"
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Language",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Language/v1/schema.json"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/currencies": {
      "get": {
        "summary": "List currencies",
        "operationId": "listCurrencies",
        "security": [],
        "description": "Currencies, with former ones (DEM, FRF) kept as withdrawn. By code, or best match first with search. Public: no token and no X-ObjectsGrid-AccessPoint needed, nothing billed.",
        "parameters": [
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "search",
            "description": "Text to find: codes, names in every language and other names; case and accents don't count, and the text matches the start of any word. Best match first",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            },
            "example": "allem"
          },
          {
            "in": "query",
            "name": "where",
            "description": "Conditions, as on every ObjectsGrid list (JSON): on text fields equals, in, notIn, not, startsWith, endsWith, contains and mode; on lists has, hasSome, hasEvery and isEmpty; on true/false fields equals; AND, OR and NOT. name is the name in the lang language. Withdrawn codes are listed only when the where names withdrawn",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "{\"continent\": {\"equals\": \"150\"}}"
          },
          {
            "in": "query",
            "name": "limit",
            "description": "At most this many records; with search 20 by default and 100 at most. Without search and limit, every matching record",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The currencies",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyList"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "400": {
            "description": "INVALID_QUERY: a where, search or limit that can't be run",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/currencies/{code}": {
      "get": {
        "summary": "Retrieve a Currency",
        "operationId": "retrieveCurrency",
        "security": [],
        "description": "One ISO 4217 code's record, current or withdrawn, with its provenance in meta.",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "description": "The ISO 4217 code, such as EUR; its case doesn't count",
            "schema": {
              "type": "string"
            },
            "example": "EUR"
          },
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Currency",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Currency/v1/schema.json"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/timezones": {
      "get": {
        "summary": "List timezones",
        "operationId": "listTimeZones",
        "security": [],
        "description": "Time zones, by their IANA name, with their former names as aliases. By code, or best match first with search. Public: no token and no X-ObjectsGrid-AccessPoint needed, nothing billed.",
        "parameters": [
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "search",
            "description": "Text to find: codes, names in every language and other names; case and accents don't count, and the text matches the start of any word. Best match first",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            },
            "example": "allem"
          },
          {
            "in": "query",
            "name": "where",
            "description": "Conditions, as on every ObjectsGrid list (JSON): on text fields equals, in, notIn, not, startsWith, endsWith, contains and mode; on lists has, hasSome, hasEvery and isEmpty; on true/false fields equals; AND, OR and NOT. name is the name in the lang language. Withdrawn codes are listed only when the where names withdrawn",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "{\"continent\": {\"equals\": \"150\"}}"
          },
          {
            "in": "query",
            "name": "limit",
            "description": "At most this many records; with search 20 by default and 100 at most. Without search and limit, every matching record",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The timezones",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TimeZoneList"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "400": {
            "description": "INVALID_QUERY: a where, search or limit that can't be run",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/timezones/{code}": {
      "get": {
        "summary": "Retrieve a TimeZone",
        "operationId": "retrieveTimeZone",
        "security": [],
        "description": "One IANA time zone code's record, current or withdrawn, with its provenance in meta.",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "description": "The IANA time zone code, such as Europe/Berlin; its case doesn't count. A time zone's alias (US/Pacific) answers its zone",
            "schema": {
              "type": "string"
            },
            "example": "Europe/Berlin"
          },
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The TimeZone",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/TimeZone/v1/schema.json"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/locales": {
      "get": {
        "summary": "List locales",
        "operationId": "listLocales",
        "security": [],
        "description": "Locales: a language, with its script and country where they matter. By code, or best match first with search. Public: no token and no X-ObjectsGrid-AccessPoint needed, nothing billed.",
        "parameters": [
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "search",
            "description": "Text to find: codes, names in every language and other names; case and accents don't count, and the text matches the start of any word. Best match first",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            },
            "example": "allem"
          },
          {
            "in": "query",
            "name": "where",
            "description": "Conditions, as on every ObjectsGrid list (JSON): on text fields equals, in, notIn, not, startsWith, endsWith, contains and mode; on lists has, hasSome, hasEvery and isEmpty; on true/false fields equals; AND, OR and NOT. name is the name in the lang language. Withdrawn codes are listed only when the where names withdrawn",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "{\"continent\": {\"equals\": \"150\"}}"
          },
          {
            "in": "query",
            "name": "limit",
            "description": "At most this many records; with search 20 by default and 100 at most. Without search and limit, every matching record",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The locales",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocaleList"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "400": {
            "description": "INVALID_QUERY: a where, search or limit that can't be run",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/locales/{code}": {
      "get": {
        "summary": "Retrieve a Locale",
        "operationId": "retrieveLocale",
        "security": [],
        "description": "One BCP 47 code's record, current or withdrawn, with its provenance in meta.",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "description": "The BCP 47 code, such as de-AT; its case doesn't count",
            "schema": {
              "type": "string"
            },
            "example": "de-AT"
          },
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Locale",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Locale/v1/schema.json"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/units": {
      "get": {
        "summary": "List units",
        "operationId": "listUnits",
        "security": [],
        "description": "Units of measure, as QuantitativeValue.unitCode holds them. By code, or best match first with search. Public: no token and no X-ObjectsGrid-AccessPoint needed, nothing billed.",
        "parameters": [
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "search",
            "description": "Text to find: codes, names in every language and other names; case and accents don't count, and the text matches the start of any word. Best match first",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            },
            "example": "allem"
          },
          {
            "in": "query",
            "name": "where",
            "description": "Conditions, as on every ObjectsGrid list (JSON): on text fields equals, in, notIn, not, startsWith, endsWith, contains and mode; on lists has, hasSome, hasEvery and isEmpty; on true/false fields equals; AND, OR and NOT. name is the name in the lang language. Withdrawn codes are listed only when the where names withdrawn",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "{\"continent\": {\"equals\": \"150\"}}"
          },
          {
            "in": "query",
            "name": "limit",
            "description": "At most this many records; with search 20 by default and 100 at most. Without search and limit, every matching record",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The units",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnitList"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "400": {
            "description": "INVALID_QUERY: a where, search or limit that can't be run",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    },
    "/referencedata/units/{code}": {
      "get": {
        "summary": "Retrieve a Unit",
        "operationId": "retrieveUnit",
        "security": [],
        "description": "One UN/CEFACT Recommendation 20 code's record, current or withdrawn, with its provenance in meta.",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "description": "The UN/CEFACT Recommendation 20 code, such as KGM; its case doesn't count",
            "schema": {
              "type": "string"
            },
            "example": "KGM"
          },
          {
            "in": "query",
            "name": "lang",
            "description": "The language of the names, a BCP 47 tag; de-AT falls back to de, then English",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 35
            },
            "example": "de"
          },
          {
            "in": "query",
            "name": "revision",
            "description": "A revision, such as 2026-12: its answers never change. Without it, the newest revision answers",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}$"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "description": "An ETag of an earlier answer: 304 while it hasn't changed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Unit",
            "headers": {
              "X-ObjectsGrid-CorrelationID": {
                "description": "A unique id of the request, for troubleshooting",
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "description": "The answer's version: send it as If-None-Match to get 304 while it hasn't changed",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=31536000, immutable with ?revision=; public, max-age=3600 without",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Unit/v1/schema.json"
                }
              }
            }
          },
          "304": {
            "description": "Not modified"
          },
          "404": {
            "description": "REVISION_NOT_FOUND, DATASET_NOT_FOUND or CODE_NOT_FOUND",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ErrorResponse/v1/schema.json"
                }
              }
            }
          },
          "403": {
            "description": "Over the load balancer's limit of requests per client address (10,000 a minute); its body isn't JSON"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "DatasetsResponse": {
        "type": "object",
        "required": [
          "revision",
          "revisions",
          "datasets"
        ],
        "properties": {
          "revision": {
            "type": "string",
            "description": "The revision answering"
          },
          "revisions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Every revision, newest first"
          },
          "datasets": {
            "type": "array",
            "items": {
              "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ReferenceDataset/v1/schema.json"
            }
          }
        }
      },
      "CountryList": {
        "type": "object",
        "required": [
          "items",
          "pageInfo",
          "totalCount"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Country/v1/schema.json"
            }
          },
          "pageInfo": {
            "type": "object",
            "properties": {
              "hasNextPage": {
                "type": "boolean",
                "description": "true when limit left records out"
              }
            }
          },
          "totalCount": {
            "type": "integer",
            "description": "How many records match, before limit"
          },
          "meta": {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ReferenceDataMeta/v1/schema.json"
          }
        }
      },
      "SubdivisionList": {
        "type": "object",
        "required": [
          "items",
          "pageInfo",
          "totalCount"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Subdivision/v1/schema.json"
            }
          },
          "pageInfo": {
            "type": "object",
            "properties": {
              "hasNextPage": {
                "type": "boolean",
                "description": "true when limit left records out"
              }
            }
          },
          "totalCount": {
            "type": "integer",
            "description": "How many records match, before limit"
          },
          "meta": {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ReferenceDataMeta/v1/schema.json"
          }
        }
      },
      "LanguageList": {
        "type": "object",
        "required": [
          "items",
          "pageInfo",
          "totalCount"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Language/v1/schema.json"
            }
          },
          "pageInfo": {
            "type": "object",
            "properties": {
              "hasNextPage": {
                "type": "boolean",
                "description": "true when limit left records out"
              }
            }
          },
          "totalCount": {
            "type": "integer",
            "description": "How many records match, before limit"
          },
          "meta": {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ReferenceDataMeta/v1/schema.json"
          }
        }
      },
      "CurrencyList": {
        "type": "object",
        "required": [
          "items",
          "pageInfo",
          "totalCount"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Currency/v1/schema.json"
            }
          },
          "pageInfo": {
            "type": "object",
            "properties": {
              "hasNextPage": {
                "type": "boolean",
                "description": "true when limit left records out"
              }
            }
          },
          "totalCount": {
            "type": "integer",
            "description": "How many records match, before limit"
          },
          "meta": {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ReferenceDataMeta/v1/schema.json"
          }
        }
      },
      "TimeZoneList": {
        "type": "object",
        "required": [
          "items",
          "pageInfo",
          "totalCount"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "https://objectsgrid.com/.well-known/objects-catalog/TimeZone/v1/schema.json"
            }
          },
          "pageInfo": {
            "type": "object",
            "properties": {
              "hasNextPage": {
                "type": "boolean",
                "description": "true when limit left records out"
              }
            }
          },
          "totalCount": {
            "type": "integer",
            "description": "How many records match, before limit"
          },
          "meta": {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ReferenceDataMeta/v1/schema.json"
          }
        }
      },
      "LocaleList": {
        "type": "object",
        "required": [
          "items",
          "pageInfo",
          "totalCount"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Locale/v1/schema.json"
            }
          },
          "pageInfo": {
            "type": "object",
            "properties": {
              "hasNextPage": {
                "type": "boolean",
                "description": "true when limit left records out"
              }
            }
          },
          "totalCount": {
            "type": "integer",
            "description": "How many records match, before limit"
          },
          "meta": {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ReferenceDataMeta/v1/schema.json"
          }
        }
      },
      "UnitList": {
        "type": "object",
        "required": [
          "items",
          "pageInfo",
          "totalCount"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Unit/v1/schema.json"
            }
          },
          "pageInfo": {
            "type": "object",
            "properties": {
              "hasNextPage": {
                "type": "boolean",
                "description": "true when limit left records out"
              }
            }
          },
          "totalCount": {
            "type": "integer",
            "description": "How many records match, before limit"
          },
          "meta": {
            "$ref": "https://objectsgrid.com/.well-known/objects-catalog/ReferenceDataMeta/v1/schema.json"
          }
        }
      }
    }
  }
}
