SDML
1 program
Added 2026-03-12T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Semantic Data Modeling Language
Provenance: commit 6b64dfd7a1 · authored 2026-03-12T13:17:24+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Vehicle Rental Domain Model
Provenance: commit 6b64dfd7a1 · authored 2026-03-12T13:17:24+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
module rentals is
import [ dc xsd owl ]
@dc:description = "A simple vehicle rental domain model"
structure Vehicle is
@dc:description = "A rentable vehicle"
make -> xsd:string
model -> xsd:string
year -> xsd:integer
plateNumber -> xsd:string
dailyRate -> xsd:decimal
end
structure Customer is
@dc:description = "A person who rents vehicles"
fullName -> xsd:string
email -> xsd:string
licenseNumber -> xsd:string
end
structure Rental is
@dc:description = "A rental agreement between a customer and a vehicle"
vehicle -> Vehicle
customer -> Customer
startDate -> xsd:date
endDate -> xsd:date
totalCost -> {0..1} xsd:decimal
end
enum RentalStatus of
@dc:description = "Possible states for a rental"
Pending
Active
Completed
Cancelled
end
end