Service - Organization
Revision as of 12:28, 4 January 2026 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = A user can have many organizations, each organization has it's independant accounting. = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas == organization == <syntaxhighlight lang="JavaScript"> { objectType: "organization", canDelete: false, belongTo: { serviceTag: "user", objectType: "user" }, addOnDataStructure: [ type: "propertyValue" ], storageResources: { myGraph: { storageType: "graph", gra...")
Overview
A user can have many organizations, each organization has it's independant accounting.
Repository
...
Object Schemas
- Additional Information
- Per Service Schemas
organization
{
objectType: "organization",
canDelete: false,
belongTo: {
serviceTag: "user",
objectType: "user"
},
addOnDataStructure: [
type: "propertyValue"
],
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
fieldNames: {
organizationId: {
type: "string",
randomOnCreate: true,
storageResourceTags: ['myGraph']
},
organizationName: {
type: "string",
requiredOnCreate: true,
canUpdate: true,
userCanUpdate:true,
storageResourceTags: ['myGraph']
},
},
identifiers: [
{
type: "identifier",
fieldName: "organizationId"
}
]
}
Relationships
hasOrganization
{
hasInventoryTemplate: {
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "user",
objectType: "user"
},
linkType: "one",
},
to: {
objType: {
serviceTag: "organization",
objectType: "organization"
},
linkType: "many"
}
},
]
}
}
Addresses
- use same structure as users in Izara Market