mirror of
https://github.com/fuckpiracyshield/data-model.git
synced 2024-05-19 21:46:18 +02:00
16 lines
403 B
Python
16 lines
403 B
Python
from piracyshield_component.validation.rules.required import Required
|
|
from piracyshield_component.validation.rules.string import String
|
|
from piracyshield_component.validation.rules.length import Length
|
|
|
|
class ForensicArchiveRule:
|
|
|
|
"""
|
|
Set of rules for forensic archives.
|
|
"""
|
|
|
|
NAME = [
|
|
Required(),
|
|
String(allowed = '.-_'),
|
|
Length(minimum = 6, maximum = 128)
|
|
]
|