Calendars (Georgia 3.6.1)

This entity represents a set of dates associated with an organization.

Object Triggering Logic

This table describes logic for triggering syncing of this object.

ActionTrigger
Post

A Calendars record is created for each Calendar/Schedule Structure combination.

  • When a new Calendar and Schedule Structure is created and saved via the Calendar Wizard.
  • When a new Schedule Structure in an existing Calendar is created and saved.
  • Do not send a record if the Calendars resource is toggled 'OFF' in the Calendars Resource Preferences.

Post/Delete Put

A Post/Delete will occur when the natural key is changed. A Put will occur otherwise.

When the following fields on Calendar are changed:

  • Calendar ID (New Calendar)
  • Schedule Structure ID (New Schedule Structure)
  • Type
DeleteIf a calendar and/or schedule structure is deleted.
Delete/PostDelete if a 2nd Schedule Structure is added after 1st Calendar is sent.

School Exclude, Calendar Exclude, Resource Toggle and Resync Logic

This table describes the School Exclude, Calendar Exclude, Resource Toggle and Resync logic of this object.

ActionTrigger
NoneNo data will send if the School or Calendar is marked as Exclude.
DeleteIf the Calendar is marked as exclude after the Calendar or any dependent data is sent, the calendar and all dependent data will delete upon a resync even if the resource is toggled 'OFF'.
NoneIf a resource is toggled to 'OFF' after data has sent, all sent data will remain in the ODS but no new data will send.
ResyncIf a Calendar record is in the Ed-Fi Identity Mapping table and not in the ODS, it will be deleted from the Ed-Fi Identity Mapping table.
ResyncIf a Calendar record is in the ODS and it does not have a matching record in Campus or the Ed-Fi Identity Mapping table, it will be deleted from the ODS.
ResyncIf a mapping is changed in Resource Preferences, a resync will need to be done to reflect the changes.

Natural Key Changes, Cascading Updates, and Deletes Logic

This table describes the Natural Key Changes/Cascading Updates and Deletes logic of this object.

ActionTrigger
Post/Delete

Natural Key change:  If a 2nd schedule structure is added after data is sent, the first Calendar record will need to be Deleted/Posted with new Calendar Code logic to be Calendar ID + Schedule Structure ID.

  • If a calendar or schedule structure is moved via script, all data send to the ODS will remain and the Delete tool will need to be used to remove all data sent.

  • If the School ID changes, a delete/post will occur with the cascading deletes from the School ID change triggers.

Scope Year Logic

This table describes scope year logic of this object.

Logic

Calendars only send for the school year to which they are aligned.

  • Data only sends for years with valid configuration.
  • A resync must be completed on the resource when a new scope year is connected in order for this data to send.

Resource Preferences

This table describes the Resource Preferences of this object.

Data Element LabelMapping Needed
calendarTypeDescriptorcalendar.type
gradeLevelDescriptorUses the overall 'Grade Levels' mapping

Identity Mapping Object Key

This table describes the Identity Mapping Object Key of this object.

campusObjectTypeObject Key Data Source
ScheduleStructurestructureID

Event Queue Detail

This table describes the Event Queue Detail of this object.

Campus TableEd-Fi ActionFields
calendarPost/Put/DeleteThe primary table used for sending data for this resource.
gradelevelPutWill update the Grade Levels field if a grade level is added/removed to the school and a mapping exists for that grade level.

Error Log

ErrorPossible Causes/How to Fix
403 Forbidden:

{"message": "Access to the resource could not be authorized for the requested action 'http://ed-fi.org/odsapi/actions/create'."}

This is usually caused by a security set up error in the ODS. Contact the Ed-Fi Alliance for assistant on correct security setup in the ODS.
Error code return from Ed-Fi. 400: [message:Validation of 'Calendar' failed.  CalendarTypeDescriptorId is required. ].The Type field is not selected on the Calendar that is being sent or the Type selected on the Calendar is not mapped to an Ed-Fi Code in Resource Preferences.

Object Data Elements

This table describes data elements sent within the Calendars resource.

Data Element LabelBusiness Requirement and Business RulesM, C or O

Data Source GUI Path

Database Field
idThe unique identifier of the resource.M

Calendar Code

The identifier for the Calendar.


  1. If there is only 1 schedule structure associated with the calendar, only report the Calendar ID
  2. If there is more than 1 schedule structure associated with calendar, report the Calendar ID + Schedule Structure ID
    1. Reports the Calendar ID-Structure ID
      1. Report a dash between the two numbers
M

System Administration> Calendar> Calendar

+

System Administration> Calendar> Calendar> Schedule Structure



calendar.calendarID + schedulestructure.structureID

SchoolReferenceA reference to the related School resource.

Reports the fields that are part of the Natural Key for the Schools resource.
MSystem Administration> Resources> School
SchoolYearType
Reference
A reference to the related School Year resource.

Reports the End Year with which the calendar is associated.
M

calendarTypeDescriptorIndicates the type of Calendar.
Reports the Ed-Fi Code the Calendar Type is mapped to in Calendar Resource Preferences
  1. If the Type is not selected on the Calendar or not mapped, an error will occur.
MSystem Administration> Calendar> Calendar> Typecalendar.type
gradeLevelsIndicates the GradeLevel associated with the Calendar.

This is optional, do not report.
O


Type/Descriptor

Click here to expand...

Calendar Type Descriptor
Code ValueDescriptionNamespaceShort Description
SchoolSchooluri://gadoe.org/CalendarTypeDescriptorSchool
StaffStaffuri://gadoe.org/CalendarTypeDescriptorStaff

Grade Level Descriptor
Code ValueDescriptionNamespaceShort Description
PKPre-Kindergartenuri://gadoe.org/GradeLevelDescriptorPre-Kindergarten
UKUnderage Kindergartenuri://gadoe.org/GradeLevelDescriptorUnderage Kindergarten
KKKindergartenuri://gadoe.org/GradeLevelDescriptorKindergarten
U1Underage Grade 1uri://gadoe.org/GradeLevelDescriptorUnderage Grade 1
1Grade 1uri://gadoe.org/GradeLevelDescriptorGrade 1
2Grade 2uri://gadoe.org/GradeLevelDescriptorGrade 2
3Grade 3uri://gadoe.org/GradeLevelDescriptorGrade 3
4Grade 4uri://gadoe.org/GradeLevelDescriptorGrade 4
5Grade 5uri://gadoe.org/GradeLevelDescriptorGrade 5
6Grade 6uri://gadoe.org/GradeLevelDescriptorGrade 6
7Grade 7uri://gadoe.org/GradeLevelDescriptorGrade 7
8Grade 8uri://gadoe.org/GradeLevelDescriptorGrade 8
9Grade 9uri://gadoe.org/GradeLevelDescriptorGrade 9
10Grade 10uri://gadoe.org/GradeLevelDescriptorGrade 10
11Grade 11uri://gadoe.org/GradeLevelDescriptorGrade 11
12Grade 12uri://gadoe.org/GradeLevelDescriptorGrade 12