Built-in options

This section is a “how to choose” catalog of the built-in validation options from spine/options.proto.

It focuses on the options that affect Spine Validation and skips deprecated and non-validation options.

When to use this section 

Use this section when you want to:

  • pick the right option for a specific validation need, like presence, bounds, uniqueness, etc.;
  • understand where an option can be declared (field, oneof, message);
  • see minimal .proto snippets you can copy into a model.

Choose a page 

Source of truth 

For the canonical option definitions, see spine/options.proto in the Spine base libraries on GitHub.

What’s next