FileRuleInputData

class FileRuleInputData[source]

The input data for a single file rule for the SubmissionValidator.

rule_type: Literal['allow', 'deny', 'require']

The type of rule

file_type: Literal['directory', 'file']

The type of files this rule should apply to.

name: str

The pattern that describes which files this rule should apply to. This cannot be empty.