Skip to content

Schema & Scope

To effectively operate Domino REST API, one needs to be familiar with a few terms, their application, and the range of responsibility.

Schema

A Schema is a design element located inside an NSF. It determines what data is accessible in the REST API, for read and write operations. For Views, Folders, and Agents, the schema narrows down from the existing Domino design elements.

Form item, not Form design element

In case of a Form in a schema, this is different. A Form definition means: applicable for documents with a form item with the defined value. The REST API works even when there are no Form design elements in the NSF, which would be hard to use in a Notes client or nhttp.

In other words:

  • What a form design element is to a document in a client, is the form schema in the REST API.
  • The form schema can do more, see Form modes and The Barbican.
  • The schema is the responsibility of the Domino developer.

Scope

The scope is the name of a database advertised to REST API consumers. Once published, it's hard to change since all API consumers would need to update too. This is why there is a scope instead of using the NSF file path or replica ID.

The scope is mapped to an NSF, which is currently KeepConfig.nsf, through an entry in the REST directory. The scope is the responsibility of the Domino administrator.

Tutorials

How-to guides

References

Let's connect

We really like to hear from you!

Your opinion matters. Let us know all your:

  • questions
  • discussions
  • ideas
  • feedback

Join the OpenNTF Discord channel.