1 /**
2 * @schema AdminRbacPolicy
3 * type: object
4 * description: The details of an RBAC policy.
5 * x-schemaName: AdminRbacPolicy
6 * required:
7 * - id
8 * - key
9 * - resource
10 * - operation
11 * - name
12 * - description
13 * - metadata
14 * - created_at
15 * - updated_at
16 * - deleted_at
17 * properties:
18 * id:
19 * type: string
20 * title: id
21 * description: The policy's ID.
22 * key:
23 * type: string
24 * title: key
25 * description: The policy's key.
26 * resource:
27 * type: string
28 * title: resource
29 * description: The resource that the policy applies to.
30 * example: product
31 * operation:
32 * type: string
33 * title: operation
34 * description: The operation that the policy allows or denies.
35 * example: create
36 * name:
37 * type: string
38 * title: name
39 * description: The policy's name. Used for display purposes.
40 * description:
41 * type: string
42 * title: description
43 * description: The policy's description.
44 * metadata:
45 * type: object
46 * description: Key-value pairs that hold additional information about the policy.
47 * inherited_from_role_id:
48 * type: string
49 * title: inherited_from_role_id
50 * description: The ID of the role from which the policy is inherited.
51 * created_at:
52 * type: string
53 * format: date-time
54 * title: created_at
55 * description: The date the policy was created.
56 * updated_at:
57 * type: string
58 * format: date-time
59 * title: updated_at
60 * description: The date the policy was last updated.
61 * deleted_at:
62 * type: string
63 * format: date-time
64 * title: deleted_at
65 * description: The date the policy was deleted.
66 *
67 */
68