Skip to content

Data Model

Overview of Artland’s entity relationships and data structures.

Gallery ──┬── Artworks
├── Artists (represented)
└── Events
Artist ──── Artworks (own)
└── Events
Artwork ── Artist (auto-linked)
└── Gallery (auto-linked)
Event ──── Gallery or Artist (owner)
EntityDescriptionKey Identifier
GalleryArt galleryslug
ArtistArtistslug (normalized from name)
ArtworkPhysical or digital artworksource_fingerprint
EventExhibition, opening, talk, workshopnormalized_slug
FieldTypeDescription
idintegerAuto-incremented ID
titlestringArtwork title
creation_yearnumberYear of creation
mediumstringMedium (e.g., “Oil on canvas”)
dimensionsstringPhysical dimensions
pricenumberPrice as integer
currencystringISO currency code
availabilitystringavailable, sold, reserved
descriptionstringArtwork description
image_urlstringPermanent image URL
external_urlstringLink to artwork on your site
artist_namestringResolved and linked to artist entity
source_fingerprintstringSHA-256 dedup hash
last_synced_attimestampLast sync time
FieldTypeDescription
idintegerAuto-incremented ID
namestringFull name
slugstringURL-safe normalized name
nationalitystringCountry of origin
birth_yearnumberYear of birth
biographystringArtist bio
external_urlstringArtist website
FieldTypeDescription
idintegerAuto-incremented ID
titlestringEvent title
slugstringURL-safe normalized title
event_typestringexhibition, opening, talk, workshop, other
descriptionstringEvent description
location_citystringCity
location_countrystringISO country code
start_datedateISO date
end_datedateISO date
external_urlstringEvent page URL
image_urlstringHero image URL
ical_urlstringCalendar feed URL
RelationshipDescription
gallery_artistsLinks galleries to their represented artists
artwork → artistArtwork is by an artist (auto-linked via artist_name)
artwork → galleryArtwork belongs to a gallery (auto-linked via API key entity)
event → galleryEvent is hosted by a gallery
event → artistEvent is hosted by an artist
EntityKeyAlgorithm
GalleryslugNormalized from name
ArtistslugNormalized from name
Artworksource_fingerprintSHA-256(artist_slug + title + year)
Eventnormalized_slugFrom title + gallery_id

When API writes arrive, the system automatically creates relationship records. See API Overview for the full auto-linking matrix.