Developing database schemas for Spring 2022 release #43
Replies: 3 comments 4 replies
-
I have a number of revisions to our current schema plans I'd like to suggest: General- Better leveraging of TypeScript via type aliases instead of raw primitives for properties type classLevel = "Undergraduate" | "Graduate" I believe this would make our internal API infrastructure more coherent and strongly-typed later on, actually taking advantage of the fact that we're using TypeScript over raw JS. Courses
Collections
Sections
Professors
|
Beta Was this translation helpful? Give feedback.
-
I would like to bring up some things I noticed were potentially lacking in our schema while initially implementing the kickoff demo. A good way to illustrate the possible shortcomings of the current schema is the course CS 2305 (Discrete Math I). From the coursebook: "ALEKS score required or MATH 2312 with a grade of C or better or (Data Science major and MATH 2413). (Same as CE 2305)". This will be referenced in points 1-4.
|
Beta Was this translation helpful? Give feedback.
-
Given the need to handle minimum grades for prerequisites, I have designed a solution as an addition to the collection schema. I came to this solution because it is relatively non-invasive (easily ignored by end-users of this API if they don't want to worry about it) but still relatively robust from how I'm looking at it right now at least. I propose we add a field I saw Charlie's comment on the unique PHYS 3416 pre-req grades situation, but that seems to be something that should be handled in the test/exam schema rather than the collections schema since that policy is only apparent on the AP credit page. Please give your feedback on this idea as I'd like to hear other approaches or critiques. |
Beta Was this translation helpful? Give feedback.
-
As we prepare for the internal release of the API, we need to finalize our schemas in order to enable other projects to give other projects an adequate amount of time to integrate with our data before the March 21, 2022 release. With this in mind, I would like for our schemas to be completed by March 1, 2022.
I recommend consulting CourseBook, Galaxy, and the UTD Website for ideas.
Please use the space below to discuss how you think we should design our schemas. I will be actively updating this post with the current revisions of our schemas as they come to fruition below.
Beta Was this translation helpful? Give feedback.
All reactions