Ejemplo n.º 1
0
    'exception_email_pgp_key_fingerprint': unicode,
    'exception_email_pgp_key_expiration': unicode,
    'exception_email_pgp_key_public': unicode,
    'exception_email_pgp_key_remove': bool
}

AdminFieldOptionDesc = {
    'id': uuid_regexp_or_empty,
    'label': unicode,
    'presentation_order': int,
    'score_points': int,
    'trigger_field': uuid_regexp_or_empty,
    'trigger_step': uuid_regexp_or_empty
}

AdminFieldOptionDescRaw = get_raw_request_format(AdminFieldOptionDesc, models.FieldOption.localized_keys)

AdminFieldAttrDesc = {
    'id': uuid_regexp_or_empty,
    'name': unicode,
    'type': field_attr_type_regexp,
    'value': SkipSpecificValidation
}

AdminFieldAttrDescRaw = get_raw_request_format(AdminFieldAttrDesc, models.FieldAttr.localized_keys)

AdminFieldDesc = {
    'id': uuid_regexp_or_empty,
    'key': unicode,
    'instance': field_instance_regexp,
    'editable': bool,
Ejemplo n.º 2
0
    'exception_email_pgp_key_fingerprint': unicode,
    'exception_email_pgp_key_expiration': unicode,
    'exception_email_pgp_key_public': unicode,
    'exception_email_pgp_key_remove': bool
}

AdminFieldOptionDesc = {
    'id': uuid_regexp_or_empty,
    'label': unicode,
    'presentation_order': int,
    'score_points': int,
    'trigger_field': uuid_regexp_or_empty,
    'trigger_step': uuid_regexp_or_empty
}

AdminFieldOptionDescRaw = get_raw_request_format(
    AdminFieldOptionDesc, models.FieldOption.localized_keys)

AdminFieldAttrDesc = {
    'id': uuid_regexp_or_empty,
    'name': unicode,
    'type': field_attr_type_regexp,
    'value': SkipSpecificValidation
}

AdminFieldAttrDescRaw = get_raw_request_format(AdminFieldAttrDesc,
                                               models.FieldAttr.localized_keys)

AdminFieldDesc = {
    'id': uuid_regexp_or_empty,
    'key': unicode,
    'instance': field_instance_regexp,