apps-script-utils 2.1.1 Help

SheetSchema

interface SheetSchema

version marks the format so a later one can be recognised rather than misread, headerRow says which row holds the names, and columns describes them left to right.

getSchema sets inferred: true when nothing was stored and the description was read off the sheet's own contents — a guess, not a declaration.

Examples

Shape

const schema = { version: 1, headerRow: 1, columns: [ { name: "id", type: "number" }, { name: "email", type: "string" } ] };

See also

Source

src/appsscript/sheet/types/SheetSchema.ts

23 September 2026

This documentation was generated with AI (Claude) from the library's source code.