@@ -93,6 +93,15 @@ definitions:
9393 leaving this field out.
9494 items : {type: string}
9595 type : array
96+ permutations :
97+ description : >
98+ Optional list of permutation specifications. For each variable specified,
99+ generates additional annotations using the values of the specified annotation
100+ properties from the filler term. The label-based annotation is always generated
101+ in addition to the permutations. If multiple permutation entries exist for
102+ different variables, the cartesian product of all values is generated.
103+ type : array
104+ items : { $ref: '#/definitions/permutation' }
96105 multi_clause :
97106 items : { $ref: '#/definitions/multi_clause_printf' }
98107
@@ -219,6 +228,24 @@ definitions:
219228 type : string
220229 description : perl style regex sub. May include backreferences.
221230
231+ permutation :
232+ type : object
233+ additionalProperties : False
234+ required : [var, annotationProperties]
235+ properties :
236+ var :
237+ description : >
238+ The name of a single variable for which to generate permutations.
239+ Must correspond to a variable specified in the 'vars' field of the pattern.
240+ type : string
241+ annotationProperties :
242+ description : >
243+ A list of annotation property names (as declared in the annotationProperties
244+ dictionary) whose values from the filler term will be used to generate
245+ additional annotations. Each value found generates a separate annotation.
246+ type : array
247+ items : { type: string }
248+
222249 opa :
223250 type : object
224251 additionalProperties : False
@@ -272,6 +299,15 @@ definitions:
272299 used in the substitution.
273300 items : {type: string}
274301 type : array
302+ permutations :
303+ description : >
304+ Optional list of permutation specifications. For each variable specified,
305+ generates additional annotations using the values of the specified annotation
306+ properties from the filler term. The label-based annotation is always generated
307+ in addition to the permutations. If multiple permutation entries exist for
308+ different variables, the cartesian product of all values is generated.
309+ type : array
310+ items : { $ref: '#/definitions/permutation' }
275311 multi_clause :
276312 items : { $ref: '#/definitions/multi_clause_printf' }
277313
0 commit comments