File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,20 @@ called for this action instead.
172172
173173The schema module of a policy package does not need to define all of
174174the schema values. Any missing ones will automatically be loaded from
175- the generic schema module instead.
175+ the generic schema module instead. It is also possible for the schema
176+ values in the policy package to reference values in the generic
177+ schema. For example:
178+
179+ ``` python
180+ ACCOUNT = {" description" : " Account name" ,
181+ " type" : " string" ,
182+ " maxLength" : " %% ACCOUNT_LENGTH" ,
183+ " pattern" : " ^[a-z0-9-_]+$" }
184+ ```
185+
186+ The above example will use ` ACCOUNT_LENGTH ` as defined in the generic
187+ schema (unless it is also defined in the policy package, in which case
188+ the definition in the policy package will take precedence).
176189
177190## Policy algorithms
178191
You can’t perform that action at this time.
0 commit comments