module rentals is
;; This is actually a US VIN
import cids:VehicleIdentificationNumber
import xml
@xml:base = <https://example.org/v/rentals>
@dc:version = 2
entity Class
entity Vehicle is
@skos:prefLabel = "Vehicle"@en
identity vin -> VehicleIdentificationNumber
ref rentalClass -> {1} Class
end
entity Location
entity Customer
entity Booking is
identity bookingCode -> unknown
ref bookingClass -> {1} Class
ref vehicle -> {0..1} Vehicle
ref from -> Location
ref customer -> {1} Customer
end
end