forked from navikt/helse-sporbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtbd.utbetaling__annullering.json
72 lines (72 loc) · 2.14 KB
/
tbd.utbetaling__annullering.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Annullerte utbetalinger",
"description": "Utbetalinger som er gjort i Spleis og senere annullert\n\nTopic: tbd.utbetaling\n\nKey: Fødselsnummer\n\nHeader[type]: Annullering",
"required": [
"event",
"utbetalingId",
"korrelasjonsId",
"organisasjonsnummer",
"orgnummer",
"tidsstempel",
"fødselsnummer",
"fom",
"tom"
],
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"enum": ["utbetaling_annullert"]
},
"utbetalingId": {
"type": "string",
"format": "uuid",
"examples": ["446eca54-befd-4851-acc3-ec300a20932a"]
},
"korrelasjonsId": {
"type": "string",
"format": "uuid",
"examples": ["a43696c7-e824-4140-b8a7-348efe7128cc"]
},
"fødselsnummer": {
"type": "string"
},
"organisasjonsnummer": {
"type": "string",
"examples": ["999263550"]
},
"orgnummer": {
"type": "string",
"examples": ["999263550"],
"description": "Deprecated: Bruk organisasjonsnummer"
},
"tidsstempel": {
"type": "string",
"pattern": "^(\\d{4,})-(\\d{2})-(\\d{2})[T](\\d{2}):(\\d{2}):(\\d{2}\\.\\d+)$",
"description": "Tidspunkt annulleringen ble gjennomført. Tidsstempel uten sone. Oslo tidspunkt.",
"examples": ["2022-06-10T19:06:26.765"]
},
"fom": {
"type": "string",
"format": "date",
"examples": ["2018-01-01"]
},
"tom": {
"type": "string",
"format": "date",
"examples": ["2018-01-31"]
},
"arbeidsgiverFagsystemId": {
"type": ["string", "null"],
"examples": ["XI2MMEZAJZBVJL2E4K7UM4BQBY"],
"description": "Er satt om det er annullert på arbeidsgiveroppdraget.\n\nMinst en av arbeidsgiverFagsystemId eller arbeidsgiverFagsystemId er satt"
},
"personFagsystemId": {
"type": ["string", "null"],
"examples": ["L52NYV4KE5BEPILU4L2ERGAVYU"],
"description": "Er satt om det er annullert på personoppdraget\n\nMinst en av arbeidsgiverFagsystemId eller arbeidsgiverFagsystemId er satt"
}
}
}