This entity represents a set of dates associated with an organization.
Object Triggering Logic
This table describes logic for triggering syncing of this object.
Action | Trigger |
---|---|
Post | A Calendars record will be created for each Calendar/Schedule Structure combination.
|
Put | When fields that are not part of the natural key are changed.
|
Delete | If a calendar and/or schedule structure is deleted.
|
Delete/Post | Delete 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.
Action | Trigger |
---|---|
None | No data will send if the School or Calendar is marked as Exclude. |
Delete | If 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'. |
None | If a resource is toggled to 'OFF' after data has sent, all sent data will remain in the ODS but no new data will send. |
Resync | If 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. |
Resync | If 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. |
Resync | If 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.
Action | Trigger |
---|---|
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.
|
Scope Year Logic
This table describes scope year logic of this object.
Logic |
---|
Calendars will only send for the school year to which they are aligned.
|
Resource Preferences
This table describes the Resource Preferences of this object.
Data Element Label | Mapping Needed |
---|---|
calendarTypeDescriptor | calendar.type |
gradeLevelDescriptor | Uses the overall 'Grade Levels' mapping |
Identity Mapping Object Key
This table describes the Identity Mapping Object Key of this object.
campusObjectType | Object Key Data Source |
---|---|
ScheduleStructure | structureID |
Event Queue Detail
This table describes the Event Queue Detail of this object.
Campus Table | Ed-Fi Action | Fields |
---|---|---|
calendar | Post/Put/Delete | The primary table used for sending data for this resource. |
gradelevel | Put | Will 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
This table describes the Error logic of this object.
Error | Possible 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 Label | Business Requirement | M, C or O | Data Source GUI Path | Database Field | |
---|---|---|---|---|---|
id | The unique identifier of the resource. | M | |||
Calendar Code | The identifier for the Calendar. Report the following values, concatenated with dashes
| M | System Administration > Resources > School > District Entity ID System Administration > Resources > District Information Entity ID System Administration > Resources > School > Entity ID System Administration > Calendar > Calendar > Days Per Week System Administration > Calendar > Calendar > Schedule Structure > Structure ID | CustomSchool.value district.entityID School.entityID Calendar.daysPerWeek CustomCalendar.value ScheduleStructure.structureID | |
SchoolReference | A reference to the related School resource. Reports the fields that are part of the Natural Key | M | |||
SchoolYear TypeReference | A reference to the related School Year resource. Reports the End Year the calendar is associated. | M | |||
calendarType Descriptor | Indicates the type of Calendar. (Numeric Track Reports the Ed-Fi Code the Calendar Days Per Week i | M | System Administration > Calendar > Calendar > Calendar > Days Per Week | Calendar.daysPerWeek | |
calendarLocal Education AgencyReference | LEA Identity Column - the LEA reporting the Reports the value, if it exists.
| M | System Administration > Resources > District Information > district record > Entity ID | District.entityID | |
beginDate | Report the first day marked as Instructional tied to the calendar. | M | System Administration > Calendar > Calendar > Days > date record > Instructional | ||
endDate | Report the last day marked as Instructional tied to the calendar. | M | System Administration > Calendar > Calendar > Days > date record > Instructional | ||
totalInstructional Days | Calculate the total number of days with the "Instructional" checkbox checked, and report that value. | M | Student Information > calendar > Calendar > Day > Instructional | ||
trackLocal Education AgencyReference localEducation AgencyId | Report the value
the School editor if it's filled in; if not, report the number on the District editor. | M | Override, if it exists: System Administration > Resources > School > school record > District Entity ID System Administration > District Information > district record > Entity ID | Calendar.distrcitID School.districtEntityID | |
gradeLevels | Indicates the GradeLevel associated with the Calendar.
Do not report if the Grade Level is in a Calendar marked as Exclude. | O | System Administration> Calendar> Calendar> Grade Grade Levels | gradelevel.name |
Type/Descriptor
This table describes the Ed-Fi Value mapped and reported for Calendar Type Descriptor:
Code Value | Description | Namespace | Short Description |
---|---|---|---|
Student Specific | Student Specific | uri://ed-fi.org/CalendarTypeDescriptor | Student Specific |
IEP | IEP | uri://ed-fi.org/CalendarTypeDescriptor | IEP |