Best practice: Define and use naming conventions

To help ensure consistency in your Cedar policies, we recommend that you define and use a naming convention for the elements in your schema. For example:

Identifier type Naming convention Examples
 Entity type   PascalCase (camelCase with first letter capitalized)   User 
 Entity instance Id   Opaque Id or camelCase   fcaf664d4f89fec0cda8 
 viewFile
 Attribute names   camelCase   resource.countryOfOrigin 
 Context keys   camelCase   context.uploadFileSize 
 context.http.headers.userAgent