From 67b87b501cde51443c6fd3fe4d041a70d9f6e28c Mon Sep 17 00:00:00 2001 From: Christian Stefanescu Date: Sun, 28 Jun 2026 19:34:23 +0200 Subject: [PATCH] Support followthemoney 4.9.2 --- schemas/{4.7.0 => 4.9.2}/Address.yaml | 0 schemas/{4.7.0 => 4.9.2}/Airplane.yaml | 0 schemas/{4.7.0 => 4.9.2}/Analyzable.yaml | 0 schemas/{4.7.0 => 4.9.2}/Article.yaml | 0 schemas/{4.7.0 => 4.9.2}/Asset.yaml | 0 schemas/{4.7.0 => 4.9.2}/Associate.yaml | 0 schemas/{4.7.0 => 4.9.2}/Audio.yaml | 0 schemas/{4.7.0 => 4.9.2}/BankAccount.yaml | 0 schemas/{4.7.0 => 4.9.2}/Call.yaml | 0 schemas/{4.7.0 => 4.9.2}/CallForTenders.yaml | 0 schemas/{4.7.0 => 4.9.2}/Company.yaml | 4 - schemas/{4.7.0 => 4.9.2}/Contract.yaml | 0 schemas/{4.7.0 => 4.9.2}/ContractAward.yaml | 0 schemas/{4.7.0 => 4.9.2}/CourtCase.yaml | 0 schemas/{4.7.0 => 4.9.2}/CourtCaseParty.yaml | 0 schemas/{4.7.0 => 4.9.2}/CryptoWallet.yaml | 0 schemas/{4.7.0 => 4.9.2}/Debt.yaml | 0 schemas/{4.7.0 => 4.9.2}/Directorship.yaml | 0 schemas/{4.7.0 => 4.9.2}/Document.yaml | 0 schemas/{4.7.0 => 4.9.2}/Documentation.yaml | 0 .../{4.7.0 => 4.9.2}/EconomicActivity.yaml | 0 schemas/{4.7.0 => 4.9.2}/Email.yaml | 0 schemas/{4.7.0 => 4.9.2}/Employment.yaml | 0 schemas/{4.7.0 => 4.9.2}/Event.yaml | 0 schemas/{4.7.0 => 4.9.2}/Family.yaml | 0 schemas/{4.7.0 => 4.9.2}/Folder.yaml | 0 schemas/{4.7.0 => 4.9.2}/HyperText.yaml | 0 schemas/{4.7.0 => 4.9.2}/Identification.yaml | 0 schemas/{4.7.0 => 4.9.2}/Image.yaml | 0 schemas/{4.7.0 => 4.9.2}/Interest.yaml | 0 schemas/{4.7.0 => 4.9.2}/Interval.yaml | 0 schemas/{4.7.0 => 4.9.2}/LegalEntity.yaml | 5 + schemas/{4.7.0 => 4.9.2}/License.yaml | 0 schemas/{4.7.0 => 4.9.2}/Membership.yaml | 0 schemas/{4.7.0 => 4.9.2}/Mention.yaml | 0 schemas/{4.7.0 => 4.9.2}/Message.yaml | 0 schemas/{4.7.0 => 4.9.2}/Note.yaml | 0 schemas/{4.7.0 => 4.9.2}/Occupancy.yaml | 7 +- schemas/{4.7.0 => 4.9.2}/Organization.yaml | 0 schemas/{4.7.0 => 4.9.2}/Ownership.yaml | 3 +- schemas/{4.7.0 => 4.9.2}/Package.yaml | 0 schemas/{4.7.0 => 4.9.2}/Page.yaml | 0 schemas/{4.7.0 => 4.9.2}/Pages.yaml | 0 schemas/{4.7.0 => 4.9.2}/Passport.yaml | 0 schemas/{4.7.0 => 4.9.2}/Payment.yaml | 0 schemas/{4.7.0 => 4.9.2}/Person.yaml | 5 + schemas/{4.7.0 => 4.9.2}/PlainText.yaml | 0 schemas/{4.7.0 => 4.9.2}/Position.yaml | 0 schemas/{4.7.0 => 4.9.2}/Project.yaml | 0 .../{4.7.0 => 4.9.2}/ProjectParticipant.yaml | 0 schemas/{4.7.0 => 4.9.2}/PublicBody.yaml | 0 schemas/{4.7.0 => 4.9.2}/RealEstate.yaml | 0 schemas/{4.7.0 => 4.9.2}/Representation.yaml | 0 schemas/{4.7.0 => 4.9.2}/Risk.yaml | 0 schemas/{4.7.0 => 4.9.2}/Sanction.yaml | 0 schemas/{4.7.0 => 4.9.2}/Security.yaml | 0 schemas/{4.7.0 => 4.9.2}/Similar.yaml | 0 schemas/{4.7.0 => 4.9.2}/Succession.yaml | 0 schemas/{4.7.0 => 4.9.2}/Table.yaml | 0 schemas/{4.7.0 => 4.9.2}/TaxRoll.yaml | 0 schemas/{4.7.0 => 4.9.2}/Thing.yaml | 11 + schemas/{4.7.0 => 4.9.2}/Trip.yaml | 0 schemas/{4.7.0 => 4.9.2}/UnknownLink.yaml | 0 schemas/{4.7.0 => 4.9.2}/UserAccount.yaml | 0 schemas/{4.7.0 => 4.9.2}/Value.yaml | 0 schemas/{4.7.0 => 4.9.2}/Vehicle.yaml | 2 +- schemas/{4.7.0 => 4.9.2}/Vessel.yaml | 0 schemas/{4.7.0 => 4.9.2}/Video.yaml | 0 schemas/{4.7.0 => 4.9.2}/Workbook.yaml | 0 src/generated/entities.rs | 346 +++++++++++++++++- src/generated/trait_impls.rs | 114 ++++++ src/generated/traits.rs | 2 + 72 files changed, 490 insertions(+), 9 deletions(-) rename schemas/{4.7.0 => 4.9.2}/Address.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Airplane.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Analyzable.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Article.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Asset.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Associate.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Audio.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/BankAccount.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Call.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/CallForTenders.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Company.yaml (93%) rename schemas/{4.7.0 => 4.9.2}/Contract.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/ContractAward.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/CourtCase.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/CourtCaseParty.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/CryptoWallet.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Debt.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Directorship.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Document.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Documentation.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/EconomicActivity.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Email.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Employment.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Event.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Family.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Folder.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/HyperText.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Identification.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Image.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Interest.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Interval.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/LegalEntity.yaml (97%) rename schemas/{4.7.0 => 4.9.2}/License.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Membership.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Mention.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Message.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Note.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Occupancy.yaml (74%) rename schemas/{4.7.0 => 4.9.2}/Organization.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Ownership.yaml (95%) rename schemas/{4.7.0 => 4.9.2}/Package.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Page.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Pages.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Passport.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Payment.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Person.yaml (96%) rename schemas/{4.7.0 => 4.9.2}/PlainText.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Position.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Project.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/ProjectParticipant.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/PublicBody.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/RealEstate.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Representation.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Risk.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Sanction.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Security.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Similar.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Succession.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Table.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/TaxRoll.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Thing.yaml (87%) rename schemas/{4.7.0 => 4.9.2}/Trip.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/UnknownLink.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/UserAccount.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Value.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Vehicle.yaml (98%) rename schemas/{4.7.0 => 4.9.2}/Vessel.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Video.yaml (100%) rename schemas/{4.7.0 => 4.9.2}/Workbook.yaml (100%) diff --git a/schemas/4.7.0/Address.yaml b/schemas/4.9.2/Address.yaml similarity index 100% rename from schemas/4.7.0/Address.yaml rename to schemas/4.9.2/Address.yaml diff --git a/schemas/4.7.0/Airplane.yaml b/schemas/4.9.2/Airplane.yaml similarity index 100% rename from schemas/4.7.0/Airplane.yaml rename to schemas/4.9.2/Airplane.yaml diff --git a/schemas/4.7.0/Analyzable.yaml b/schemas/4.9.2/Analyzable.yaml similarity index 100% rename from schemas/4.7.0/Analyzable.yaml rename to schemas/4.9.2/Analyzable.yaml diff --git a/schemas/4.7.0/Article.yaml b/schemas/4.9.2/Article.yaml similarity index 100% rename from schemas/4.7.0/Article.yaml rename to schemas/4.9.2/Article.yaml diff --git a/schemas/4.7.0/Asset.yaml b/schemas/4.9.2/Asset.yaml similarity index 100% rename from schemas/4.7.0/Asset.yaml rename to schemas/4.9.2/Asset.yaml diff --git a/schemas/4.7.0/Associate.yaml b/schemas/4.9.2/Associate.yaml similarity index 100% rename from schemas/4.7.0/Associate.yaml rename to schemas/4.9.2/Associate.yaml diff --git a/schemas/4.7.0/Audio.yaml b/schemas/4.9.2/Audio.yaml similarity index 100% rename from schemas/4.7.0/Audio.yaml rename to schemas/4.9.2/Audio.yaml diff --git a/schemas/4.7.0/BankAccount.yaml b/schemas/4.9.2/BankAccount.yaml similarity index 100% rename from schemas/4.7.0/BankAccount.yaml rename to schemas/4.9.2/BankAccount.yaml diff --git a/schemas/4.7.0/Call.yaml b/schemas/4.9.2/Call.yaml similarity index 100% rename from schemas/4.7.0/Call.yaml rename to schemas/4.9.2/Call.yaml diff --git a/schemas/4.7.0/CallForTenders.yaml b/schemas/4.9.2/CallForTenders.yaml similarity index 100% rename from schemas/4.7.0/CallForTenders.yaml rename to schemas/4.9.2/CallForTenders.yaml diff --git a/schemas/4.7.0/Company.yaml b/schemas/4.9.2/Company.yaml similarity index 93% rename from schemas/4.7.0/Company.yaml rename to schemas/4.9.2/Company.yaml index 03d198b..d602406 100644 --- a/schemas/4.7.0/Company.yaml +++ b/schemas/4.9.2/Company.yaml @@ -65,10 +65,6 @@ Company: description: "(RU, КПП) Russian code issued by the tax authority, identifies the reason for registration at the Federal Tax Service. A company may have multiple KPP codes (e.g. for different branches), and the codes are not unique across companies." type: identifier matchable: false - okvedCode: - label: "OKVED(2) Classifier" - description: "(RU, ОКВЭД) Russian classifier that categorizes businesses by their (primary and secondary) economic activities" - matchable: false okopfCode: label: "OKOPF" description: "(RU, ОКОПФ) Russian classifier that categorizes different types of legal entities in Russia based on their organizational and legal structure" diff --git a/schemas/4.7.0/Contract.yaml b/schemas/4.9.2/Contract.yaml similarity index 100% rename from schemas/4.7.0/Contract.yaml rename to schemas/4.9.2/Contract.yaml diff --git a/schemas/4.7.0/ContractAward.yaml b/schemas/4.9.2/ContractAward.yaml similarity index 100% rename from schemas/4.7.0/ContractAward.yaml rename to schemas/4.9.2/ContractAward.yaml diff --git a/schemas/4.7.0/CourtCase.yaml b/schemas/4.9.2/CourtCase.yaml similarity index 100% rename from schemas/4.7.0/CourtCase.yaml rename to schemas/4.9.2/CourtCase.yaml diff --git a/schemas/4.7.0/CourtCaseParty.yaml b/schemas/4.9.2/CourtCaseParty.yaml similarity index 100% rename from schemas/4.7.0/CourtCaseParty.yaml rename to schemas/4.9.2/CourtCaseParty.yaml diff --git a/schemas/4.7.0/CryptoWallet.yaml b/schemas/4.9.2/CryptoWallet.yaml similarity index 100% rename from schemas/4.7.0/CryptoWallet.yaml rename to schemas/4.9.2/CryptoWallet.yaml diff --git a/schemas/4.7.0/Debt.yaml b/schemas/4.9.2/Debt.yaml similarity index 100% rename from schemas/4.7.0/Debt.yaml rename to schemas/4.9.2/Debt.yaml diff --git a/schemas/4.7.0/Directorship.yaml b/schemas/4.9.2/Directorship.yaml similarity index 100% rename from schemas/4.7.0/Directorship.yaml rename to schemas/4.9.2/Directorship.yaml diff --git a/schemas/4.7.0/Document.yaml b/schemas/4.9.2/Document.yaml similarity index 100% rename from schemas/4.7.0/Document.yaml rename to schemas/4.9.2/Document.yaml diff --git a/schemas/4.7.0/Documentation.yaml b/schemas/4.9.2/Documentation.yaml similarity index 100% rename from schemas/4.7.0/Documentation.yaml rename to schemas/4.9.2/Documentation.yaml diff --git a/schemas/4.7.0/EconomicActivity.yaml b/schemas/4.9.2/EconomicActivity.yaml similarity index 100% rename from schemas/4.7.0/EconomicActivity.yaml rename to schemas/4.9.2/EconomicActivity.yaml diff --git a/schemas/4.7.0/Email.yaml b/schemas/4.9.2/Email.yaml similarity index 100% rename from schemas/4.7.0/Email.yaml rename to schemas/4.9.2/Email.yaml diff --git a/schemas/4.7.0/Employment.yaml b/schemas/4.9.2/Employment.yaml similarity index 100% rename from schemas/4.7.0/Employment.yaml rename to schemas/4.9.2/Employment.yaml diff --git a/schemas/4.7.0/Event.yaml b/schemas/4.9.2/Event.yaml similarity index 100% rename from schemas/4.7.0/Event.yaml rename to schemas/4.9.2/Event.yaml diff --git a/schemas/4.7.0/Family.yaml b/schemas/4.9.2/Family.yaml similarity index 100% rename from schemas/4.7.0/Family.yaml rename to schemas/4.9.2/Family.yaml diff --git a/schemas/4.7.0/Folder.yaml b/schemas/4.9.2/Folder.yaml similarity index 100% rename from schemas/4.7.0/Folder.yaml rename to schemas/4.9.2/Folder.yaml diff --git a/schemas/4.7.0/HyperText.yaml b/schemas/4.9.2/HyperText.yaml similarity index 100% rename from schemas/4.7.0/HyperText.yaml rename to schemas/4.9.2/HyperText.yaml diff --git a/schemas/4.7.0/Identification.yaml b/schemas/4.9.2/Identification.yaml similarity index 100% rename from schemas/4.7.0/Identification.yaml rename to schemas/4.9.2/Identification.yaml diff --git a/schemas/4.7.0/Image.yaml b/schemas/4.9.2/Image.yaml similarity index 100% rename from schemas/4.7.0/Image.yaml rename to schemas/4.9.2/Image.yaml diff --git a/schemas/4.7.0/Interest.yaml b/schemas/4.9.2/Interest.yaml similarity index 100% rename from schemas/4.7.0/Interest.yaml rename to schemas/4.9.2/Interest.yaml diff --git a/schemas/4.7.0/Interval.yaml b/schemas/4.9.2/Interval.yaml similarity index 100% rename from schemas/4.7.0/Interval.yaml rename to schemas/4.9.2/Interval.yaml diff --git a/schemas/4.7.0/LegalEntity.yaml b/schemas/4.9.2/LegalEntity.yaml similarity index 97% rename from schemas/4.7.0/LegalEntity.yaml rename to schemas/4.9.2/LegalEntity.yaml index 2c16673..93efa10 100644 --- a/schemas/4.7.0/LegalEntity.yaml +++ b/schemas/4.9.2/LegalEntity.yaml @@ -168,6 +168,11 @@ LegalEntity: type: identifier format: ogrn maxLength: 32 + okvedCode: + label: "OKVED" + description: "Russian industry classifier code for economic activities" + type: identifier + matchable: false leiCode: # cf. https://www.gleif.org/en/about-lei/introducing-the-legal-entity-identifier-lei label: "LEI" diff --git a/schemas/4.7.0/License.yaml b/schemas/4.9.2/License.yaml similarity index 100% rename from schemas/4.7.0/License.yaml rename to schemas/4.9.2/License.yaml diff --git a/schemas/4.7.0/Membership.yaml b/schemas/4.9.2/Membership.yaml similarity index 100% rename from schemas/4.7.0/Membership.yaml rename to schemas/4.9.2/Membership.yaml diff --git a/schemas/4.7.0/Mention.yaml b/schemas/4.9.2/Mention.yaml similarity index 100% rename from schemas/4.7.0/Mention.yaml rename to schemas/4.9.2/Mention.yaml diff --git a/schemas/4.7.0/Message.yaml b/schemas/4.9.2/Message.yaml similarity index 100% rename from schemas/4.7.0/Message.yaml rename to schemas/4.9.2/Message.yaml diff --git a/schemas/4.7.0/Note.yaml b/schemas/4.9.2/Note.yaml similarity index 100% rename from schemas/4.7.0/Note.yaml rename to schemas/4.9.2/Note.yaml diff --git a/schemas/4.7.0/Occupancy.yaml b/schemas/4.9.2/Occupancy.yaml similarity index 74% rename from schemas/4.7.0/Occupancy.yaml rename to schemas/4.9.2/Occupancy.yaml index 3b7bd06..620602b 100644 --- a/schemas/4.7.0/Occupancy.yaml +++ b/schemas/4.9.2/Occupancy.yaml @@ -23,10 +23,13 @@ Occupancy: temporalExtent: start: - startDate + - periodStart + - electionDate - declarationDate - date end: - endDate + - periodEnd properties: holder: label: "Holder" @@ -53,11 +56,11 @@ Occupancy: type: date periodStart: label: "Period start" - description: "Start date of the period for which the position is occupied" + description: "Start date of the fixed office term (e.g. a parliamentary session). Unlike `startDate`, which tracks when an individual's mandate begins, `periodStart` refers to the term itself and is the same for everyone holding the position during that period." type: date periodEnd: label: "Period end" - description: "End date of the period for which the position is occupied" + description: "End date of the fixed office term. Unlike `endDate`, which tracks when an individual's mandate ends, `periodEnd` refers to the term itself and is the same for everyone holding the position during that period." type: date constituency: # https://www.popoloproject.com/specs/membership.html#classes-and-properties diff --git a/schemas/4.7.0/Organization.yaml b/schemas/4.9.2/Organization.yaml similarity index 100% rename from schemas/4.7.0/Organization.yaml rename to schemas/4.9.2/Organization.yaml diff --git a/schemas/4.7.0/Ownership.yaml b/schemas/4.9.2/Ownership.yaml similarity index 95% rename from schemas/4.7.0/Ownership.yaml rename to schemas/4.9.2/Ownership.yaml index cb0effb..caa2f0a 100644 --- a/schemas/4.7.0/Ownership.yaml +++ b/schemas/4.9.2/Ownership.yaml @@ -7,6 +7,7 @@ Ownership: featured: - owner - asset + - role - percentage - startDate - endDate @@ -32,7 +33,7 @@ Ownership: label: "Asset" reverse: name: ownershipAsset - label: "Owners" + label: "Ownership and Control" type: entity range: Asset percentage: diff --git a/schemas/4.7.0/Package.yaml b/schemas/4.9.2/Package.yaml similarity index 100% rename from schemas/4.7.0/Package.yaml rename to schemas/4.9.2/Package.yaml diff --git a/schemas/4.7.0/Page.yaml b/schemas/4.9.2/Page.yaml similarity index 100% rename from schemas/4.7.0/Page.yaml rename to schemas/4.9.2/Page.yaml diff --git a/schemas/4.7.0/Pages.yaml b/schemas/4.9.2/Pages.yaml similarity index 100% rename from schemas/4.7.0/Pages.yaml rename to schemas/4.9.2/Pages.yaml diff --git a/schemas/4.7.0/Passport.yaml b/schemas/4.9.2/Passport.yaml similarity index 100% rename from schemas/4.7.0/Passport.yaml rename to schemas/4.9.2/Passport.yaml diff --git a/schemas/4.7.0/Payment.yaml b/schemas/4.9.2/Payment.yaml similarity index 100% rename from schemas/4.7.0/Payment.yaml rename to schemas/4.9.2/Payment.yaml diff --git a/schemas/4.7.0/Person.yaml b/schemas/4.9.2/Person.yaml similarity index 96% rename from schemas/4.7.0/Person.yaml rename to schemas/4.9.2/Person.yaml index e775e7e..abb0b53 100644 --- a/schemas/4.7.0/Person.yaml +++ b/schemas/4.9.2/Person.yaml @@ -72,6 +72,11 @@ Person: position: label: Position matchable: false + biography: + label: Biography + description: A biographical narrative of the person. + matchable: false + type: text # OS note: the distinction between nationality and citizenship is pretty fine, the two props # exist mainly so that we can preserve the distinction if it exists in source data. # Nationality is a broader concept of being "of a country", citizenship narrower (as in holding diff --git a/schemas/4.7.0/PlainText.yaml b/schemas/4.9.2/PlainText.yaml similarity index 100% rename from schemas/4.7.0/PlainText.yaml rename to schemas/4.9.2/PlainText.yaml diff --git a/schemas/4.7.0/Position.yaml b/schemas/4.9.2/Position.yaml similarity index 100% rename from schemas/4.7.0/Position.yaml rename to schemas/4.9.2/Position.yaml diff --git a/schemas/4.7.0/Project.yaml b/schemas/4.9.2/Project.yaml similarity index 100% rename from schemas/4.7.0/Project.yaml rename to schemas/4.9.2/Project.yaml diff --git a/schemas/4.7.0/ProjectParticipant.yaml b/schemas/4.9.2/ProjectParticipant.yaml similarity index 100% rename from schemas/4.7.0/ProjectParticipant.yaml rename to schemas/4.9.2/ProjectParticipant.yaml diff --git a/schemas/4.7.0/PublicBody.yaml b/schemas/4.9.2/PublicBody.yaml similarity index 100% rename from schemas/4.7.0/PublicBody.yaml rename to schemas/4.9.2/PublicBody.yaml diff --git a/schemas/4.7.0/RealEstate.yaml b/schemas/4.9.2/RealEstate.yaml similarity index 100% rename from schemas/4.7.0/RealEstate.yaml rename to schemas/4.9.2/RealEstate.yaml diff --git a/schemas/4.7.0/Representation.yaml b/schemas/4.9.2/Representation.yaml similarity index 100% rename from schemas/4.7.0/Representation.yaml rename to schemas/4.9.2/Representation.yaml diff --git a/schemas/4.7.0/Risk.yaml b/schemas/4.9.2/Risk.yaml similarity index 100% rename from schemas/4.7.0/Risk.yaml rename to schemas/4.9.2/Risk.yaml diff --git a/schemas/4.7.0/Sanction.yaml b/schemas/4.9.2/Sanction.yaml similarity index 100% rename from schemas/4.7.0/Sanction.yaml rename to schemas/4.9.2/Sanction.yaml diff --git a/schemas/4.7.0/Security.yaml b/schemas/4.9.2/Security.yaml similarity index 100% rename from schemas/4.7.0/Security.yaml rename to schemas/4.9.2/Security.yaml diff --git a/schemas/4.7.0/Similar.yaml b/schemas/4.9.2/Similar.yaml similarity index 100% rename from schemas/4.7.0/Similar.yaml rename to schemas/4.9.2/Similar.yaml diff --git a/schemas/4.7.0/Succession.yaml b/schemas/4.9.2/Succession.yaml similarity index 100% rename from schemas/4.7.0/Succession.yaml rename to schemas/4.9.2/Succession.yaml diff --git a/schemas/4.7.0/Table.yaml b/schemas/4.9.2/Table.yaml similarity index 100% rename from schemas/4.7.0/Table.yaml rename to schemas/4.9.2/Table.yaml diff --git a/schemas/4.7.0/TaxRoll.yaml b/schemas/4.9.2/TaxRoll.yaml similarity index 100% rename from schemas/4.7.0/TaxRoll.yaml rename to schemas/4.9.2/TaxRoll.yaml diff --git a/schemas/4.7.0/Thing.yaml b/schemas/4.9.2/Thing.yaml similarity index 87% rename from schemas/4.7.0/Thing.yaml rename to schemas/4.9.2/Thing.yaml index 34b0a94..051546f 100644 --- a/schemas/4.7.0/Thing.yaml +++ b/schemas/4.9.2/Thing.yaml @@ -66,6 +66,7 @@ Thing: wikipediaUrl: label: Wikipedia Article type: url + matchable: false wikidataId: label: Wikidata ID type: identifier @@ -114,6 +115,16 @@ Thing: label: "Derived entities" type: entity range: Document + riskSource: + label: Risk source + description: "The directly-designated entity from which this entity's risk classification ultimately derives, e.g. the sanctioned owner at the origin of an ownership chain. See also the `topics` property." + # No reverse property is defined deliberately: the inverse of this link is a + # one-to-many fan-out (a hub like a major sanctioned conglomerate is the risk + # source for thousands of entities), which would bloat inverted/nested views. + # Without a reverse, `get_inverted` skips it across the stack. + type: entity + range: Thing + matchable: false indexText: # This is a leaked abstraction from aleph. The idea is to have some # additional text field that can be used to associate searchable text diff --git a/schemas/4.7.0/Trip.yaml b/schemas/4.9.2/Trip.yaml similarity index 100% rename from schemas/4.7.0/Trip.yaml rename to schemas/4.9.2/Trip.yaml diff --git a/schemas/4.7.0/UnknownLink.yaml b/schemas/4.9.2/UnknownLink.yaml similarity index 100% rename from schemas/4.7.0/UnknownLink.yaml rename to schemas/4.9.2/UnknownLink.yaml diff --git a/schemas/4.7.0/UserAccount.yaml b/schemas/4.9.2/UserAccount.yaml similarity index 100% rename from schemas/4.7.0/UserAccount.yaml rename to schemas/4.9.2/UserAccount.yaml diff --git a/schemas/4.7.0/Value.yaml b/schemas/4.9.2/Value.yaml similarity index 100% rename from schemas/4.7.0/Value.yaml rename to schemas/4.9.2/Value.yaml diff --git a/schemas/4.7.0/Vehicle.yaml b/schemas/4.9.2/Vehicle.yaml similarity index 98% rename from schemas/4.7.0/Vehicle.yaml rename to schemas/4.9.2/Vehicle.yaml index 591314f..4a2156d 100644 --- a/schemas/4.7.0/Vehicle.yaml +++ b/schemas/4.9.2/Vehicle.yaml @@ -3,7 +3,7 @@ Vehicle: plural: Vehicles extends: - Asset - matchable: false + matchable: true featured: - type - name diff --git a/schemas/4.7.0/Vessel.yaml b/schemas/4.9.2/Vessel.yaml similarity index 100% rename from schemas/4.7.0/Vessel.yaml rename to schemas/4.9.2/Vessel.yaml diff --git a/schemas/4.7.0/Video.yaml b/schemas/4.9.2/Video.yaml similarity index 100% rename from schemas/4.7.0/Video.yaml rename to schemas/4.9.2/Video.yaml diff --git a/schemas/4.7.0/Workbook.yaml b/schemas/4.9.2/Workbook.yaml similarity index 100% rename from schemas/4.7.0/Workbook.yaml rename to schemas/4.9.2/Workbook.yaml diff --git a/src/generated/entities.rs b/src/generated/entities.rs index 05e1580..985fdfd 100644 --- a/src/generated/entities.rs +++ b/src/generated/entities.rs @@ -243,6 +243,13 @@ pub struct Address { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -343,6 +350,7 @@ impl Address { region: None, remarks: None, retrieved_at: None, + risk_source: None, source_url: None, state: None, street: None, @@ -613,6 +621,13 @@ pub struct Airplane { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Serial Number #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -709,6 +724,7 @@ impl Airplane { registration_date: None, registration_number: None, retrieved_at: None, + risk_source: None, serial_number: None, source_url: None, summary: None, @@ -1102,6 +1118,13 @@ pub struct Article { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -1223,6 +1246,7 @@ impl Article { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -1430,6 +1454,13 @@ pub struct Asset { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -1503,6 +1534,7 @@ impl Asset { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, topics: None, @@ -2088,6 +2120,13 @@ pub struct Audio { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Sampling Rate #[serde( skip_serializing_if = "Option::is_none", @@ -2218,6 +2257,7 @@ impl Audio { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, sampling_rate: None, source_url: None, summary: None, @@ -2519,6 +2559,13 @@ pub struct BankAccount { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -2605,6 +2652,7 @@ impl BankAccount { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, topics: None, @@ -3200,6 +3248,13 @@ pub struct CallForTenders { builder(with = |value:impl Into|vec![value.into()]) )] pub reverse_auctions_included: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -3342,6 +3397,7 @@ impl CallForTenders { relation_to_threshold: None, retrieved_at: None, reverse_auctions_included: None, + risk_source: None, source_url: None, start_date: None, submission_deadline: None, @@ -3770,7 +3826,7 @@ pub struct Company { builder(with = |value:impl Into|vec![value.into()]) )] pub oksm_code: Option>, - ///Property: OKVED(2) Classifier + ///Property: OKVED #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( feature = "builder", @@ -3875,6 +3931,13 @@ pub struct Company { builder(with = |value:impl Into|vec![value.into()]) )] pub ric_code: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Sayari Entity ID #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -4078,6 +4141,7 @@ impl Company { registration_number: None, retrieved_at: None, ric_code: None, + risk_source: None, sayari_id: None, sector: None, source_url: None, @@ -4378,6 +4442,13 @@ pub struct Contract { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -4484,6 +4555,7 @@ impl Contract { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, status: None, summary: None, @@ -4988,6 +5060,13 @@ pub struct CourtCase { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -5076,6 +5155,7 @@ impl CourtCase { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, status: None, summary: None, @@ -5561,6 +5641,13 @@ pub struct CryptoWallet { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -5646,6 +5733,7 @@ impl CryptoWallet { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, topics: None, @@ -6452,6 +6540,13 @@ pub struct Document { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -6573,6 +6668,7 @@ impl Document { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -7566,6 +7662,13 @@ pub struct Email { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Sender #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -7724,6 +7827,7 @@ impl Email { publisher_url: None, recipients: None, retrieved_at: None, + risk_source: None, sender: None, source_url: None, subject: None, @@ -8217,6 +8321,13 @@ pub struct Event { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -8310,6 +8421,7 @@ impl Event { publisher_url: None, record_id: None, retrieved_at: None, + risk_source: None, source_url: None, start_date: None, summary: None, @@ -8888,6 +9000,13 @@ pub struct Folder { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -9009,6 +9128,7 @@ impl Folder { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -9410,6 +9530,13 @@ pub struct HyperText { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -9532,6 +9659,7 @@ impl HyperText { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -10142,6 +10270,13 @@ pub struct Image { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -10265,6 +10400,7 @@ impl Image { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -10532,6 +10668,13 @@ pub struct LegalEntity { builder(with = |value:impl Into|vec![value.into()]) )] pub okpo_code: Option>, + ///Property: OKVED + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub okved_code: Option>, ///Property: OpenCorporates URL #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -10609,6 +10752,13 @@ pub struct LegalEntity { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Sayari Entity ID #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -10761,6 +10911,7 @@ impl LegalEntity { npi_code: None, ogrn_code: None, okpo_code: None, + okved_code: None, opencorporates_url: None, parent: None, phone: None, @@ -10772,6 +10923,7 @@ impl LegalEntity { publisher_url: None, registration_number: None, retrieved_at: None, + risk_source: None, sayari_id: None, sector: None, source_url: None, @@ -11092,6 +11244,13 @@ pub struct License { builder(with = |value:impl Into|vec![value.into()]) )] pub review_date: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -11201,6 +11360,7 @@ impl License { publisher_url: None, retrieved_at: None, review_date: None, + risk_source: None, source_url: None, status: None, summary: None, @@ -11939,6 +12099,13 @@ pub struct Message { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Sender #[serde(default)] #[cfg_attr( @@ -12103,6 +12270,7 @@ impl Message { recipients: None, record_id: None, retrieved_at: None, + risk_source: None, sender: Vec::new(), sender_account: None, source_url: None, @@ -12361,6 +12529,13 @@ pub struct Note { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -12441,6 +12616,7 @@ impl Note { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, topics: None, @@ -12960,6 +13136,13 @@ pub struct Organization { builder(with = |value:impl Into|vec![value.into()]) )] pub okpo_code: Option>, + ///Property: OKVED + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub okved_code: Option>, ///Property: OpenCorporates URL #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -13044,6 +13227,13 @@ pub struct Organization { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Sayari Entity ID #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -13199,6 +13389,7 @@ impl Organization { npi_code: None, ogrn_code: None, okpo_code: None, + okved_code: None, opencorporates_url: None, parent: None, perm_id: None, @@ -13211,6 +13402,7 @@ impl Organization { publisher_url: None, registration_number: None, retrieved_at: None, + risk_source: None, sayari_id: None, sector: None, source_url: None, @@ -13862,6 +14054,13 @@ pub struct Package { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -13983,6 +14182,7 @@ impl Package { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -14483,6 +14683,13 @@ pub struct Pages { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -14605,6 +14812,7 @@ impl Pages { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -15225,6 +15433,13 @@ pub struct Person { builder(with = |value:impl Into|vec![value.into()]) )] pub appearance: Option>, + ///Property: Biography + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub biography: Option>, ///Property: Country of birth #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -15541,6 +15756,13 @@ pub struct Person { builder(with = |value:impl Into|vec![value.into()]) )] pub okpo_code: Option>, + ///Property: OKVED + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub okved_code: Option>, ///Property: OpenCorporates URL #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -15653,6 +15875,13 @@ pub struct Person { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Sayari Entity ID #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -15815,6 +16044,7 @@ impl Person { aleph_url: None, alias: None, appearance: None, + biography: None, birth_country: None, birth_date: None, birth_place: None, @@ -15860,6 +16090,7 @@ impl Person { npi_code: None, ogrn_code: None, okpo_code: None, + okved_code: None, opencorporates_url: None, parent: None, passport_number: None, @@ -15876,6 +16107,7 @@ impl Person { registration_number: None, religion: None, retrieved_at: None, + risk_source: None, sayari_id: None, second_name: None, sector: None, @@ -16282,6 +16514,13 @@ pub struct PlainText { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -16403,6 +16642,7 @@ impl PlainText { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -16608,6 +16848,13 @@ pub struct Position { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -16688,6 +16935,7 @@ impl Position { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, subnational_area: None, summary: None, @@ -16942,6 +17190,13 @@ pub struct Project { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -17036,6 +17291,7 @@ impl Project { publisher_url: None, record_id: None, retrieved_at: None, + risk_source: None, source_url: None, start_date: None, status: None, @@ -17517,6 +17773,13 @@ pub struct PublicBody { builder(with = |value:impl Into|vec![value.into()]) )] pub okpo_code: Option>, + ///Property: OKVED + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub okved_code: Option>, ///Property: OpenCorporates URL #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -17601,6 +17864,13 @@ pub struct PublicBody { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Sayari Entity ID #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -17756,6 +18026,7 @@ impl PublicBody { npi_code: None, ogrn_code: None, okpo_code: None, + okved_code: None, opencorporates_url: None, parent: None, perm_id: None, @@ -17768,6 +18039,7 @@ impl PublicBody { publisher_url: None, registration_number: None, retrieved_at: None, + risk_source: None, sayari_id: None, sector: None, source_url: None, @@ -18062,6 +18334,13 @@ pub struct RealEstate { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -18160,6 +18439,7 @@ impl RealEstate { publisher_url: None, registration_number: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, tenure: None, @@ -19102,6 +19382,13 @@ pub struct Security { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -19197,6 +19484,7 @@ impl Security { publisher_url: None, registration_number: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, ticker: None, @@ -19877,6 +20165,13 @@ pub struct Table { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Number of rows #[serde( skip_serializing_if = "Option::is_none", @@ -20008,6 +20303,7 @@ impl Table { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, row_count: None, source_url: None, summary: None, @@ -20537,6 +20833,13 @@ pub struct Trip { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -20645,6 +20948,7 @@ impl Trip { publisher_url: None, record_id: None, retrieved_at: None, + risk_source: None, source_url: None, start_date: None, start_location: Vec::new(), @@ -21050,6 +21354,13 @@ pub struct UserAccount { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Service #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -21138,6 +21449,7 @@ impl UserAccount { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, service: None, source_url: None, summary: None, @@ -21393,6 +21705,13 @@ pub struct Vehicle { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -21480,6 +21799,7 @@ impl Vehicle { registration_date: None, registration_number: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, topics: None, @@ -21820,6 +22140,13 @@ pub struct Vessel { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -21927,6 +22254,7 @@ impl Vessel { registration_number: None, registration_port: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, tonnage: None, @@ -22328,6 +22656,13 @@ pub struct Video { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -22450,6 +22785,7 @@ impl Video { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, @@ -22844,6 +23180,13 @@ pub struct Workbook { builder(with = |value:impl Into|vec![value.into()]) )] pub retrieved_at: Option>, + ///Property: Risk source + #[serde(skip_serializing_if = "Option::is_none")] + #[cfg_attr( + feature = "builder", + builder(with = |value:impl Into|vec![value.into()]) + )] + pub risk_source: Option>, ///Property: Source link #[serde(skip_serializing_if = "Option::is_none")] #[cfg_attr( @@ -22965,6 +23308,7 @@ impl Workbook { publisher: None, publisher_url: None, retrieved_at: None, + risk_source: None, source_url: None, summary: None, title: None, diff --git a/src/generated/trait_impls.rs b/src/generated/trait_impls.rs index 851eca1..968d359 100644 --- a/src/generated/trait_impls.rs +++ b/src/generated/trait_impls.rs @@ -65,6 +65,9 @@ impl Thing for Address { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -148,6 +151,9 @@ impl Thing for Airplane { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -289,6 +295,9 @@ impl Thing for Article { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -372,6 +381,9 @@ impl Thing for Asset { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -566,6 +578,9 @@ impl Thing for Audio { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -649,6 +664,9 @@ impl Thing for BankAccount { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -858,6 +876,9 @@ impl Thing for CallForTenders { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -941,6 +962,9 @@ impl Thing for Company { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -1044,6 +1068,9 @@ impl Thing for Contract { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -1234,6 +1261,9 @@ impl Thing for CourtCase { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -1384,6 +1414,9 @@ impl Thing for CryptoWallet { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -1665,6 +1698,9 @@ impl Thing for Document { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -1906,6 +1942,9 @@ impl Thing for Email { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -2147,6 +2186,9 @@ impl Thing for Event { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -2321,6 +2363,9 @@ impl Thing for Folder { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -2442,6 +2487,9 @@ impl Thing for HyperText { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -2616,6 +2664,9 @@ impl Thing for Image { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -2699,6 +2750,9 @@ impl Thing for LegalEntity { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -2782,6 +2836,9 @@ impl Thing for License { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -3043,6 +3100,9 @@ impl Thing for Message { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -3164,6 +3224,9 @@ impl Thing for Note { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -3300,6 +3363,9 @@ impl Thing for Organization { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -3488,6 +3554,9 @@ impl Thing for Package { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -3609,6 +3678,9 @@ impl Thing for Pages { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -3818,6 +3890,9 @@ impl Thing for Person { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -3939,6 +4014,9 @@ impl Thing for PlainText { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -4022,6 +4100,9 @@ impl Thing for Position { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -4158,6 +4239,9 @@ impl Thing for Project { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -4328,6 +4412,9 @@ impl Thing for PublicBody { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -4411,6 +4498,9 @@ impl Thing for RealEstate { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -4687,6 +4777,9 @@ impl Thing for Security { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -4895,6 +4988,9 @@ impl Thing for Table { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -5122,6 +5218,9 @@ impl Thing for Trip { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -5272,6 +5371,9 @@ impl Thing for UserAccount { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -5355,6 +5457,9 @@ impl Thing for Vehicle { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -5458,6 +5563,9 @@ impl Thing for Vessel { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -5599,6 +5707,9 @@ impl Thing for Video { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } @@ -5720,6 +5831,9 @@ impl Thing for Workbook { fn retrieved_at(&self) -> Option<&[String]> { self.retrieved_at.as_deref() } + fn risk_source(&self) -> Option<&[String]> { + self.risk_source.as_deref() + } fn source_url(&self) -> Option<&[String]> { self.source_url.as_deref() } diff --git a/src/generated/traits.rs b/src/generated/traits.rs index d422b70..7d6702d 100644 --- a/src/generated/traits.rs +++ b/src/generated/traits.rs @@ -122,6 +122,8 @@ pub trait Thing { fn publisher_url(&self) -> Option<&[String]>; ///Get Retrieved on property fn retrieved_at(&self) -> Option<&[String]>; + ///Get Risk source property + fn risk_source(&self) -> Option<&[String]>; ///Get Source link property fn source_url(&self) -> Option<&[String]>; ///Get Summary property