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
| Property | Description |
|---|---|
id | Unique identifier on the platform |
name | Official name |
externalId | Identifier in the external system the organization was imported from |
joinKey | Key used to match the organization across systems |
source | Where the data came from: the name of the provisioning feed, or manual creation |
feederName | Name given by the import |
type | Kind of organization |
contract | Legal status, such as public or private |
address, zipCode, city | Postal address |
phone, email | Contact details |
UAI | Official registration code of the organization, where the education system defines one |
SIRET | Company registration number, where applicable |
academy | Regional authority the organization reports to |
ministry | Supervising ministry |
groups | Groups and classes attached to the structure |
levelsOfEducation | Levels the organization covers |
ignoreMFA | Whether multi-factor authentication can be skipped for this organization |
hasApp | Whether the organization has applications of its own |
checksum | Fingerprint of the imported data, used to detect changes |
created, modified | Creation 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"
}
]
}