fca_api.types.individual#

class fca_api.types.individual.Individual(*, irn: ~typing.Annotated[str, ~pydantic.types.StringConstraints(strip_whitespace=True, to_upper=True, to_lower=None, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], full_name: str, commonly_used_name: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~fca_api.types.field_parsers.StrOrNone, json_schema_input_type=PydanticUndefined)], disciplinary_history: ~typing.Annotated[~pydantic.networks.HttpUrl | None, ~fca_api.types.annotations.FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))], status: ~typing.Annotated[str, ~pydantic.types.StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], current_roles_and_activities: ~typing.Annotated[~pydantic.networks.HttpUrl | None, ~fca_api.types.annotations.FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))])[source]#

Individual (physical person) details.

__pydantic_fields_set__#

The names of fields explicitly set during instantiation.

__pydantic_extra__#

A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

__pydantic_private__#

Values of private attributes set on the model instance.

__class_vars__ = {}#

The names of the class variables defined on the model.

__private_attributes__ = {}#

Metadata about the private attributes of the model.

__pydantic_complete__ = True#

Whether model building is completed, or if there are still undefined fields.

__pydantic_computed_fields__ = {}#

A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.

__pydantic_core_schema__ = {'cls': <class 'fca_api.types.individual.Individual'>, 'config': {'title': 'Individual'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'fca_api.types.individual.Individual'>>]}, 'ref': 'fca_api.types.individual.Individual:93917379621088', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'commonly_used_name': {'metadata': {'pydantic_js_updates': {'description': 'Commonly used name of the individual, if any.'}}, 'schema': {'function': {'function': <function StrOrNone>, 'type': 'no-info'}, 'schema': {'schema': {'type': 'str'}, 'type': 'nullable'}, 'type': 'function-before'}, 'serialization_alias': 'commonly_used_name', 'type': 'model-field', 'validation_alias': [['commonly used name'], ['commonly_used_name']]}, 'current_roles_and_activities': {'metadata': {'pydantic_js_updates': {'description': "URL to the individual's current roles and activities, if available."}}, 'schema': {'schema': {'function': {'function': <function _BaseUrl.__get_pydantic_core_schema__.<locals>.wrap_val>, 'type': 'no-info'}, 'metadata': {'pydantic_js_functions': [<bound method _BaseUrl.__get_pydantic_json_schema__ of <class 'pydantic.networks.HttpUrl'>>]}, 'schema': {'allowed_schemes': ['http', 'https'], 'max_length': 2083, 'type': 'url'}, 'serialization': {'function': <bound method _BaseUrl.serialize_url of <class 'pydantic.networks.HttpUrl'>>, 'info_arg': True, 'type': 'function-plain'}, 'type': 'function-wrap'}, 'type': 'nullable'}, 'serialization_alias': 'current_roles_and_activities', 'type': 'model-field', 'validation_alias': [['current roles & activities'], ['current_roles_and_activities']]}, 'disciplinary_history': {'metadata': {'pydantic_js_updates': {'description': "URL to the individual's disciplinary history, if any."}}, 'schema': {'schema': {'function': {'function': <function _BaseUrl.__get_pydantic_core_schema__.<locals>.wrap_val>, 'type': 'no-info'}, 'metadata': {'pydantic_js_functions': [<bound method _BaseUrl.__get_pydantic_json_schema__ of <class 'pydantic.networks.HttpUrl'>>]}, 'schema': {'allowed_schemes': ['http', 'https'], 'max_length': 2083, 'type': 'url'}, 'serialization': {'function': <bound method _BaseUrl.serialize_url of <class 'pydantic.networks.HttpUrl'>>, 'info_arg': True, 'type': 'function-plain'}, 'type': 'function-wrap'}, 'type': 'nullable'}, 'serialization_alias': 'disciplinary_history', 'type': 'model-field', 'validation_alias': [['disciplinary history'], ['disciplinary_history']]}, 'full_name': {'metadata': {'pydantic_js_updates': {'description': 'Full name of the individual.'}}, 'schema': {'type': 'str'}, 'serialization_alias': 'full_name', 'type': 'model-field', 'validation_alias': [['full name'], ['full_name']]}, 'irn': {'metadata': {'pydantic_js_extra': {'example': 'BXK69703'}, 'pydantic_js_updates': {'description': 'Individual Reference Number (IRN) assigned by the FCA.'}}, 'schema': {'strip_whitespace': True, 'to_upper': True, 'type': 'str'}, 'type': 'model-field'}, 'status': {'metadata': {'pydantic_js_updates': {'description': 'Current status of the individual with the FCA.'}}, 'schema': {'strip_whitespace': True, 'to_lower': True, 'type': 'str'}, 'type': 'model-field'}}, 'model_name': 'Individual', 'type': 'model-fields'}, 'type': 'model'}#

The core schema of the model.

__pydantic_custom_init__ = False#

Whether the model has a custom __init__ method.

__pydantic_decorators__ = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#

Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

__pydantic_extra_info__ = None#

A wrapper around the __pydantic_extra__ annotation, if explicitly annotated on a model.

This is a private attribute, not meant to be used outside Pydantic.

__pydantic_fields__ = {'commonly_used_name': FieldInfo(annotation=Union[str, NoneType], required=True, alias_priority=2, validation_alias=AliasChoices(choices=['commonly used name', 'commonly_used_name']), serialization_alias='commonly_used_name', description='Commonly used name of the individual, if any.', metadata=[BeforeValidator(func=<function StrOrNone>, json_schema_input_type=PydanticUndefined)]), 'current_roles_and_activities': FieldInfo(annotation=Union[HttpUrl, NoneType], required=True, alias_priority=2, validation_alias=AliasChoices(choices=['current roles & activities', 'current_roles_and_activities']), serialization_alias='current_roles_and_activities', description="URL to the individual's current roles and activities, if available.", metadata=[FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))]), 'disciplinary_history': FieldInfo(annotation=Union[HttpUrl, NoneType], required=True, alias_priority=2, validation_alias=AliasChoices(choices=['disciplinary history', 'disciplinary_history']), serialization_alias='disciplinary_history', description="URL to the individual's disciplinary history, if any.", metadata=[FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))]), 'full_name': FieldInfo(annotation=str, required=True, alias_priority=2, validation_alias=AliasChoices(choices=['full name', 'full_name']), serialization_alias='full_name', description='Full name of the individual.'), 'irn': FieldInfo(annotation=str, required=True, description='Individual Reference Number (IRN) assigned by the FCA.', json_schema_extra={'example': 'BXK69703'}, metadata=[StringConstraints(strip_whitespace=True, to_upper=True, to_lower=None, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)]), 'status': FieldInfo(annotation=str, required=True, description='Current status of the individual with the FCA.', metadata=[StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)])}#

A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. This replaces Model.__fields__ from Pydantic V1.

__pydantic_generic_metadata__ = {'args': (), 'origin': None, 'parameters': ()}#

A dictionary containing metadata about generic Pydantic models.

The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.

__pydantic_parent_namespace__ = None#

Parent namespace of the model, used for automatic rebuilding of models.

__pydantic_post_init__ = None#

The name of the post-init method for the model, if defined.

__pydantic_serializer__ = SchemaSerializer(serializer=PolymorphismTrampoline(     PolymorphismTrampoline {         class: Py(             0x0000556ad80cf0e0,         ),         serializer: PolymorphismTrampoline(             PolymorphismTrampoline {                 class: Py(                     0x0000556ad80cf0e0,                 ),                 serializer: Model(                     ModelSerializer {                         class: Py(                             0x0000556ad80cf0e0,                         ),                         serializer: Fields(                             GeneralFieldsSerializer {                                 fields: {                                     "disciplinary_history": SerField {                                         key: "disciplinary_history",                                         alias: Some(                                             "disciplinary_history",                                         ),                                         serializer: Some(                                             Nullable(                                                 NullableSerializer {                                                     serializer: Function(                                                         FunctionPlainSerializer {                                                             func: Py(                                                                 0x00007fe7e3f97f00,                                                             ),                                                             name: "plain_function[serialize_url]",                                                             function_name: "serialize_url",                                                             return_serializer: Any(                                                                 AnySerializer,                                                             ),                                                             fallback_serializer: None,                                                             when_used: Always,                                                             is_field_serializer: false,                                                             info_arg: true,                                                         },                                                     ),                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "current_roles_and_activities": SerField {                                         key: "current_roles_and_activities",                                         alias: Some(                                             "current_roles_and_activities",                                         ),                                         serializer: Some(                                             Nullable(                                                 NullableSerializer {                                                     serializer: Function(                                                         FunctionPlainSerializer {                                                             func: Py(                                                                 0x00007fe7e3f95800,                                                             ),                                                             name: "plain_function[serialize_url]",                                                             function_name: "serialize_url",                                                             return_serializer: Any(                                                                 AnySerializer,                                                             ),                                                             fallback_serializer: None,                                                             when_used: Always,                                                             is_field_serializer: false,                                                             info_arg: true,                                                         },                                                     ),                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "irn": SerField {                                         key: "irn",                                         alias: None,                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "commonly_used_name": SerField {                                         key: "commonly_used_name",                                         alias: Some(                                             "commonly_used_name",                                         ),                                         serializer: Some(                                             Nullable(                                                 NullableSerializer {                                                     serializer: Str(                                                         StrSerializer,                                                     ),                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "full_name": SerField {                                         key: "full_name",                                         alias: Some(                                             "full_name",                                         ),                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "status": SerField {                                         key: "status",                                         alias: None,                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                 },                                 computed_fields: Some(                                     ComputedFields(                                         [],                                     ),                                 ),                                 mode: SimpleDict,                                 extra_serializer: None,                                 filter: SchemaFilter {                                     include: None,                                     exclude: None,                                 },                                 required_fields: 6,                             },                         ),                         has_extra: false,                         root_model: false,                         name: "Individual",                     },                 ),                 enabled_from_config: false,             },         ),         enabled_from_config: false,     }, ), definitions=[])#

The pydantic-core SchemaSerializer used to dump instances of the model.

__pydantic_setattr_handlers__ = {}#

__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__

__pydantic_validator__ = SchemaValidator(title="Individual", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "irn",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "irn",                                 ),                                 rest: [],                             },                             by_alias: [],                         },                         validator: StrConstrained(                             StrConstrainedValidator {                                 strict: false,                                 pattern: None,                                 max_length: None,                                 min_length: None,                                 strip_whitespace: true,                                 to_lower: false,                                 to_upper: true,                                 coerce_numbers_to_str: false,                                 ascii_only: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "full_name",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "full_name",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "full name",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "full_name",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "commonly_used_name",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "commonly_used_name",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "commonly used name",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "commonly_used_name",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: FunctionBefore(                             FunctionBeforeValidator {                                 validator: Nullable(                                     NullableValidator {                                         validator: Str(                                             StrValidator {                                                 strict: false,                                                 coerce_numbers_to_str: false,                                             },                                         ),                                         name: "nullable[str]",                                     },                                 ),                                 func: Py(                                     0x00007fe7e4053ec0,                                 ),                                 config: Py(                                     0x00007fe7e3ff6500,                                 ),                                 name: "function-before[StrOrNone(), nullable[str]]",                                 field_name: None,                                 info_arg: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "disciplinary_history",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "disciplinary_history",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "disciplinary history",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "disciplinary_history",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: Nullable(                             NullableValidator {                                 validator: FunctionWrap(                                     FunctionWrapValidator {                                         validator: Url(                                             UrlValidator {                                                 strict: false,                                                 max_length: Some(                                                     2083,                                                 ),                                                 allowed_schemes: Some(                                                     (                                                         {                                                             "https",                                                             "http",                                                         },                                                         "'http' or 'https'",                                                     ),                                                 ),                                                 host_required: false,                                                 default_host: None,                                                 default_port: None,                                                 default_path: None,                                                 name: "url['http','https']",                                                 preserve_empty_path: false,                                             },                                         ),                                         func: Py(                                             0x00007fe7e3f5e980,                                         ),                                         config: Py(                                             0x00007fe7e3ff6500,                                         ),                                         name: "function-wrap[wrap_val()]",                                         field_name: None,                                         info_arg: false,                                         hide_input_in_errors: false,                                         validation_error_cause: false,                                     },                                 ),                                 name: "nullable[function-wrap[wrap_val()]]",                             },                         ),                         frozen: false,                     },                     Field {                         name: "status",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "status",                                 ),                                 rest: [],                             },                             by_alias: [],                         },                         validator: StrConstrained(                             StrConstrainedValidator {                                 strict: false,                                 pattern: None,                                 max_length: None,                                 min_length: None,                                 strip_whitespace: true,                                 to_lower: true,                                 to_upper: false,                                 coerce_numbers_to_str: false,                                 ascii_only: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "current_roles_and_activities",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "current_roles_and_activities",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "current roles & activities",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "current_roles_and_activities",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: Nullable(                             NullableValidator {                                 validator: FunctionWrap(                                     FunctionWrapValidator {                                         validator: Url(                                             UrlValidator {                                                 strict: false,                                                 max_length: Some(                                                     2083,                                                 ),                                                 allowed_schemes: Some(                                                     (                                                         {                                                             "http",                                                             "https",                                                         },                                                         "'http' or 'https'",                                                     ),                                                 ),                                                 host_required: false,                                                 default_host: None,                                                 default_port: None,                                                 default_path: None,                                                 name: "url['http','https']",                                                 preserve_empty_path: false,                                             },                                         ),                                         func: Py(                                             0x00007fe7e3f5e8e0,                                         ),                                         config: Py(                                             0x00007fe7e3ff6500,                                         ),                                         name: "function-wrap[wrap_val()]",                                         field_name: None,                                         info_arg: false,                                         hide_input_in_errors: false,                                         validation_error_cause: false,                                     },                                 ),                                 name: "nullable[function-wrap[wrap_val()]]",                             },                         ),                         frozen: false,                     },                 ],                 model_name: "Individual",                 extra_behavior: Ignore,                 extras_validator: None,                 extras_keys_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,                 lookup: LookupTree {                     inner: {                         PathItemString(                             "irn",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 0,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Both,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "current roles & activities",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 5,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "current_roles_and_activities",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 5,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 5,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "disciplinary_history",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "disciplinary history",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "commonly used name",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 2,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "commonly_used_name",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 2,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 2,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "full_name",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 1,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 1,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "status",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 4,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Both,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "full name",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 1,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                     },                 },                 validate_by_alias: None,                 validate_by_name: None,             },         ),         class: Py(             0x0000556ad80cf0e0,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fe7e4c7c550,         ),         name: "Individual",     }, ), definitions=[], cache_strings=True)#

The pydantic-core SchemaValidator used to validate instances of the model.

__signature__ = <Signature (*, irn: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=True, to_lower=None, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], full_name: str, commonly_used_name: Annotated[Optional[str], BeforeValidator(func=<function StrOrNone>, json_schema_input_type=PydanticUndefined)], disciplinary_history: Annotated[Optional[pydantic.networks.HttpUrl], FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))], status: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], current_roles_and_activities: Annotated[Optional[pydantic.networks.HttpUrl], FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))]) -> None>#

The synthesized __init__ [Signature][inspect.Signature] of the model.

model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class fca_api.types.individual.IndividualControlledFunction(*, type: ~typing.Literal['current', 'previous'], name: str, restriction: ~typing.Annotated[str | None, ~pydantic.functional_validators.BeforeValidator(func=~fca_api.types.field_parsers.StrOrNone, json_schema_input_type=PydanticUndefined)], restriction_start_date: ~typing.Annotated[~datetime.datetime | None, ~pydantic.functional_validators.BeforeValidator(func=~fca_api.types.field_parsers.ParseFcaDate, json_schema_input_type=PydanticUndefined)], restriction_end_date: ~typing.Annotated[~datetime.datetime | None, ~pydantic.functional_validators.BeforeValidator(func=~fca_api.types.field_parsers.ParseFcaDate, json_schema_input_type=PydanticUndefined)], customer_engagement_method: ~typing.Annotated[str, ~pydantic.types.StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], effective_date: ~typing.Annotated[~datetime.datetime, ~pydantic.functional_validators.BeforeValidator(func=~fca_api.types.field_parsers.ParseFcaDate, json_schema_input_type=PydanticUndefined)], firm_name: str, end_date: ~typing.Annotated[~datetime.datetime | None, ~pydantic.functional_validators.BeforeValidator(func=~fca_api.types.field_parsers.ParseFcaDate, json_schema_input_type=PydanticUndefined)] = None, url: ~typing.Annotated[~pydantic.networks.HttpUrl, ~fca_api.types.annotations.FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))])[source]#

Individual Controlled Function details.

__pydantic_fields_set__#

The names of fields explicitly set during instantiation.

__pydantic_extra__#

A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

__pydantic_private__#

Values of private attributes set on the model instance.

__class_vars__ = {}#

The names of the class variables defined on the model.

__private_attributes__ = {}#

Metadata about the private attributes of the model.

__pydantic_complete__ = True#

Whether model building is completed, or if there are still undefined fields.

__pydantic_computed_fields__ = {}#

A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.

__pydantic_core_schema__ = {'cls': <class 'fca_api.types.individual.IndividualControlledFunction'>, 'config': {'title': 'IndividualControlledFunction'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'fca_api.types.individual.IndividualControlledFunction'>>]}, 'ref': 'fca_api.types.individual.IndividualControlledFunction:93917381510544', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'customer_engagement_method': {'metadata': {'pydantic_js_updates': {'description': 'Method of customer engagement for the controlled function.'}}, 'schema': {'strip_whitespace': True, 'to_lower': True, 'type': 'str'}, 'serialization_alias': 'customer_engagement_method', 'type': 'model-field', 'validation_alias': [['customer engagement method'], ['customer_engagement_method']]}, 'effective_date': {'metadata': {'pydantic_js_updates': {'description': 'Effective date of the controlled function.'}}, 'schema': {'function': {'function': <function ParseFcaDate>, 'type': 'no-info'}, 'schema': {'microseconds_precision': 'truncate', 'type': 'datetime'}, 'type': 'function-before'}, 'serialization_alias': 'effective_date', 'type': 'model-field', 'validation_alias': [['effective date'], ['effective_date']]}, 'end_date': {'metadata': {'pydantic_js_updates': {'description': 'End date of any restriction associated with the controlled function.'}}, 'schema': {'default': None, 'schema': {'function': {'function': <function ParseFcaDate>, 'type': 'no-info'}, 'schema': {'schema': {'microseconds_precision': 'truncate', 'type': 'datetime'}, 'type': 'nullable'}, 'type': 'function-before'}, 'type': 'default'}, 'serialization_alias': 'end_date', 'type': 'model-field', 'validation_alias': [['end date'], ['end_date']]}, 'firm_name': {'metadata': {'pydantic_js_updates': {'description': 'Name of the firm associated with the controlled function.'}}, 'schema': {'type': 'str'}, 'serialization_alias': 'firm_name', 'type': 'model-field', 'validation_alias': [['firm name'], ['firm_name']]}, 'name': {'metadata': {'pydantic_js_updates': {'description': 'Name of the controlled function.'}}, 'schema': {'type': 'str'}, 'type': 'model-field'}, 'restriction': {'metadata': {'pydantic_js_updates': {'description': 'Any restrictions associated with the controlled function.'}}, 'schema': {'function': {'function': <function StrOrNone>, 'type': 'no-info'}, 'schema': {'schema': {'type': 'str'}, 'type': 'nullable'}, 'type': 'function-before'}, 'type': 'model-field'}, 'restriction_end_date': {'metadata': {'pydantic_js_updates': {'description': 'End date of any restriction associated with the controlled function.'}}, 'schema': {'function': {'function': <function ParseFcaDate>, 'type': 'no-info'}, 'schema': {'schema': {'microseconds_precision': 'truncate', 'type': 'datetime'}, 'type': 'nullable'}, 'type': 'function-before'}, 'serialization_alias': 'restriction_end_date', 'type': 'model-field', 'validation_alias': [['suspension / restriction end date'], ['restriction_end_date']]}, 'restriction_start_date': {'metadata': {'pydantic_js_updates': {'description': 'Start date of any restriction associated with the controlled function.'}}, 'schema': {'function': {'function': <function ParseFcaDate>, 'type': 'no-info'}, 'schema': {'schema': {'microseconds_precision': 'truncate', 'type': 'datetime'}, 'type': 'nullable'}, 'type': 'function-before'}, 'serialization_alias': 'restriction_start_date', 'type': 'model-field', 'validation_alias': [['suspension / restriction start date'], ['restriction_start_date']]}, 'type': {'metadata': {'pydantic_js_updates': {'description': 'Type of controlled function - current or previous.'}}, 'schema': {'expected': ['current', 'previous'], 'type': 'literal'}, 'serialization_alias': 'type', 'type': 'model-field', 'validation_alias': [['fca_api_lst_type'], ['type']]}, 'url': {'metadata': {'pydantic_js_updates': {'description': 'URL to the controlled function details.'}}, 'schema': {'function': {'function': <function _BaseUrl.__get_pydantic_core_schema__.<locals>.wrap_val>, 'type': 'no-info'}, 'metadata': {'pydantic_js_functions': [<bound method _BaseUrl.__get_pydantic_json_schema__ of <class 'pydantic.networks.HttpUrl'>>]}, 'schema': {'allowed_schemes': ['http', 'https'], 'max_length': 2083, 'type': 'url'}, 'serialization': {'function': <bound method _BaseUrl.serialize_url of <class 'pydantic.networks.HttpUrl'>>, 'info_arg': True, 'type': 'function-plain'}, 'type': 'function-wrap'}, 'type': 'model-field'}}, 'model_name': 'IndividualControlledFunction', 'type': 'model-fields'}, 'type': 'model'}#

The core schema of the model.

__pydantic_custom_init__ = False#

Whether the model has a custom __init__ method.

__pydantic_decorators__ = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#

Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

__pydantic_extra_info__ = None#

A wrapper around the __pydantic_extra__ annotation, if explicitly annotated on a model.

This is a private attribute, not meant to be used outside Pydantic.

__pydantic_fields__ = {'customer_engagement_method': FieldInfo(annotation=str, required=True, alias_priority=2, validation_alias=AliasChoices(choices=['customer engagement method', 'customer_engagement_method']), serialization_alias='customer_engagement_method', description='Method of customer engagement for the controlled function.', metadata=[StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)]), 'effective_date': FieldInfo(annotation=datetime, required=True, alias_priority=2, validation_alias=AliasChoices(choices=['effective date', 'effective_date']), serialization_alias='effective_date', description='Effective date of the controlled function.', metadata=[BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)]), 'end_date': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, alias_priority=2, validation_alias=AliasChoices(choices=['end date', 'end_date']), serialization_alias='end_date', description='End date of any restriction associated with the controlled function.', metadata=[BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)]), 'firm_name': FieldInfo(annotation=str, required=True, alias_priority=2, validation_alias=AliasChoices(choices=['firm name', 'firm_name']), serialization_alias='firm_name', description='Name of the firm associated with the controlled function.'), 'name': FieldInfo(annotation=str, required=True, description='Name of the controlled function.'), 'restriction': FieldInfo(annotation=Union[str, NoneType], required=True, description='Any restrictions associated with the controlled function.', metadata=[BeforeValidator(func=<function StrOrNone>, json_schema_input_type=PydanticUndefined)]), 'restriction_end_date': FieldInfo(annotation=Union[datetime, NoneType], required=True, alias_priority=2, validation_alias=AliasChoices(choices=['suspension / restriction end date', 'restriction_end_date']), serialization_alias='restriction_end_date', description='End date of any restriction associated with the controlled function.', metadata=[BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)]), 'restriction_start_date': FieldInfo(annotation=Union[datetime, NoneType], required=True, alias_priority=2, validation_alias=AliasChoices(choices=['suspension / restriction start date', 'restriction_start_date']), serialization_alias='restriction_start_date', description='Start date of any restriction associated with the controlled function.', metadata=[BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)]), 'type': FieldInfo(annotation=Literal['current', 'previous'], required=True, alias_priority=2, validation_alias=AliasChoices(choices=['fca_api_lst_type', 'type']), serialization_alias='type', description='Type of controlled function - current or previous.'), 'url': FieldInfo(annotation=HttpUrl, required=True, description='URL to the controlled function details.', metadata=[FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))])}#

A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. This replaces Model.__fields__ from Pydantic V1.

__pydantic_generic_metadata__ = {'args': (), 'origin': None, 'parameters': ()}#

A dictionary containing metadata about generic Pydantic models.

The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.

__pydantic_parent_namespace__ = None#

Parent namespace of the model, used for automatic rebuilding of models.

__pydantic_post_init__ = None#

The name of the post-init method for the model, if defined.

__pydantic_serializer__ = SchemaSerializer(serializer=PolymorphismTrampoline(     PolymorphismTrampoline {         class: Py(             0x0000556ad829c590,         ),         serializer: PolymorphismTrampoline(             PolymorphismTrampoline {                 class: Py(                     0x0000556ad829c590,                 ),                 serializer: Model(                     ModelSerializer {                         class: Py(                             0x0000556ad829c590,                         ),                         serializer: Fields(                             GeneralFieldsSerializer {                                 fields: {                                     "restriction_start_date": SerField {                                         key: "restriction_start_date",                                         alias: Some(                                             "restriction_start_date",                                         ),                                         serializer: Some(                                             Nullable(                                                 NullableSerializer {                                                     serializer: Datetime(                                                         DatetimeSerializer {                                                             temporal_mode: Iso8601,                                                         },                                                     ),                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "name": SerField {                                         key: "name",                                         alias: None,                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "firm_name": SerField {                                         key: "firm_name",                                         alias: Some(                                             "firm_name",                                         ),                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "url": SerField {                                         key: "url",                                         alias: None,                                         serializer: Some(                                             Function(                                                 FunctionPlainSerializer {                                                     func: Py(                                                         0x00007fe7e3ea0c80,                                                     ),                                                     name: "plain_function[serialize_url]",                                                     function_name: "serialize_url",                                                     return_serializer: Any(                                                         AnySerializer,                                                     ),                                                     fallback_serializer: None,                                                     when_used: Always,                                                     is_field_serializer: false,                                                     info_arg: true,                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "restriction_end_date": SerField {                                         key: "restriction_end_date",                                         alias: Some(                                             "restriction_end_date",                                         ),                                         serializer: Some(                                             Nullable(                                                 NullableSerializer {                                                     serializer: Datetime(                                                         DatetimeSerializer {                                                             temporal_mode: Iso8601,                                                         },                                                     ),                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "customer_engagement_method": SerField {                                         key: "customer_engagement_method",                                         alias: Some(                                             "customer_engagement_method",                                         ),                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "effective_date": SerField {                                         key: "effective_date",                                         alias: Some(                                             "effective_date",                                         ),                                         serializer: Some(                                             Datetime(                                                 DatetimeSerializer {                                                     temporal_mode: Iso8601,                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "end_date": SerField {                                         key: "end_date",                                         alias: Some(                                             "end_date",                                         ),                                         serializer: Some(                                             WithDefault(                                                 WithDefaultSerializer {                                                     default: Default(                                                         Py(                                                             0x00007fe7e70e3400,                                                         ),                                                     ),                                                     serializer: Nullable(                                                         NullableSerializer {                                                             serializer: Datetime(                                                                 DatetimeSerializer {                                                                     temporal_mode: Iso8601,                                                                 },                                                             ),                                                         },                                                     ),                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "type": SerField {                                         key: "type",                                         alias: Some(                                             "type",                                         ),                                         serializer: Some(                                             Literal(                                                 LiteralSerializer {                                                     expected_int: {},                                                     expected_str: {                                                         "current",                                                         "previous",                                                     },                                                     expected_py: None,                                                     name: "literal['current','previous']",                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "restriction": SerField {                                         key: "restriction",                                         alias: None,                                         serializer: Some(                                             Nullable(                                                 NullableSerializer {                                                     serializer: Str(                                                         StrSerializer,                                                     ),                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                 },                                 computed_fields: Some(                                     ComputedFields(                                         [],                                     ),                                 ),                                 mode: SimpleDict,                                 extra_serializer: None,                                 filter: SchemaFilter {                                     include: None,                                     exclude: None,                                 },                                 required_fields: 10,                             },                         ),                         has_extra: false,                         root_model: false,                         name: "IndividualControlledFunction",                     },                 ),                 enabled_from_config: false,             },         ),         enabled_from_config: false,     }, ), definitions=[])#

The pydantic-core SchemaSerializer used to dump instances of the model.

__pydantic_setattr_handlers__ = {}#

__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__

__pydantic_validator__ = SchemaValidator(title="IndividualControlledFunction", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "type",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "type",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "fca_api_lst_type",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "type",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: Literal(                             LiteralValidator {                                 lookup: LiteralLookup {                                     expected_bool: None,                                     expected_int: None,                                     expected_str: Some(                                         {                                             "previous": 1,                                             "current": 0,                                         },                                     ),                                     expected_py_dict: None,                                     expected_py_values: None,                                     expected_py_primitives: Some(                                         Py(                                             0x00007fe7e3ea0d40,                                         ),                                     ),                                     values: [                                         Py(                                             0x00007fe7e615b450,                                         ),                                         Py(                                             0x00007fe7e60556f0,                                         ),                                     ],                                 },                                 expected_repr: "'current' or 'previous'",                                 name: "literal['current','previous']",                             },                         ),                         frozen: false,                     },                     Field {                         name: "name",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "name",                                 ),                                 rest: [],                             },                             by_alias: [],                         },                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "restriction",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "restriction",                                 ),                                 rest: [],                             },                             by_alias: [],                         },                         validator: FunctionBefore(                             FunctionBeforeValidator {                                 validator: Nullable(                                     NullableValidator {                                         validator: Str(                                             StrValidator {                                                 strict: false,                                                 coerce_numbers_to_str: false,                                             },                                         ),                                         name: "nullable[str]",                                     },                                 ),                                 func: Py(                                     0x00007fe7e4053ec0,                                 ),                                 config: Py(                                     0x00007fe7e3f963c0,                                 ),                                 name: "function-before[StrOrNone(), nullable[str]]",                                 field_name: None,                                 info_arg: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "restriction_start_date",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "restriction_start_date",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "suspension / restriction start date",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "restriction_start_date",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: FunctionBefore(                             FunctionBeforeValidator {                                 validator: Nullable(                                     NullableValidator {                                         validator: Datetime(                                             DateTimeValidator {                                                 strict: false,                                                 constraints: None,                                                 microseconds_precision: Truncate,                                                 val_temporal_unit: Infer,                                             },                                         ),                                         name: "nullable[datetime]",                                     },                                 ),                                 func: Py(                                     0x00007fe7e4053e20,                                 ),                                 config: Py(                                     0x00007fe7e3f963c0,                                 ),                                 name: "function-before[ParseFcaDate(), nullable[datetime]]",                                 field_name: None,                                 info_arg: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "restriction_end_date",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "restriction_end_date",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "suspension / restriction end date",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "restriction_end_date",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: FunctionBefore(                             FunctionBeforeValidator {                                 validator: Nullable(                                     NullableValidator {                                         validator: Datetime(                                             DateTimeValidator {                                                 strict: false,                                                 constraints: None,                                                 microseconds_precision: Truncate,                                                 val_temporal_unit: Infer,                                             },                                         ),                                         name: "nullable[datetime]",                                     },                                 ),                                 func: Py(                                     0x00007fe7e4053e20,                                 ),                                 config: Py(                                     0x00007fe7e3f963c0,                                 ),                                 name: "function-before[ParseFcaDate(), nullable[datetime]]",                                 field_name: None,                                 info_arg: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "customer_engagement_method",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "customer_engagement_method",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "customer engagement method",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "customer_engagement_method",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: StrConstrained(                             StrConstrainedValidator {                                 strict: false,                                 pattern: None,                                 max_length: None,                                 min_length: None,                                 strip_whitespace: true,                                 to_lower: true,                                 to_upper: false,                                 coerce_numbers_to_str: false,                                 ascii_only: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "effective_date",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "effective_date",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "effective date",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "effective_date",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: FunctionBefore(                             FunctionBeforeValidator {                                 validator: Datetime(                                     DateTimeValidator {                                         strict: false,                                         constraints: None,                                         microseconds_precision: Truncate,                                         val_temporal_unit: Infer,                                     },                                 ),                                 func: Py(                                     0x00007fe7e4053e20,                                 ),                                 config: Py(                                     0x00007fe7e3f963c0,                                 ),                                 name: "function-before[ParseFcaDate(), datetime]",                                 field_name: None,                                 info_arg: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "firm_name",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "firm_name",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "firm name",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "firm_name",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: Str(                             StrValidator {                                 strict: false,                                 coerce_numbers_to_str: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "end_date",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "end_date",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "end date",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "end_date",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007fe7e70e3400,                                     ),                                 ),                                 on_error: Raise,                                 validator: FunctionBefore(                                     FunctionBeforeValidator {                                         validator: Nullable(                                             NullableValidator {                                                 validator: Datetime(                                                     DateTimeValidator {                                                         strict: false,                                                         constraints: None,                                                         microseconds_precision: Truncate,                                                         val_temporal_unit: Infer,                                                     },                                                 ),                                                 name: "nullable[datetime]",                                             },                                         ),                                         func: Py(                                             0x00007fe7e4053e20,                                         ),                                         config: Py(                                             0x00007fe7e3f963c0,                                         ),                                         name: "function-before[ParseFcaDate(), nullable[datetime]]",                                         field_name: None,                                         info_arg: false,                                     },                                 ),                                 validate_default: false,                                 copy_default: false,                                 name: "default[function-before[ParseFcaDate(), nullable[datetime]]]",                                 undefined: Py(                                     0x00007fe7e4c7c550,                                 ),                             },                         ),                         frozen: false,                     },                     Field {                         name: "url",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "url",                                 ),                                 rest: [],                             },                             by_alias: [],                         },                         validator: FunctionWrap(                             FunctionWrapValidator {                                 validator: Url(                                     UrlValidator {                                         strict: false,                                         max_length: Some(                                             2083,                                         ),                                         allowed_schemes: Some(                                             (                                                 {                                                     "http",                                                     "https",                                                 },                                                 "'http' or 'https'",                                             ),                                         ),                                         host_required: false,                                         default_host: None,                                         default_port: None,                                         default_path: None,                                         name: "url['http','https']",                                         preserve_empty_path: false,                                     },                                 ),                                 func: Py(                                     0x00007fe7e3f5eac0,                                 ),                                 config: Py(                                     0x00007fe7e3f963c0,                                 ),                                 name: "function-wrap[wrap_val()]",                                 field_name: None,                                 info_arg: false,                                 hide_input_in_errors: false,                                 validation_error_cause: false,                             },                         ),                         frozen: false,                     },                 ],                 model_name: "IndividualControlledFunction",                 extra_behavior: Ignore,                 extras_validator: None,                 extras_keys_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,                 lookup: LookupTree {                     inner: {                         PathItemString(                             "end_date",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 8,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 8,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "restriction",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 2,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Both,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "firm_name",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 7,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 7,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "end date",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 8,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "effective_date",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 6,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 6,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "fca_api_lst_type",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 0,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "url",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 9,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Both,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "customer engagement method",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 5,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "name",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 1,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Both,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "suspension / restriction start date",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "suspension / restriction end date",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 4,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "restriction_end_date",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 4,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 4,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "firm name",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 7,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "customer_engagement_method",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 5,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 5,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "restriction_start_date",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "effective date",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 6,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "type",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 0,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 0,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                     },                 },                 validate_by_alias: None,                 validate_by_name: None,             },         ),         class: Py(             0x0000556ad829c590,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fe7e4c7c550,         ),         name: "IndividualControlledFunction",     }, ), definitions=[], cache_strings=True)#

The pydantic-core SchemaValidator used to validate instances of the model.

__signature__ = <Signature (*, type: Literal['current', 'previous'], name: str, restriction: Annotated[Optional[str], BeforeValidator(func=<function StrOrNone>, json_schema_input_type=PydanticUndefined)], restriction_start_date: Annotated[Optional[datetime.datetime], BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)], restriction_end_date: Annotated[Optional[datetime.datetime], BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)], customer_engagement_method: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], effective_date: Annotated[datetime.datetime, BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)], firm_name: str, end_date: Annotated[Optional[datetime.datetime], BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)] = None, url: Annotated[pydantic.networks.HttpUrl, FcaApiFieldInfo(marks=frozenset({<FcaApiField.InternalUrl: 'internal_url'>}))]) -> None>#

The synthesized __init__ [Signature][inspect.Signature] of the model.

model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class fca_api.types.individual.IndividualDisciplinaryRecord(*, type_of_action: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], enforcement_type: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], type_of_description: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], action_effective_from: Annotated[datetime, BeforeValidator(func=ParseFcaDate, json_schema_input_type=PydanticUndefined)])[source]#

Individual Disciplinary Record details.

__pydantic_fields_set__#

The names of fields explicitly set during instantiation.

__pydantic_extra__#

A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.

__pydantic_private__#

Values of private attributes set on the model instance.

__class_vars__ = {}#

The names of the class variables defined on the model.

__private_attributes__ = {}#

Metadata about the private attributes of the model.

__pydantic_complete__ = True#

Whether model building is completed, or if there are still undefined fields.

__pydantic_computed_fields__ = {}#

A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.

__pydantic_core_schema__ = {'cls': <class 'fca_api.types.individual.IndividualDisciplinaryRecord'>, 'config': {'title': 'IndividualDisciplinaryRecord'}, 'custom_init': False, 'metadata': {'pydantic_js_functions': [<bound method BaseModel.__get_pydantic_json_schema__ of <class 'fca_api.types.individual.IndividualDisciplinaryRecord'>>]}, 'ref': 'fca_api.types.individual.IndividualDisciplinaryRecord:93917381868912', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'action_effective_from': {'metadata': {'pydantic_js_updates': {'description': 'Date when the disciplinary action became effective.'}}, 'schema': {'function': {'function': <function ParseFcaDate>, 'type': 'no-info'}, 'schema': {'microseconds_precision': 'truncate', 'type': 'datetime'}, 'type': 'function-before'}, 'serialization_alias': 'action_effective_from', 'type': 'model-field', 'validation_alias': [['actioneffectivefrom'], ['action_effective_from']]}, 'enforcement_type': {'metadata': {'pydantic_js_updates': {'description': 'Type of disciplinary action taken.'}}, 'schema': {'strip_whitespace': True, 'to_lower': True, 'type': 'str'}, 'serialization_alias': 'enforcement_type', 'type': 'model-field', 'validation_alias': [['enforcementtype'], ['enforcement_type']]}, 'type_of_action': {'metadata': {'pydantic_js_updates': {'description': 'Type of disciplinary action taken.'}}, 'schema': {'strip_whitespace': True, 'to_lower': True, 'type': 'str'}, 'serialization_alias': 'type_of_action', 'type': 'model-field', 'validation_alias': [['typeofaction'], ['type_of_action']]}, 'type_of_description': {'metadata': {'pydantic_js_updates': {'description': 'Description of the disciplinary action taken.'}}, 'schema': {'strip_whitespace': True, 'type': 'str'}, 'serialization_alias': 'type_of_description', 'type': 'model-field', 'validation_alias': [['typeofdescription'], ['type_of_description']]}}, 'model_name': 'IndividualDisciplinaryRecord', 'type': 'model-fields'}, 'type': 'model'}#

The core schema of the model.

__pydantic_custom_init__ = False#

Whether the model has a custom __init__ method.

__pydantic_decorators__ = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#

Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.

__pydantic_extra_info__ = None#

A wrapper around the __pydantic_extra__ annotation, if explicitly annotated on a model.

This is a private attribute, not meant to be used outside Pydantic.

__pydantic_fields__ = {'action_effective_from': FieldInfo(annotation=datetime, required=True, alias_priority=2, validation_alias=AliasChoices(choices=['actioneffectivefrom', 'action_effective_from']), serialization_alias='action_effective_from', description='Date when the disciplinary action became effective.', metadata=[BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)]), 'enforcement_type': FieldInfo(annotation=str, required=True, alias_priority=2, validation_alias=AliasChoices(choices=['enforcementtype', 'enforcement_type']), serialization_alias='enforcement_type', description='Type of disciplinary action taken.', metadata=[StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)]), 'type_of_action': FieldInfo(annotation=str, required=True, alias_priority=2, validation_alias=AliasChoices(choices=['typeofaction', 'type_of_action']), serialization_alias='type_of_action', description='Type of disciplinary action taken.', metadata=[StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)]), 'type_of_description': FieldInfo(annotation=str, required=True, alias_priority=2, validation_alias=AliasChoices(choices=['typeofdescription', 'type_of_description']), serialization_alias='type_of_description', description='Description of the disciplinary action taken.', metadata=[StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)])}#

A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects. This replaces Model.__fields__ from Pydantic V1.

__pydantic_generic_metadata__ = {'args': (), 'origin': None, 'parameters': ()}#

A dictionary containing metadata about generic Pydantic models.

The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.

__pydantic_parent_namespace__ = None#

Parent namespace of the model, used for automatic rebuilding of models.

__pydantic_post_init__ = None#

The name of the post-init method for the model, if defined.

__pydantic_serializer__ = SchemaSerializer(serializer=PolymorphismTrampoline(     PolymorphismTrampoline {         class: Py(             0x0000556ad82f3d70,         ),         serializer: PolymorphismTrampoline(             PolymorphismTrampoline {                 class: Py(                     0x0000556ad82f3d70,                 ),                 serializer: Model(                     ModelSerializer {                         class: Py(                             0x0000556ad82f3d70,                         ),                         serializer: Fields(                             GeneralFieldsSerializer {                                 fields: {                                     "action_effective_from": SerField {                                         key: "action_effective_from",                                         alias: Some(                                             "action_effective_from",                                         ),                                         serializer: Some(                                             Datetime(                                                 DatetimeSerializer {                                                     temporal_mode: Iso8601,                                                 },                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "enforcement_type": SerField {                                         key: "enforcement_type",                                         alias: Some(                                             "enforcement_type",                                         ),                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "type_of_description": SerField {                                         key: "type_of_description",                                         alias: Some(                                             "type_of_description",                                         ),                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                     "type_of_action": SerField {                                         key: "type_of_action",                                         alias: Some(                                             "type_of_action",                                         ),                                         serializer: Some(                                             Str(                                                 StrSerializer,                                             ),                                         ),                                         required: true,                                         serialize_by_alias: None,                                         serialization_exclude_if: None,                                     },                                 },                                 computed_fields: Some(                                     ComputedFields(                                         [],                                     ),                                 ),                                 mode: SimpleDict,                                 extra_serializer: None,                                 filter: SchemaFilter {                                     include: None,                                     exclude: None,                                 },                                 required_fields: 4,                             },                         ),                         has_extra: false,                         root_model: false,                         name: "IndividualDisciplinaryRecord",                     },                 ),                 enabled_from_config: false,             },         ),         enabled_from_config: false,     }, ), definitions=[])#

The pydantic-core SchemaSerializer used to dump instances of the model.

__pydantic_setattr_handlers__ = {}#

__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__

__pydantic_validator__ = SchemaValidator(title="IndividualDisciplinaryRecord", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "type_of_action",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "type_of_action",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "typeofaction",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "type_of_action",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: StrConstrained(                             StrConstrainedValidator {                                 strict: false,                                 pattern: None,                                 max_length: None,                                 min_length: None,                                 strip_whitespace: true,                                 to_lower: true,                                 to_upper: false,                                 coerce_numbers_to_str: false,                                 ascii_only: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "enforcement_type",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "enforcement_type",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "enforcementtype",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "enforcement_type",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: StrConstrained(                             StrConstrainedValidator {                                 strict: false,                                 pattern: None,                                 max_length: None,                                 min_length: None,                                 strip_whitespace: true,                                 to_lower: true,                                 to_upper: false,                                 coerce_numbers_to_str: false,                                 ascii_only: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "type_of_description",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "type_of_description",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "typeofdescription",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "type_of_description",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: StrConstrained(                             StrConstrainedValidator {                                 strict: false,                                 pattern: None,                                 max_length: None,                                 min_length: None,                                 strip_whitespace: true,                                 to_lower: false,                                 to_upper: false,                                 coerce_numbers_to_str: false,                                 ascii_only: false,                             },                         ),                         frozen: false,                     },                     Field {                         name: "action_effective_from",                         lookup_path_collection: LookupPathCollection {                             by_name: LookupPath {                                 first_item: PathItemString(                                     "action_effective_from",                                 ),                                 rest: [],                             },                             by_alias: [                                 LookupPath {                                     first_item: PathItemString(                                         "actioneffectivefrom",                                     ),                                     rest: [],                                 },                                 LookupPath {                                     first_item: PathItemString(                                         "action_effective_from",                                     ),                                     rest: [],                                 },                             ],                         },                         validator: FunctionBefore(                             FunctionBeforeValidator {                                 validator: Datetime(                                     DateTimeValidator {                                         strict: false,                                         constraints: None,                                         microseconds_precision: Truncate,                                         val_temporal_unit: Infer,                                     },                                 ),                                 func: Py(                                     0x00007fe7e4053e20,                                 ),                                 config: Py(                                     0x00007fe7e3ea1d80,                                 ),                                 name: "function-before[ParseFcaDate(), datetime]",                                 field_name: None,                                 info_arg: false,                             },                         ),                         frozen: false,                     },                 ],                 model_name: "IndividualDisciplinaryRecord",                 extra_behavior: Ignore,                 extras_validator: None,                 extras_keys_validator: None,                 strict: false,                 from_attributes: false,                 loc_by_alias: true,                 lookup: LookupTree {                     inner: {                         PathItemString(                             "actioneffectivefrom",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "type_of_action",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 0,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 0,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "action_effective_from",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 3,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "typeofdescription",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 2,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "typeofaction",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 0,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "enforcementtype",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 1,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 0,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "enforcement_type",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 1,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 1,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                         PathItemString(                             "type_of_description",                         ): LookupTreeNode {                             fields: [                                 LookupFieldInfo {                                     field_index: 2,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Name,                                         alias_index: 0,                                     },                                 },                                 LookupFieldInfo {                                     field_index: 2,                                     lookup_priority: LookupFieldPriority {                                         lookup_type: Alias,                                         alias_index: 1,                                     },                                 },                             ],                             map: {},                             list: {},                         },                     },                 },                 validate_by_alias: None,                 validate_by_name: None,             },         ),         class: Py(             0x0000556ad82f3d70,         ),         generic_origin: None,         post_init: None,         frozen: false,         custom_init: false,         root_model: false,         undefined: Py(             0x00007fe7e4c7c550,         ),         name: "IndividualDisciplinaryRecord",     }, ), definitions=[], cache_strings=True)#

The pydantic-core SchemaValidator used to validate instances of the model.

__signature__ = <Signature (*, type_of_action: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], enforcement_type: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=True, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], type_of_description: Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=None, ascii_only=None)], action_effective_from: Annotated[datetime.datetime, BeforeValidator(func=<function ParseFcaDate>, json_schema_input_type=PydanticUndefined)]) -> None>#

The synthesized __init__ [Signature][inspect.Signature] of the model.

model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].