Skip to main content

Organizations

An organization is stored as a Structure node: a school, a campus, a training center, a business unit or an administrative body.

  • A class belongs to a structure (BELONGS).
  • A structure can be the parent of another (HAS_ATTACHMENT). The hierarchy is how organizations are grouped, for example by region or by network.

Properties​

PropertyDescription
idUnique identifier on the platform
nameOfficial name
externalIdIdentifier in the external system the organization was imported from
joinKeyKey used to match the organization across systems
sourceWhere the data came from: the name of the provisioning feed, or manual creation
feederNameName given by the import
typeKind of organization
contractLegal status, such as public or private
address, zipCode, cityPostal address
phone, emailContact details
UAIOfficial registration code of the organization, where the education system defines one
SIRETCompany registration number, where applicable
academyRegional authority the organization reports to
ministrySupervising ministry
groupsGroups and classes attached to the structure
levelsOfEducationLevels the organization covers
ignoreMFAWhether multi-factor authentication can be skipped for this organization
hasAppWhether the organization has applications of its own
checksumFingerprint of the imported data, used to detect changes
created, modifiedCreation and last modification dates

Finding a structure​

MATCH (u:Structure { id: $structureId }) RETURN u

Groups of a structure​

A structure has a set of groups. This creates the DEPENDS relationship between a profile group and its structure, and links the group to its profile:

:params {
structureId: 'b3380c81-e5c7-49fa-9058-a5afce4cd1ea',
profileName: 'Teacher',
profileGroupName: 'Teacher Group'
}

MATCH (s:Structure { id: $structureId })
MATCH (pg:ProfileGroup { name: $profileGroupName })
MERGE (pg)-[:DEPENDS]->(s);

MERGE (p:Profile { name: $profileName })
MERGE (pg)-[:HAS_PROFILE]->(p);

A structure with a parent​

A structure lists its parents:

{
"id": "518ffe62-a2fb-4142-8aca-f71a3faa2ea7",
"name": "Riverside School",
"externalId": "565256",
"hasApp": null,
"ignoreMFA": null,
"levelsOfEducation": [1, 2],
"distributions": [],
"manualName": null,
"feederName": "Riverside School",
"exports": null,
"parents": [
{
"name": "North District",
"id": "48cc0875-717d-49c4-bb90-a0a8fac0e98a"
}
]
}