Skip to main content

Scopes

What Are Scopes?

In Xporter, scopes are like permission sets that determine what specific types of data your application can access from a school's system. Think of them as filters or keys that control what data you can see or use. Scopes are important because they make sure your app only has access to the data it needs, rather than everything the school holds, ensuring security and privacy are maintained.

When a school is invited to share its data with your app, you need to request certain scopes depending on the data your app requires. For example, if your app tracks attendance, you would request the "Attendance" scope. If it also needs assessment results, you would include the "AssessmentResults" scope. Each scope corresponds to a different set of data that Xporter can provide from the school's Management Information System (MIS).

Why Are Scopes Important?

  1. Security and Privacy: Schools only share the data that is necessary for your app, helping to protect sensitive information. This also supports compliance with regulations like GDPR, which require careful handling of personal data.

  2. Customised Access: Different apps might need different kinds of data. Scopes let each app request access only to the areas it needs. For example, an app for managing student behaviour would request different scopes than one focused on academic performance.

How Scopes Work in Practice

When a school authorises your app to access its data, the school reviews the requested scopes. They can choose to approve or reject these scopes, which gives the school control over what data is shared. Schools can also configure how they share this data by choosing specific groups (like all students, or only certain ones) or by selecting individual data fields.

Once a school agrees to share certain scopes, your app can start making requests for that data using the Xporter API. If you later decide your app needs access to more data, such as adding a new feature that requires additional information, you can ask the school to authorise new scopes. If they agree, Xporter will issue a new schoolSecret to reflect the updated data permissions.

A Practical Example

Imagine you're developing a mobile app for teachers to track student attendance. To access the attendance records, you would request the "Attendance" scope. After the school reviews and approves the request, your app will be able to pull attendance data from the school's system. However, if your app doesn't need assessment results, those won't be included in your access because they are controlled by a different scope.

In summary, scopes help control and manage what data your application can access in a simple and secure way. They ensure that only the necessary data is available to your app whilst protecting privacy.

Full list of scopes with associated fields

Scope NameCategoryDescription
AddressStudentsAccess to addresses
AgencyAgentStudents and AgentsAccess to data relating to agencies and agents. Additional scopes required depending on the agency / agent.
AgencyAgentOtherStudents and AgentsGrants access to agency and agent information that is neither medical nor social services. Could contain sensitive information.
ApplicationsStudentsAccess to applications and additional information about applicants
AssessmentResultsStudentsAccess to assessment results for students
AttendanceStudentsAccess to attendance summary and session/lesson attendance marks
CashlessStudentsCashless topups, Balances and transactions, for cashless caterers calling the SchoolMoney or WisePay API (CAPI)
ConductStudentsAccess to student behaviour and achievement records
ConductCommentsStudentsAccess to comments linked to student behaviour and achievement records
ContactContactsAccess to student parental contacts and their basic details (names, contact details)
ContactFreeTextContacts
ContactGenderContactsAccess to gender information of a parental contact
DietaryNeedsStudentsAccess to dietary needs (including allergies) of students
EmbargoedExamsResultsStudentsAccess to exam results, INCLUDING results that are embargoed for students
EmergeForWebScope used for Emerge Web Queries
EmergeViaXod(Deprecated) Xpressions via XoD
EndpointInfoSchoolAccess to Xporter agent information and school connectivity check updates
ExamsResultsStudentsAccess to exam results that aren't embargoed for students
FundingMonitoringStudentsAccess to data regarding funding and monitoring (FAM)
NHSNumberStudentsPermits extraction of NHS Number
ParentalConsentsStudentsConsent to pull list of things parents have consented to
PhotosStudents,StaffAccess to photos
Post16StudyStudentsAccess to data regarding post-16 study
SENStudentsAccess to student SEN provision information
SENEHCPStudentsAcces to student Education, Health and Care Plans
SENEventsStudentsAccess to student SEN events and their related persons
SENReviewsStudentsAccess to student SEN reviews
SENStatementsStudentsAccess to student SEN statements
SENTypesStudentsAccess to student SEN provision and specific needs
SchoolSchoolAccess to structural school information such as groups, timetable & assessment structure
SchoolLiteSchoolAccess to structural school information such as groups & headteacher contact details
SocialServicesStudentsGrants access to sensitive data relating to social services
StaffStaffAccess to basic staff details (names & work contact details)
StaffAbsenceStaffAccess to staff absence statistics and associated documents
StaffAddressStaffAccess to staff home addresses
StaffChecksStaffAccess to staff check records
StaffContractualStaffAccess to staff contractual employment information
StaffDisabilityStaffStaff disabilities
StaffEmploymentStaffAccess to basic staff employment information
StaffEthnicityStaffAccess to staff ethnicity data (Explicit authorisation required for GDPR compliance)
StaffExtendedStaffAccess to staff gender, extended name information & date of birth
StaffFinancialStaffAccess to staff financial details including salaries, allowances and payroll information
StaffFreeTextStaffAccess to free text about a staff that may contain sensitive data such as documents and comments
StaffLiteStaffAccess to basic staff details (names & work contact details)
StaffNextOfKinStaffAccess to next of kin information about staff member
StaffPersonalContactStaffAccess to staff home contact details
StaffQualificationsStaffAccess to staff qualification records
StaffReligionStaffAccess to staff religion data
StudentStudentsAccess to basic student details (names, gender and enrolment details)
StudentAlternativeProvisionStudentsAccess to information about alternative provisions for students, including some free text that relates to the provision
StudentDeceasedStudentsAccess to information related to deceased students
StudentDemographicStudentsAccess to language and language proficiency information
StudentDetentionsStudentsAccess to data relating to student detentions
StudentEthnicityStudentsAccess to student ethnicity data
StudentExclusionsStudentsAccess to student exclusions information
StudentExtendedStudentsAccess to extended student information (Additional identifiers, extended name data)
StudentFamilyStudentsAccess to details relating to student family arrangements including service child and in care flags
StudentFreeTextStudentsAccess to free text about a student that may contain sensitive data such as quick notes, documents and User Defined Fields
StudentFundingStudentsAccess to student additional funding indicators
StudentGenderIdentityAccess to sensitive gender identity information for students
StudentHistoryStudentsAccess to extended student records including historic data
StudentInterventionsEnables access to interventions and related student records
StudentLiteStudentsAccess to basic student details (names, gender)
StudentMealsStudentsAccess to student meal choices
StudentMedicalStudentsAccess to medical records relating to students
StudentPregnancyStudentsAccess to student pregnancy flags
StudentReligionStudentsAccess to student religion data
StudentSchoolHistoryStudentsAccess to student school enrolment history including previously attended establishments
ThreeYearHistoryStudents,Staff,ContactsPermits all historical data relating to persons in the three academic years previous to the current academic year
UPNStudentsAccess to student UPN and former UPN data
WritebackAssessmentWritebackWriteback assessment results and comments
WritebackAttendanceWritebackWriteback session and lesson attendance marks & comments
WritebackConductWritebackWriteback behaviour and achievements records
WritebackPhotosWritebackWriteback student, staff and contact photos to XoD