Namespaces are the top-level construct within Authzed.
namespace defines a class of object (such as a resource or user or group), and an optional grouping of permissions data called a relation.
namespace starts with a configuration which defines the name of the namespace and its relations
In the above example, we've defined a namespace named
myresource under the tenant, with two relations
relation can contain tuples that reference the users (or other kinds of objects, themselves defined as namespaces) that can read or write resources.
For more complete examples see Developing a namespace