pygleif.v2¶
Client¶
|
High-level client for the GLEIF API v1.0. |
|
Fields supported by the completion and search endpoints. |
|
File formats supported by the LEI record export endpoint. |
|
Perform GET requests against the GLEIF JSON API, sync or async. |
|
Relevant HTTP error codes returned by the GLEIF API. |
Errors¶
Base error for v2. |
|
Raised for HTTP / transport failures against the GLEIF API. |
|
Raised when a requested resource does not exist (HTTP 404). |
|
Raised when the GLEIF rate limit is exceeded (HTTP 429). |
Models¶
Pydantic v2-bound models for the full GLEIF API v1.0 surface.
Covers the resources exposed by https://api.gleif.org/api/v1:
lei-records->GLEIFResponse,SearchResponselei-records/{lei}/isins->IsinResponselei-records/{lei}/*-relationship(s)->RelationshipResponse,RelationshipListResponselei-records/{lei}/*-reporting-exception->ReportingExceptionResponselei-records/{lei}/field-modifications->FieldModificationResponsefuzzycompletions->FuzzyCompletionResponseautocompletions->AutocompletionResponsefields->FieldsResponse,FieldResponselei-issuers->LeiIssuersResponse,LeiIssuerResponsevlei-issuers->VLeiIssuersResponse,VLeiIssuerResponsereference data (
countries,entity-legal-forms,official-organizational-roles,jurisdictions,regions,registration-authorities,registration-agents) -> typed*Response/ list envelopes built onResourceData
The JSON API responses use camelCase keys; models accept both camelCase
(via the alias generator) and snake_case (populate_by_name). Keys the
API serves in kebab-case (e.g. managing-lou) carry explicit aliases.
- class pygleif.v2.api.models.BaseSchema[source]¶
Base schema with camelCase aliasing for GLEIF JSON API payloads.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.ValidatedAt(*, id, other)[source]¶
Represent validated-at information.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Registration(*, corroborationLevel, initialRegistrationDate, lastUpdateDate, managingLou, nextRenewalDate, otherValidationAuthorities, status, validatedAs=None, validatedAt)[source]¶
Represent registration information.
- Parameters:
- initial_registration_date: datetime¶
- last_update_date: datetime¶
- next_renewal_date: datetime¶
- validated_at: ValidatedAt¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.GeneralEntity(*, lei, name)[source]¶
Represent a general entity.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Address(*, language, addressLines, addressNumber, addressNumberWithinBuilding, mailRouting, city, region, country, postalCode)[source]¶
Represent an address.
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Expiration(*, date, reason)[source]¶
Represent expiration data.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LegalForm(*, id, other)[source]¶
Represent the legal form.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Name(*, name, language=None, type=None)[source]¶
Represent a name.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegisteredAt(*, id, other)[source]¶
Represent registered-at information.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Entity(*, associatedEntity, category, creationDate, eventGroups, expiration, headquartersAddress, jurisdiction, legalAddress, legalForm, legalName, otherAddresses, otherNames, registeredAs=None, registeredAt, status, successorEntities, subCategory=None, successorEntity, transliteradedOtherNames=None)[source]¶
Represent entity information.
- Parameters:
associatedEntity (GeneralEntity)
category (str)
creationDate (str | None)
expiration (Expiration)
headquartersAddress (Address)
jurisdiction (str)
legalAddress (Address)
legalForm (LegalForm)
legalName (Name)
registeredAs (str | None)
registeredAt (RegisteredAt)
status (str)
subCategory (str | None)
successorEntity (GeneralEntity)
- associated_entity: GeneralEntity¶
- expiration: Expiration¶
- registered_at: RegisteredAt¶
- successor_entity: GeneralEntity¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Attributes(*, bic, lei, entity, registration)[source]¶
Represent attribute information.
- Parameters:
lei (str)
entity (Entity)
registration (Registration)
- registration: Registration¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LinkData(*, self=None, related=None, relationship_record=None, relationship_records=None, lei_record=None, reporting_exception=None)[source]¶
Represent a link.
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.ResourceIdentifier(*, type=None, id=None)[source]¶
A JSON:API resource identifier (
type+id).- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Links(*, links, data=None)[source]¶
Represent a JSON:API relationship object (links plus identifier).
- Parameters:
links (LinkData)
data (ResourceIdentifier | None)
- data: ResourceIdentifier | None¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Relationships(*, managing_lou=None, lei_issuer=None, field_modifications=None, direct_parent=None, ultimate_parent=None, direct_children=None, ultimate_children=None, isins=None)[source]¶
Represent relationships between records.
The API serves these keys in kebab-case (
managing-louetc.), hence the explicit aliases.- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Data(*, id, type, attributes, links, relationships)[source]¶
Represent an LEI record data object.
- Parameters:
id (str)
type (str)
attributes (Attributes)
links (LinkData)
relationships (Relationships)
- attributes: Attributes¶
- relationships: Relationships¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- pygleif.v2.api.models.LeiRecord¶
Preferred v2 name for a single LEI record.
- class pygleif.v2.api.models.GoldenCopy(*, publishDate)[source]¶
Represent golden copy information.
- Parameters:
publishDate (datetime)
- publish_date: datetime¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Pagination(*, currentPage, perPage, to=None, total, lastPage)[source]¶
Represent response pagination.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_post_init(context, /)¶
This function is meant to behave like a BaseModel method to initialize private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Args:
self: The BaseModel instance. context: The context.
- Parameters:
self (BaseModel)
context (Any)
- Return type:
None
- class pygleif.v2.api.models.Meta(*, goldenCopy=None, pagination=None)[source]¶
Represent meta information.
- Parameters:
goldenCopy (GoldenCopy | None)
pagination (Pagination | None)
- golden_copy: GoldenCopy | None¶
- pagination: Pagination | None¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.GLEIFResponse(*, meta, data)[source]¶
Single LEI record response (
/lei-records/{lei}).- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.SearchResponse(*, meta, data)[source]¶
Search / list response (
/lei-records).- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.IsinAttributes(*, lei, isin)[source]¶
Attributes of an ISIN-LEI mapping.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.IsinData(*, type, id, attributes)[source]¶
A single ISIN-LEI mapping record.
- Parameters:
type (str)
id (str)
attributes (IsinAttributes)
- attributes: IsinAttributes¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.IsinResponse(*, meta, data)[source]¶
ISIN mapping list response.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.CompletionRelationships(*, lei_records=None)[source]¶
Relationships of a completion result (link to the LEI record).
- Parameters:
lei_records (Links | None)
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FuzzyCompletionAttributes(*, value=None)[source]¶
Attributes of a fuzzy completion result.
- Parameters:
value (str | None)
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FuzzyCompletion(*, type, attributes, relationships=None)[source]¶
A single fuzzy completion match.
- Parameters:
type (str)
attributes (FuzzyCompletionAttributes)
relationships (CompletionRelationships | None)
- attributes: FuzzyCompletionAttributes¶
- relationships: CompletionRelationships | None¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FuzzyCompletionResponse(*, data)[source]¶
Fuzzy completion list response.
- Parameters:
data (list[FuzzyCompletion])
- data: list[FuzzyCompletion]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.AutocompletionAttributes(*, value=None, highlighting=None)[source]¶
Attributes of an autocompletion suggestion.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.Autocompletion(*, type, attributes, relationships=None)[source]¶
A single autocompletion suggestion.
- Parameters:
type (str)
attributes (AutocompletionAttributes)
relationships (CompletionRelationships | None)
- attributes: AutocompletionAttributes¶
- relationships: CompletionRelationships | None¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.AutocompletionResponse(*, data)[source]¶
Autocompletion list response.
- Parameters:
data (list[Autocompletion])
- data: list[Autocompletion]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FieldAttributes(*, key=None, field=None, label=None, dataType=None, enum=None, resource=None, sortable=None, operators=None, contexts=None, xpath=None)[source]¶
Metadata describing a single LEI data field.
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FieldDescriptor(*, type, id, attributes)[source]¶
A single field descriptor from the
/fieldsendpoint.- Parameters:
type (str)
id (str)
attributes (FieldAttributes)
- attributes: FieldAttributes¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FieldsResponse(*, meta=None, data)[source]¶
Fields metadata list response.
- Parameters:
meta (Meta | None)
data (list[FieldDescriptor])
- data: list[FieldDescriptor]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FieldResponse(*, data)[source]¶
Single field metadata response (
/fields/{id}).- Parameters:
data (FieldDescriptor)
- data: FieldDescriptor¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.ResourceData(*, type, id, attributes, links=None)[source]¶
A JSON:API data object with resource-specific typed attributes.
- attributes: AttributesT¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.ResourceResponse(*, meta=None, data)[source]¶
Single-resource response envelope.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- data: ResourceData[AttributesT]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.ResourceListResponse(*, meta=None, data)[source]¶
Resource list response envelope.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- data: list[ResourceData[AttributesT]]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RelationshipNode(*, id=None, type=None)[source]¶
Start or end node of a relationship record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RelationshipPeriod(*, startDate=None, endDate=None, type=None)[source]¶
Validity period reported for a relationship.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RelationshipDetail(*, startNode=None, endNode=None, type=None, status=None, periods=<factory>)[source]¶
The reported relationship between two LEI records.
- Parameters:
startNode (RelationshipNode | None)
endNode (RelationshipNode | None)
type (str | None)
status (str | None)
periods (list[RelationshipPeriod])
- start_node: RelationshipNode | None¶
- end_node: RelationshipNode | None¶
- periods: list[RelationshipPeriod]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RelationshipRegistration(*, initialRegistrationDate=None, lastUpdateDate=None, status=None, nextRenewalDate=None, managingLou=None, corroborationLevel=None, corroborationDocuments=None, corroborationReference=None)[source]¶
Registration details of a relationship record.
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RelationshipAttributes(*, validFrom=None, validTo=None, relationship=None, registration=None)[source]¶
Attributes of a relationship record.
- Parameters:
validFrom (datetime | None)
validTo (datetime | None)
relationship (RelationshipDetail | None)
registration (RelationshipRegistration | None)
- relationship: RelationshipDetail | None¶
- registration: RelationshipRegistration | None¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RelationshipData(*, type, id, attributes, links=None)[source]¶
A single relationship record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RelationshipResponse(*, meta=None, data)[source]¶
Single relationship record response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RelationshipListResponse(*, meta=None, data)[source]¶
Relationship record list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.ReportingExceptionAttributes(*, validFrom=None, validTo=None, lei=None, category=None, reason=None, reference=None)[source]¶
Attributes of a Level 2 reporting exception.
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.ReportingExceptionData(*, type, id, attributes, links=None)[source]¶
A single reporting exception record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.ReportingExceptionResponse(*, meta=None, data)[source]¶
Reporting exception response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FieldModificationAttributes(*, lei=None, recordType=None, modificationType=None, field=None, date=None, valueOld=None, valueNew=None, context=None)[source]¶
A single historical change to an LEI record field.
- Parameters:
- value_old: Any¶
- value_new: Any¶
- context: Any¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FieldModificationData(*, type, id, attributes, links=None)[source]¶
A single field modification record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.FieldModificationResponse(*, meta=None, data)[source]¶
Field modification list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LeiIssuerAttributes(*, lei=None, name=None, marketingName=None, reportingName=None, website=None, organizationType=None, shortDescription=None, legalDomicile=None, accreditationDate=None)[source]¶
Attributes of an LEI issuer (Local Operating Unit).
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LeiIssuerData(*, type, id, attributes, links=None)[source]¶
A single LEI issuer record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LeiIssuerResponse(*, meta=None, data)[source]¶
Single LEI issuer response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LeiIssuersResponse(*, meta=None, data)[source]¶
LEI issuer list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LeiIssuerJurisdictionAttributes(*, countryCode=None, accreditedAs=None, startDate=None, endDate=None)[source]¶
Jurisdiction an LEI issuer is accredited for.
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LeiIssuerJurisdictionsResponse(*, meta=None, data)[source]¶
LEI issuer accredited jurisdiction list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.VLeiIssuerAttributes(*, lei=None, name=None, website=None, marketingName=None, qualificationDate=None)[source]¶
Attributes of a qualified vLEI issuing organization.
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.VLeiIssuerData(*, type, id, attributes, links=None)[source]¶
A single vLEI issuer record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.VLeiIssuerResponse(*, meta=None, data)[source]¶
Single vLEI issuer response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.VLeiIssuersResponse(*, meta=None, data)[source]¶
vLEI issuer list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.CountryAttributes(*, code=None, name=None)[source]¶
ISO 3166 country code entry.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.CountryData(*, type, id, attributes, links=None)[source]¶
A single country record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.CountryResponse(*, meta=None, data)[source]¶
Single country response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.CountriesResponse(*, meta=None, data)[source]¶
Country list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.JurisdictionAttributes(*, code=None, name=None)[source]¶
Legal jurisdiction entry (ISO 3166 country / sub-region codes).
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.JurisdictionData(*, type, id, attributes, links=None)[source]¶
A single jurisdiction record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.JurisdictionResponse(*, meta=None, data)[source]¶
Single jurisdiction response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.JurisdictionsResponse(*, meta=None, data)[source]¶
Jurisdiction list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegionAttributes(*, code=None, name=None)[source]¶
ISO 3166 sub-region code entry.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegionData(*, type, id, attributes, links=None)[source]¶
A single region record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegionResponse(*, meta=None, data)[source]¶
Single region response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegionsResponse(*, meta=None, data)[source]¶
Region list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.LocalizedName(*, name=None, localName=None, language=None, languageCode=None, transliteratedName=None)[source]¶
Localized name entry used by the ELF and OOR code lists.
- Parameters:
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.EntityLegalFormAttributes(*, code=None, country=None, jurisdiction=None, countryCode=None, subdivisionCode=None, dateCreated=None, status=None, names=<factory>)[source]¶
ISO 20275 entity legal form (ELF) code entry.
- Parameters:
- names: list[LocalizedName]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.EntityLegalFormData(*, type, id, attributes, links=None)[source]¶
A single entity legal form record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.EntityLegalFormResponse(*, meta=None, data)[source]¶
Single entity legal form response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.EntityLegalFormsResponse(*, meta=None, data)[source]¶
Entity legal form list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.OfficialOrganizationalRoleAttributes(*, code=None, country=None, jurisdiction=None, countryCode=None, subdivisionCode=None, dateCreated=None, status=None, elfCode=None, names=<factory>)[source]¶
ISO 5009 official organizational role (OOR) code entry.
- Parameters:
- names: list[LocalizedName]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.OfficialOrganizationalRoleData(*, type, id, attributes, links=None)[source]¶
A single official organizational role record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.OfficialOrganizationalRoleResponse(*, meta=None, data)[source]¶
Single official organizational role response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.OfficialOrganizationalRolesResponse(*, meta=None, data)[source]¶
Official organizational role list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAuthorityJurisdiction(*, country=None, countryCode=None, jurisdiction=None)[source]¶
Jurisdiction covered by a registration authority.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAuthorityAttributes(*, code=None, internationalName=None, localName=None, internationalOrganizationName=None, localOrganizationName=None, website=None, jurisdictions=<factory>)[source]¶
GLEIF Registration Authority (RA) code list entry.
- Parameters:
- jurisdictions: list[RegistrationAuthorityJurisdiction]¶
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAuthorityData(*, type, id, attributes, links=None)[source]¶
A single registration authority record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAuthorityResponse(*, meta=None, data)[source]¶
Single registration authority response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAuthoritiesResponse(*, meta=None, data)[source]¶
Registration authority list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAgentAttributes(*, name=None, lei=None, leiIssuer=None, websites=<factory>)[source]¶
Registration agent entry.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAgentData(*, type, id, attributes, links=None)[source]¶
A single registration agent record.
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAgentResponse(*, meta=None, data)[source]¶
Single registration agent response.
- Parameters:
meta (Meta | None)
data (ResourceData[TypeVar])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygleif.v2.api.models.RegistrationAgentsResponse(*, meta=None, data)[source]¶
Registration agent list response.
- Parameters:
meta (Meta | None)
data (list[ResourceData[TypeVar]])
- model_config = {'alias_generator': <function to_camel>, 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].