Example: Folder
A folder with a name and links to its files and subfolders.

Extends · closed

name
Folder name.
files
Links to the files directly in this folder.
of optional
subfolders
Links to the folders directly inside this folder.
of optional

A folder with a required name, a list of links to files, and a list of links to subfolders. Folder and file refer to each other, which works because schemas reference each other by name.

This page describes the example/folder type, one of the example schemas. The formal schema is attached as the schemaDefinition in this page's metadata, so the app can show it and create values of this type.

See also

    file: the other half of the pair.

    entry: a union of the two.

    References: why mutual recursion works.

    Examples: every example, grouped by feature.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime