Writing a Schema
A schema defines the shape of your documents. You author it in your schema package using the builders from @palantir/pack.schema, and the SDK generator turns it into typed, versioned read and write APIs. If your application was created using the @palantir/pack.create-app CLI, this will be in packages/schema/src/schema.mjs.
Versioning
A document type's schema can change over time. You can add fields, split one field into two or deprecate others. PACK lets one app safely read and write documents that were authored at different points in that history.