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)
LLM (this repo) · 1

Related languages

JML (0.43)Forge (0.40)LookML (0.39)SmPL (0.39)BitML (0.38)

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
code.sdm · added: 2026-03-12T10:00:00Z
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

Contribute — propose a file extension

Tell us where to find evidence about SDML (mapped to pl/sdml). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/SDML/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← sdlbasic sdms →