Skip to content

The two schema variants are cached on deliberately different terms

The annotated document carries text translated into the reader's interface language, so a shared copy would serve one interface language's annotations to a reader in another.

The rule

Normative: this is the rule
  1. The plain workflow schema document MUST be publicly cacheable for at most 60 seconds.
  2. The annotated document MUST be served no-cache.
  3. A schema response MUST vary by the argument selecting the variant on every path, including the one that adds nothing else.
  4. A schema response MUST vary by interface language when annotated, and MUST NOT vary by it otherwise.
  5. A response MUST be invalidated when the workflow it describes changes, and MUST NOT be invalidated by anything broader.

Why

Recorded under OPEN-25.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · META-8 · changed in spec 1.0