Models #3

Open
opened 2025-01-15 15:43:47 +00:00 by aonrud · 0 comments
Owner

A central list of Django models.

Core

  • Item - a general archive item
  • ItemType - document, poster etc.
  • Note - attach to any model
  • Identifier - ISBN, VIAF, etc.
  • IdentifierType
  • Errata

Images

Possibly replace; see #5

  • Image
  • ImageUse - generic linking type, allowing addition of "role"

Organisations

  • Organisation
  • OrganisationType
  • OrganisationRelationship
  • RelationshipType - e.g. "other name", "tendency" etc.

Places

  • Place (needed for Org. locations)

Periodicals

  • Periodical
  • Tagline
  • PeriodicalRelationship - for name changes etc. Possibly needs a type?
  • PublicationGaps - separate dependent model with date range and FK for known gaps in publication years.

People

  • Person
  • PersonRole - author, editor, etc.
  • ItemPersonRole - intermediate model for associating with Items

Linking dependent entries, e.g. pseudonyms, depends on #12.

Collections, Articles, Subjects

There may be some conceptual overlap in these. Consider remodelling. See #9, #4

  • Collection
  • Article
  • Subject

CLR

  • CLRPage - one to one linked model to store the URL

Transition

  • TransitionData - store v1 IDs to allow for redirects

Timeline

  • TimelineItem - Active: bool, Group: TimelineGroup, row: int
  • TimelineGroups - group names

Metadata

What needs custom modelling, and what can be derived from existing fields? See #11

  • Metadata

Resources

  • Resource - i.e. other archives, websites
  • ResourceType

Calendar

Refactor depending on media management. See #15; blocked by #5.

  • Calendar

Carry over the linked items for external links on org., periodical etc. models?

A central list of Django models. ## Core - [x] Item - a general archive item - [x] ItemType - document, poster etc. - [x] Note - attach to any model - [x] Identifier - ISBN, VIAF, etc. - [x] IdentifierType - [x] Errata ## Images Possibly replace; see #5 - [x] Image - [x] ImageUse - generic linking type, allowing addition of "role" ## Organisations - [x] Organisation - [x] OrganisationType - [x] OrganisationRelationship - [x] RelationshipType - e.g. "other name", "tendency" etc. ## Places - [x] Place (needed for Org. locations) ## Periodicals - [x] Periodical - [x] Tagline - [x] PeriodicalRelationship - for name changes etc. Possibly needs a type? - [x] PublicationGaps - separate dependent model with date range and FK for known gaps in publication years. ## People - [x] Person - [x] PersonRole - author, editor, etc. - [x] ItemPersonRole - intermediate model for associating with Items Linking dependent entries, e.g. pseudonyms, depends on #12. ## Collections, Articles, Subjects There may be some conceptual overlap in these. Consider remodelling. See #9, #4 - [ ] Collection - [ ] Article - [ ] Subject ## CLR - [x] CLRPage - one to one linked model to store the URL ## Transition - [x] TransitionData - store v1 IDs to allow for redirects ## Timeline - [x] TimelineItem - Active: bool, Group: TimelineGroup, row: int - [x] TimelineGroups - group names ## Metadata What needs custom modelling, and what can be derived from existing fields? See #11 - [ ] Metadata ## Resources - [x] Resource - i.e. other archives, websites - [x] ResourceType ## Calendar Refactor depending on media management. See #15; blocked by #5. - [ ] Calendar Carry over the linked items for external links on org., periodical etc. models?
aonrud changed title from Models to Core Models 2025-01-17 16:23:56 +00:00
aonrud changed title from Core Models to Models 2025-01-17 18:03:20 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
#5 Media management
Irish-Left-Archive/ILAv2
#9 Subjects
Irish-Left-Archive/ILAv2
#11 Metadata options
Irish-Left-Archive/ILAv2
#15 Calendar
Irish-Left-Archive/ILAv2
Reference: Irish-Left-Archive/ILAv2#3
No description provided.