Skip to content

Commit 375cec7

Browse files
committed
Add image credit.
1 parent 4f6ac42 commit 375cec7

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

followthemoney/schema/Image.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
Image:
2+
# This schema defines an image file entity within the FollowTheMoney data model.
3+
# If a `checksum` property is present, consider loading it from an Aleph archive
4+
# or FtM data lake. Otherwise, use `sourceUrl` to fetch the image directly.
25
extends:
36
- Document
47
label: Image
@@ -23,3 +26,7 @@ Image:
2326
label: "Images"
2427
type: entity
2528
range: Person
29+
credit:
30+
label: "Credit"
31+
description: "The credit or attribution for the image."
32+
type: string

java/src/main/resources/defaultModel.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3168,6 +3168,14 @@
31683168
"label": "Image",
31693169
"plural": "Images",
31703170
"properties": {
3171+
"credit": {
3172+
"description": "The credit or attribution for the image.",
3173+
"label": "Credit",
3174+
"maxLength": 1024,
3175+
"name": "credit",
3176+
"qname": "Image:credit",
3177+
"type": "string"
3178+
},
31713179
"pictured": {
31723180
"label": "Pictured",
31733181
"matchable": true,

js/src/defaultModel.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3168,6 +3168,14 @@
31683168
"label": "Image",
31693169
"plural": "Images",
31703170
"properties": {
3171+
"credit": {
3172+
"description": "The credit or attribution for the image.",
3173+
"label": "Credit",
3174+
"maxLength": 1024,
3175+
"name": "credit",
3176+
"qname": "Image:credit",
3177+
"type": "string"
3178+
},
31713179
"pictured": {
31723180
"label": "Pictured",
31733181
"matchable": true,

0 commit comments

Comments
 (0)