Skip to main content

SCDefnVariable

SC Defn Variables define the details about variables defined in the SC Defn.

Properties

NameTypeDescriptionNotes
default_valuestrThe default value of this variable.[optional]
displayableboolA flag indicating if values for this variable should be displayed.[optional]
generateboolA flag indicating if the initial value for this variable should be generated.[optional]
generate_lengthintA length value used when generating values for this variable.[optional]
idstrThe UUID of this SC Defn Variable.[optional]
modifiableboolA flag indicating if values for this variable can be modified.[optional]
namestrThe name of this SC Defn Variable.[optional]
orderintA value that specifies the order of this variable with respect to the other variables in the SC Defn.[optional]
promptstrOptional prompt to be used when prompting for a value for this variable.[optional]
requiredboolA flag indicating if a value is required for this variable.[optional]
restriction_digitsstrA value specifying restrictions on digits appearing in values of this variable.[optional]
restriction_lowerstrA value specifying restrictions on lowercase characters appearing in values of this variable.[optional]
restriction_maxintA value indicating a maximum for values of this variable. How this is enforced depends on the variable type.[optional]
restriction_minintA value indicating a minimum for values of this variable. How this is enforced depends on the variable type.[optional]
restriction_regexstrA value specifying a regex that values of this variable must match.[optional]
restriction_specialstrA value specifying restrictions on special characters appearing in values of this variable.[optional]
restriction_upperstrA value specifying restrictions on uppercase characters appearing in values of this variable.[optional]
sc_defn_idstrThe UUID of the SC Defn that owns this variable definition.[optional]
typestrThe type of this variable.[optional]
uniquenessstrA flag indicating if values of this variable must be unique and if so within what scope.[optional]
uniqueness_scope_idstrA value that allows a variable to be defined unique in the scope of another variable.[optional]

Example