20.4. Naming instances

Because the PDR derives the ModelManifest instance URL from the model URI, care should be taken to explicitly name the ModelManifest instances. We can use the following syntax:

create context ModelManifest named <modelname-expression> bound to Manifests

where, obviously, <modelname-expression> should result in the name of the model, like MyModel or System for the examples in this chapter.

Similarly, we should carefully name instances of VersionedModelManifest. Instances of the other important types (CouchdbServer, Repository) need not be named.

Note
the PDR does not yet construct VersionedModelManifest urls.

1. If no authoring role is provided by the API caller, we take it to be the System User.