Skip to content

Commit

Permalink
mark some properties as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Jan 9, 2025
1 parent 7bcda79 commit a14681c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 4 deletions.
5 changes: 3 additions & 2 deletions followthemoney/schema/Company.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ Company:
label: "MBS"
type: identifier
ibcRuc:
label: "ibcRUC"
type: identifier
# TODO: Remove this. It's a column name in the ICIJ-released OffshoreLeaks datasets
# but seems to just mean "company number".
deprecated: true
label: "ibcRUC"
type: identifier
caemCode:
label: "COD CAEM"
description: "(RO) What kind of activity a legal entity is allowed to develop"
Expand Down
2 changes: 2 additions & 0 deletions followthemoney/schema/LegalEntity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ LegalEntity:
format: bic
maxLength: 16
parent:
# Use `Ownership` link instead.
deprecated: true
label: "Parent company"
description: "If this entity is a subsidiary, another entity (company or organisation) is its parent"
reverse:
Expand Down
1 change: 1 addition & 0 deletions followthemoney/schema/Ownership.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ Ownership:
label: "Legal basis"
ownershipType:
label: "Type of ownership"
# e.g. "beneficial", "direct", "indirect", "ultimate"
1 change: 1 addition & 0 deletions followthemoney/schema/Security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Security:
label: "Issuer"
type: entity
range: LegalEntity
# FIXME: Should this be `Organization`?
reverse:
label: "Issued securities"
name: securities
Expand Down
2 changes: 2 additions & 0 deletions followthemoney/schema/Vehicle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Vehicle:
model:
label: Model
owner:
# Use `Ownership` link instead.
deprecated: true
label: Owner
type: entity
range: LegalEntity
Expand Down
1 change: 1 addition & 0 deletions followthemoney/schema/Vessel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Vessel:
label: Navigation Area
tonnage:
label: Tonnage
type: number
grossRegisteredTonnage:
label: Gross Registered Tonnage
type: number
Expand Down
7 changes: 5 additions & 2 deletions js/src/defaultModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,7 @@
"type": "string"
},
"ibcRuc": {
"deprecated": true,
"label": "ibcRUC",
"matchable": true,
"maxLength": 64,
Expand Down Expand Up @@ -3702,6 +3703,7 @@
"type": "entity"
},
"parent": {
"deprecated": true,
"description": "If this entity is a subsidiary, another entity (company or organisation) is its parent",
"label": "Parent company",
"matchable": true,
Expand Down Expand Up @@ -6878,6 +6880,7 @@
"type": "entity"
},
"owner": {
"deprecated": true,
"label": "Owner",
"matchable": true,
"maxLength": 200,
Expand Down Expand Up @@ -7044,10 +7047,10 @@
},
"tonnage": {
"label": "Tonnage",
"maxLength": 1024,
"maxLength": 250,
"name": "tonnage",
"qname": "Vessel:tonnage",
"type": "string"
"type": "number"
}
},
"required": [
Expand Down

0 comments on commit a14681c

Please sign in to comment.