Scale Intelligence■ Docs
Docs / The model / DocExample

DocExample.

One example on a page, rendered in each language from one source and validated against its type

Figure 1DocExamplespecified
DOCEXAMPLEvalue at none scopelanguageenum:curl|typescript|python|rust|json|…codetexta type of the registervalidates_againsttextpoints at no other object
DocExample is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
documentation

Fields#

fieldtyperequirednote
languageone of curl | typescript | python | rust | json | sqlyes
codetextyes
validates_againsttextyesa type of the register

Routes that use it#

No route takes or returns DocExample directly. The record holds it, and the objects that point at it reach it.