This version contains the switch to use YAML 2.1 and contains breaking changes. This is planned to be released 2022-10-31.
Changes
- https://api.ist.com/ss12000v2-api/ will point to new YAML for 2.1 SS12000
- New set of duty codes now pointing to 19 roles instead of previous 6. We will still keep logic for the 2 roles that are depricated (Övrig pedagogisk personal, förskolechef). The complete logic for which role each SCB code is translated to can be read under articles.
-
Extens version of duties only relies on name and therefore the check for those roles have been increased by following naming logic:
- it checks if the name on the duty contains "förskolerektor" or "förskolechef" then they are returned as "Förskolechef"
- it checks if the name contains the word (biträdande + rektor) or Skolledare or planerare then it returns Övrig arbetsledning
- it checks if the name contains the word "rektor" then they are returned as "Rektor"
- It checks if the name contains "förskollärare" then it returns "Förskollärare"
- it checks if the name contains "förstelärare" then it returns förstelärare
- it checks if the name contains "speciallärare" or "specialpedagog" then it returns "Speciallärare/specialpedagog"
- it checks if the name contains "lärare" then it returns "Lärare"
- it checks if the name contins "lärarassistent" then it returns "Lärarassistent"
- it checks if the name contains "fritidspedagog" then it returns "Fritidspedagog"
- it checks if the name contains "barnskötare" then it returns "Barnskötare"
- it checks if the name contains "pedagog" then it returns "Övrig pedagogisk personal"
- it checks if the name contains "kurator" then it returns kurator
- it checks if the name contains "skolpsykolog" then it returns "Skolpsykolog"
- it checks if the name contains "skolsköterska" then it returns "Skolsköterska"
- it checks if the name contains "skolläkare" then it returns "Skolläkare"
- it checks if the name contains "studievägledare" then it returns "Studie-och yrkesvägledare"
- it checks if the name contains "skoladministratör" then it returns "Skoladministratör"
- it checks if the name contains "Bibliotekarie" then it returns "Bibliotekarie"
- If no code or name was found they are returned as "Annan personal"
-
Previously the enums for reason was "omsorg", this have now been changed to "omsorgsbehov"
-
Previously the enums for schooltype was "komvux", this has now been changed to "vux"
-
Previously under the endpoint grades we used a attribute called Schoolunit, this according to the Yaml is incorrect. According to the documentation the value should be named Organisation but return the value of a schoolunit. Now we have changed this attribute to be named "organisation" and it still returns the schoolunit for the grade.
-
At the previous YAML at the endpoint /syllabus the attribute for titleEnglish was misspelled as titleEngish, this has now been updated
New features
- We have added support to display organisation address.
Corrections
- In Extens version of SS12000 minutes planned on activities previously occurred as a String instead of integer. This has now been fixed so it returns an integer.
Additional information
- registeredBy under the endpoint /grades is now returning a default value since the value is not possible to be be acquired from IST Administration.
- 2