Creating a Standard
When you create a Standard, save the file with the.stds extension. Each Standard lives in its own file, and the Standard’s name must match its file name exactly.
A Standard always begins with the Standard name, followed by a colon, the Standard reference (an uppercase shorthand identifier), and a pair of curly brackets that contain the Standard’s constraints:
vehicleis the Standard name (and the file name,vehicle.stds).VHLis the Standard reference used throughout your system to refer to this Standard in shorthand.- Everything inside
{ }is a constraint — the columns, variables, or properties that define what avehiclerecord holds.
Each Standard must have its own
.stds file, and the file name must match the Standard name exactly. For instance, a Standard named vehicle must be saved as vehicle.stds.Enabling Change History
Prepend a Standard’s name with! to enable change history for that Standard. When change history is on, your Standard System tracks every modification made to records in that table.
Listing Standards
After you’ve created Standards, you can inspect them directly from the command line. Usestds or standards to list all Standards in your system. To view the details of a specific Standard, pass the Standard name (not the Standard reference) as an argument.
Many web apps and client applications communicate with JSON. Append any standards command with json to view the output in JSON format.