<@U04UQ68083H> Should Ory Permissions namespaces b...
# ory-copilot
c
@chilly-king-10285 Should Ory Permissions namespaces be plural?
b
A message from kapa.ai
No, Ory Permissions namespaces should not be plural. According to the naming conventions in the Ory documentation, namespaces should be named using the singular form of the type they describe and should follow upper camel case formatting. As stated in the documentation: > As namespaces are defined as TypeScript classes in the Ory Permission Language, they should be named after the singular form of the type they describe. The name should be in [upper camel case](https://wiki.c2.com/?UpperCamelCase), for example:
User
,
Document
,
Folder
,
AccessKey
. [Ory Keto Concepts: Namespaces](https://www.ory.sh/docs/keto/concepts/namespaces) This convention helps maintain consistency in your permission model. For example, in the document store example provided in the documentation, the namespaces are defined as:
Copy code
typescript import { Namespace, Context } from "@ory/keto-namespace-types"      class User implements Namespace {}   class Document implements Namespace {}   class Folder implements Namespace {}
It's worth noting that while namespaces should be singular, relationships within a namespace should be named with plural forms to indicate many-to-many relationships between subjects and objects.