diff --git a/followthemoney/schema/Trip.yaml b/followthemoney/schema/Trip.yaml new file mode 100644 index 000000000..3cb5d5481 --- /dev/null +++ b/followthemoney/schema/Trip.yaml @@ -0,0 +1,44 @@ +Trip: + label: "Trip" + plural: "Trips" + extends: + - Event + matchable: false + caption: + - startLocation + - endLocation + - vehicle + - startDate + - endDate + required: + - name + - startLocation + - endLocation + featured: + - startLocation + - endLocation + - vehicle + - startDate + - endDate + properties: + startLocation: + label: "Start location" + type: entity + range: Address + reverse: + name: tripsDeparting + label: "Trips departing" + endLocation: + label: "End location" + type: entity + range: Address + reverse: + name: tripsIncoming + label: "Trips incoming" + vehicle: + label: "Vehicle" + type: entity + range: Vehicle + reverse: + name: tripsInvolved + label: "Trips"