Classification System (Klassifikasjonssystem
) is an entity used for grouping Classes (Klasse
) which are related to a single concept from the business domain of the archived data. Classification Systems and Classes are the primary means to add comprehensive labeling to folders in the archive.
Klassifikasjonssystem
.Klassifikasjonssystem
) is created/modified using the Transaction :: POST /transaction
operation.Klassifikasjonssystem
) can have multiple Classes (Klasse
) related to them.Klassifikasjonssystem
) are associated to Series (Arkivdel
) as either primary (main classifcation system) or secondary classification systems. This way Classes (Klasse
) from the Classification Systems (Klassifikasjonssystem
) can be used to lable/tag folders (Saksmappe
,Mappe
, Moetemappe
) under the Series (Arkivdel
)Following the Noark5 specification requirements and the internal implementation details the following set of data fields are present for all entities :
Field Name | Type | Noark Metadata No. | Required on Create | Value Always Available | Modifiable | Description |
---|---|---|---|---|---|---|
id |
string | unique entity identifier in the specific Documaster installation, used for referencing the entity in the API. The id for created entities is a numeric value.Default : new value generated on creation Sortable |
||||
version |
string | contains the verions of the entity, used for optimistic locking Default : sequence version number of the entity |
||||
uuid |
string | M001 | globally unique identification of the entity, an UUID value (sysemId) Default : new value generated on creation Indexed, Sortable |
|||
opprettetDato |
timestamp | M600 | date and time at which the entity was created (createdDate) Default : current date time Indexed, Sortable |
|||
opprettetAv |
string | M601 | name of the user that created the entity (createdBy) Default : logged in user name Sortable |
|||
opprettetAvBrukerIdent |
string | M601 | identifier of the user that created the entity (createdByIdent) Default : logged in user identifier Sortable |
Klassifikasjonssystem
Specific Data FieldsField Name | Type | Noark Metadata No. | Required on Create | Value Always Available | Modifiable | Description |
---|---|---|---|---|---|---|
avsluttetDato |
timestamp | M602 | date and time when the archive unit was finalized (finalizedDate) | |||
avsluttetAv |
string | M603 | name of the user who finalized the archive unit (finalizedBy) | |||
avsluttetAvBrukerIdent |
string | M603 | unique identifier of the user who finalized the archive unit (finalizedByIdent) | |||
klassifikasjonstype |
string | M086 | classification system type (classificationType) | |||
tittel |
string | M020 | title of the classification system (title) | |||
beskrivelse |
string | M021 | description of the classification system (description) |
Field Name | Referenced Entity Type | Cardinality | Link Required on Create | Reference Always Available | Modifiable | Description |
---|---|---|---|---|---|---|
refKlasse |
Klasse |
0 . . * | reference to list of Classes (Klasse ) which are under this classification system |
|||
refArkivdelSomPrimaer |
Arkivdel |
0 . . * | reference to one or more Series (Arkivdel ) for which this classification system is defined as primary |
|||
refArkivdelSomSekundaer |
Arkivdel |
0 . . * | reference to one or more Series (Arkivdel ) for which this classification system is defined as secondary |
Class (Klasse
) is an entity representing a single concept instance part of a Classification System (Klassifikasjonssystem
). Classes are classification criterias which greatly facilitates data retrieval and provides the required data structuring. Classes (Klasse
) are associated to folders (Saksmapppe
, Mappe
, Moetomappe
) or records (Journalpost
, Basisregistrering
, Moeteregistrering
) and act as labels for those entities.
Klasse
.Klasse
) is created/modified using the Transaction :: POST /transaction
operation.Klasse
) can be part of only single Classification System (Klassifikasjonssystem
).Klasse
) are uniquely identified by the klasseIdent
field, still when making changes/lining classes the id
of the class is used.Following the Noark5 specification requirements and the internal implementation details the following set of data fields are present for all entities :
Field Name | Type | Noark Metadata No. | Required on Create | Value Always Available | Modifiable | Description |
---|---|---|---|---|---|---|
id |
string | unique entity identifier in the specific Documaster installation, used for referencing the entity in the API. The id for created entities is a numeric value.Default : new value generated on creation Sortable |
||||
version |
string | contains the verions of the entity, used for optimistic locking Default : sequence version number of the entity |
||||
uuid |
string | M001 | globally unique identification of the entity, an UUID value (sysemId) Default : new value generated on creation Indexed, Sortable |
|||
opprettetDato |
timestamp | M600 | date and time at which the entity was created (createdDate) Default : current date time Indexed, Sortable |
|||
opprettetAv |
string | M601 | name of the user that created the entity (createdBy) Default : logged in user name Sortable |
|||
opprettetAvBrukerIdent |
string | M601 | identifier of the user that created the entity (createdByIdent) Default : logged in user identifier Sortable |
Klasse
Specific Data FieldsField Name | Type | Noark Metadata No. | Required on Create | Value Always Available | Modifiable | Description |
---|---|---|---|---|---|---|
avsluttetDato |
timestamp | M602 | date and time when the archive unit was finalized (finalizedDate) | |||
avsluttetAv |
string | M603 | name of the user who finalized the archive unit (finalizedBy) | |||
avsluttetAvBrukerIdent |
string | M603 | unique identifier of the user who finalized the archive unit (finalizedByIdent) | |||
klasseIdent |
string | M002 | unambiguous identification of the class within the classification system (classId) | |||
tittel |
string | M020 | title of the class (title) | |||
beskrivelse |
string | M021 | description of the class (description) | |||
kassasjonsvedtak |
string | M450 | action to be performed at the end of the preservation period (disposalDecision) Code List : kassasjonsvedtak |
|||
kassasjonshjemmel |
string | M453 | authority for disposal (disposalAuthority) Code List : kassasjonshjemmel |
|||
bevaringstid |
string | M451 | number of years for which the documents linked to the class should be preserved (retentionPeriod) | |||
skjerming |
string | M500 | indication that the documents belonging to the class are not publicly available in accordance with the Public Access to Information Act (offentlighetsloven) or for any other reason (accessRestriction) Code List : skjerming |
|||
virksomhetsspesifikkeMetadata |
object | business specific metadata object (businessSpecificMetadata) |
Field Name | Referenced Entity Type | Cardinality | Link Required on Create | Reference Always Available | Modifiable | Description |
---|---|---|---|---|---|---|
refKlassifikasjonssystem |
Klassifikasjonssystem |
1 | reference to the Classification System (Klassifikasjonssystem ) owning the Class (Klasse ) |
|||
refForelderKlasse |
Klasse |
0 . . 1 | reference to a Class (Klasse ) which is the parent of the current class, only in the case classes are defined in hierarchies |
|||
refBarnKlasse |
Klasse |
0 . . * | reference to Classes (Klasse ) which are defined under the current class, only in case classes are defined in hierarchies |
|||
refMappeSomPrimaer |
AbstraktMappe |
0 . . * | reference to one or more Folders (AbstraktMappe ) for which this class is linked to as primary |
|||
refMappeSomSekundaer |
AbstraktMappe |
0 . . * | reference to one or more Folders (AbstraktMappe ) for which this class is linked to as secondary |
|||
refRegistreringSomPrimaer |
AbstraktRegistrering |
0 . . * | reference to one or more Record (AbstraktRegistrering ) for which this class is linked to as primary |
|||
refRegistreringSomSekundaer |
AbstraktRegistrering |
0 . . * | reference to one or more Record (AbstraktRegistrering ) for which this class is linked to as secondary |
Classes (Klasse
) are created with the POST /transaction
operation. Important unique data field for the Classes (Klasse
) is klasseIdent
. The sample below also adds sample BSM (business specific metadata) values to the class.
The BSM values associated with the Class are visible in the user interface when the class linked to folder (Saksmappe
, Mappe
, etc.)
transaction::save
- new Class (Klasse
) with BSM field qsid
(Quality System ID) defined in BSM group qs1
(Quality System 1
)transaction::link
- link the new Class (Klasse
) to the existing Classification System (Klassifikasjonssystem
).As a result of the transaction new Class (Klasse
) is created with ID = 3168047
Request
POST https://<documaster-instance>.local.documaster.tech:8083/rms/api/public/noark5/v1/transaction HTTP/1.1
...
Authorization: Bearer {{accessTokenIntegrator}}
Content-Type: application/json
X-Documaster-Error-Response-Type: application/json
{
"actions": [
{
"action": "save",
"type": "Klasse",
"id": "klasse-temp-id-1",
"fields": {
"klasseIdent": "TST-IDENT-2106",
"tittel": "Sample Class with BSM",
"beskrivelse": "Test Class with BSM - QualitySystem ID",
"virksomhetsspesifikkeMetadata": {
"qs1": {
"qsid": {
"values": [
"QS1-ID-820621"
]
}
}
}
}
},
{
"action": "link",
"type": "Klasse",
"id": "klasse-temp-id-1",
"ref": "refKlassifikasjonssystem",
"linkToId": "1444539"
}
]
}
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"saved": {
"klasse-temp-id-1": {
"type": "Klasse",
"id": "3168047",
"version": "4",
"fields": {
"uuid": "ff3a1497-f18f-4111-a05a-a3383c0a1ae8",
"opprettetDato": "2022-06-07T14:08:31.496+0200",
"opprettetAv": "Integrator",
"opprettetAvBrukerIdent": "d730e776-c10f-4986-99d7-5fab7bf4c3ee",
"klasseIdent": "TST-IDENT-2106",
"tittel": "Sample Class with BSM",
"beskrivelse": "Test Class with BSM - QualitySystem ID",
"virksomhetsspesifikkeMetadata": {
"qs1": {
"qsid": {
"type": "string",
"values": [
"SPDADM-ID-820621"
]
}
}
}
},
"links": {
"refKlassifikasjonssystem": 1444539
}
}
}
}