{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"company-identifier.schema.json","title":"Legal Entity Identifier (LEI) record, newly registered or closed in the last 31 days (GLEIF Golden Copy)","description":"Source: GLEIF Golden Copy last-month delta file (LEI-CDF 3.1) and level 2 relationship file, Global Legal Entity Identifier Foundation, CC0 1.0 (https://www.gleif.org/en/meta/lei-data-terms-of-use). Legal entities only: records with entity category SOLE_PROPRIETOR are left out. Addresses are reduced to country, city and postcode.","type":"object","required":["id","lei","legal_name","other_names","change","entity_status","registration_status","country","successor_leis","initial_registration_date","last_update","url","verification","paid_placement","source_id","source_url","retrieved_at"],"additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[A-Z0-9]{18}[0-9]{2}$","description":"The LEI (ISO 17442)"},"lei":{"type":"string","pattern":"^[A-Z0-9]{18}[0-9]{2}$","description":"Legal Entity Identifier, 20 characters (ISO 17442)"},"legal_name":{"type":"string","description":"Legal name as registered"},"other_names":{"type":"array","items":{"type":"string"},"description":"Other and transliterated names as registered (trading, previous or local-script names)"},"change":{"enum":["new","closed"],"description":"new: initial registration in the last 31 days; closed: updated in the last 31 days with registration status RETIRED, ANNULLED, DUPLICATE or MERGED, or entity status INACTIVE"},"entity_category":{"type":["string","null"],"description":"GLEIF entity category, for example GENERAL, FUND, BRANCH, RESIDENT_GOVERNMENT_ENTITY, INTERNATIONAL_ORGANIZATION"},"legal_form_code":{"type":["string","null"],"description":"ISO 20275 Entity Legal Form (ELF) code, or 8888 when no code applies"},"legal_form_other":{"type":["string","null"],"description":"Legal form as text when no ELF code applies"},"legal_jurisdiction":{"type":["string","null"],"description":"Legal jurisdiction, ISO 3166-1 alpha-2 or ISO 3166-2 code"},"entity_status":{"enum":["ACTIVE","INACTIVE",null],"description":"Whether the legal entity is still legally registered and operating (ACTIVE) or not (INACTIVE)"},"registration_status":{"enum":["ISSUED","LAPSED","RETIRED","ANNULLED","DUPLICATE","MERGED","PENDING_TRANSFER","PENDING_ARCHIVAL","TRANSFERRED",null],"description":"Status of the LEI registration"},"country":{"type":["string","null"],"pattern":"^[A-Z]{2}$","description":"Legal address country, ISO 3166-1 alpha-2"},"city":{"type":["string","null"],"description":"Legal address city"},"postcode":{"type":["string","null"],"description":"Legal address postcode"},"hq_country":{"type":["string","null"],"pattern":"^[A-Z]{2}$","description":"Headquarters address country, ISO 3166-1 alpha-2"},"hq_city":{"type":["string","null"],"description":"Headquarters address city"},"hq_postcode":{"type":["string","null"],"description":"Headquarters address postcode"},"registration_authority_id":{"type":["string","null"],"description":"GLEIF Registration Authorities List code of the business register, for example RA000463 (Netherlands Chamber of Commerce)"},"registration_authority_entity_id":{"type":["string","null"],"description":"The entity's number in that business register, for example the company or KvK number"},"entity_creation_date":{"type":["string","null"],"format":"date","description":"Date the legal entity was established, where reported"},"entity_expiration_date":{"type":["string","null"],"format":"date","description":"Date the legal entity ceased to exist, where reported"},"entity_expiration_reason":{"type":["string","null"],"description":"Reason the entity ceased, for example DISSOLVED or CORPORATE_ACTION"},"successor_leis":{"type":"array","items":{"type":"string","pattern":"^[A-Z0-9]{18}[0-9]{2}$"},"description":"LEIs of successor entities, for example after a merger"},"initial_registration_date":{"type":"string","format":"date","description":"Date the LEI was first issued"},"last_update":{"type":"string","format":"date-time","description":"Date and time of the last update of the LEI record"},"next_renewal_date":{"type":["string","null"],"format":"date","description":"Date by which the registration must be renewed; after it the LEI lapses"},"managing_lou":{"type":["string","null"],"pattern":"^[A-Z0-9]{18}[0-9]{2}$","description":"LEI of the Local Operating Unit (LEI issuer) that manages the record"},"validation_sources":{"type":["string","null"],"description":"How the data was validated: FULLY_CORROBORATED, PARTIALLY_CORROBORATED, ENTITY_SUPPLIED_ONLY or PENDING"},"direct_parent_lei":{"type":["string","null"],"pattern":"^[A-Z0-9]{18}[0-9]{2}$","description":"LEI of the direct accounting consolidating parent (level 2 data, active relationship)"},"ultimate_parent_lei":{"type":["string","null"],"pattern":"^[A-Z0-9]{18}[0-9]{2}$","description":"LEI of the ultimate accounting consolidating parent (level 2 data, active relationship)"},"url":{"type":"string","format":"uri","description":"GLEIF LEI Search record page"},"verification":{"const":"official-publication","description":"Copied from the GLEIF Golden Copy, the official publication of the Global LEI System"},"paid_placement":{"const":false,"description":"Always false: no record is paid for or promoted"},"source_id":{"const":"gleif-golden-copy"},"source_url":{"type":"string","format":"uri"},"retrieved_at":{"type":"string","format":"date-time"}}}