forked from Ministerstvo-financi/hazard-komunikacni-rozhrani
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomParamReg.xsd
287 lines (270 loc) · 9.18 KB
/
comParamReg.xsd
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<?xml version="1.0" encoding="UTF-8"?>
<schema
targetNamespace="http://hazard.mfcr.cz/komunikacni-modul/registrace-parametru/2019-02"
elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://hazard.mfcr.cz/komunikacni-modul/registrace-parametru/2019-02">
<element name="Registrace" type="tns:RegistraceTyp">
<annotation>
<documentation>Jeden formulář vždy obsahuje změny pro právě jednoho
operátora. Může obsahovat změny typu update - tedy nastavení
parametrů a delete - tedy ukončení provozu dané hry.
Každý formulář
má právě jedno datum, od kdy začíná platit.
</documentation>
</annotation>
</element>
<complexType name="RegistraceTyp">
<sequence>
<element name="Zmenit" type="tns:ZmenitTyp" minOccurs="0"
maxOccurs="unbounded">
<annotation>
<documentation>
Obsahuje seznam registrací, které mají být
aktualizovány. Pomocí této položky se rovněž
zakládají nové. Položka musí vždy obsahovat
kompketní sadu potřebných údajů.
Vrámci jedné položky je předávána sada her,
které sdílení totožné údaje (certifikáty a URL)
</documentation>
</annotation>
</element>
<element name="Smazat" type="tns:SmazatTyp" minOccurs="0"
maxOccurs="unbounded" />
<element name="Rozsireni" type="tns:RozsireniTyp" minOccurs="0" maxOccurs="unbounded"></element>
</sequence>
<attributeGroup ref="tns:AtributyProvozovatele" />
<attribute name="PlatnostOd" type="date" />
<attribute name="Podano" type="dateTime">
<annotation>
<documentation>Datum a cas podani</documentation>
</annotation>
</attribute>
<attribute name="IDPodani" type="string">
<annotation>
<documentation>
Identifikator podani pro korelaci mezi systemy
</documentation>
</annotation>
</attribute>
<attribute name="PrislusnyUrad" type="string"></attribute>
<attribute name="Playground" type="boolean"></attribute>
</complexType>
<attributeGroup name="AtributyProvozovatele">
<attribute name="IDProvozovatel" type="string"
use="required">
<annotation>
<documentation>identifikátor provozovatele dle vyhlášky
</documentation>
</annotation>
</attribute>
<attribute name="NazevProvozovatel" type="string"
use="required">
<annotation>
<documentation>název provozovatele v souladu s jeho registrací jako
osoby
</documentation>
</annotation>
</attribute>
</attributeGroup>
<group name="HodnotyCertitikatuSkupina">
<choice>
<element name="CertifikatBinarni" type="base64Binary">
<annotation>
<documentation>Obsahue binární soubor certifikátu ve formátu
DER/CER.
</documentation>
</annotation>
</element>
<element name="CertifikatText" type="string">
<annotation>
<documentation>Obsahuje textovou verzi certifikátu ve formátu PEM
(včetně hlavičky a patičky)
-----BEGIN
...
-----END
</documentation>
</annotation>
</element>
</choice>
</group>
<complexType name="SeznamCertifikatuTyp">
<sequence>
<group ref="tns:HodnotyCertitikatuSkupina" minOccurs="1"
maxOccurs="unbounded" />
</sequence>
</complexType>
<complexType name="CertifikatyTyp">
<sequence>
<element name="PecetCertifikaty"
type="tns:SeznamCertifikatuTyp" minOccurs="0">
<annotation>
<documentation>Sada certifikátů, kterými může být pečetěn předávaný
soubor. Musí jít o platné certifikáty, které lze ověřit s využitím
EU Trust list.
</documentation>
</annotation>
</element>
<element name="SifrovaniCertifikaty"
type="tns:SeznamCertifikatuTyp" minOccurs="0">
<annotation>
<documentation>Sada šifrovacích certifikátů, které budou použity
pro zašifrování odpovědí obsahujících výsledky zpracování.
</documentation>
</annotation>
</element>
<element name="AutentizaceKlientaCertifikaty"
type="tns:SeznamCertifikatuTyp" minOccurs="0">
<annotation>
<documentation>Certifikáty, které bude provozovatel využívat pro
autentizaci při stahování odpovědí ze sreverů ministerstva.
</documentation>
</annotation>
</element>
<element name="AutentizaceKlientaCACertifikaty"
type="tns:SeznamCertifikatuTyp" minOccurs="0">
<annotation>
<documentation>Seznam certifikátů certifikačních autorit, kterými
lze ověřit platnost klientských certifikátů provozovatele, které
využívá pro klientskou autentizaci vůči serveru MF.
Položka musí
obsahovat všechny certifikáty tak, aby bylo možné sestavit
certifikační cestu - tedy i mezilehlé CA.
</documentation>
</annotation>
</element>
<element name="AutentizaceServeruCACertifikaty"
type="tns:SeznamCertifikatuTyp" minOccurs="0">
<annotation>
<documentation>Sada certifikátů certifikačních autorit, které
ověřují serverový TLS certifikát serveru provozovatele. Nemusí být
předáváno,
pokud server používá kvalifikovaný certifikát pro web
server ověřitelný
pomocí EU Trust list nebo pokud používá
certifikát ověřitelný na
základě seznamu CAB (obvyklá sada
důvěryhodných kořenových autorit
v prohlížečích.)
Položka musí
obsahovat všechny certifikáty tak, aby bylo možné sestavit
certifikační cestu - tedy i mezilehlé CA.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="ZmenitTyp">
<sequence>
<element name="Certifikaty" type="tns:CertifikatyTyp"
minOccurs="0">
<annotation>
<documentation>
Element obsahuje seznam všech potřebných
certifikátů.
</documentation>
</annotation>
</element>
<element name="Url" type="tns:UrlTyp" minOccurs="0">
<annotation>
<documentation>
Sada URL pro komunikaci
</documentation>
</annotation>
</element>
<element name="Balicek" type="tns:BalicekTyp" minOccurs="1"
maxOccurs="unbounded" />
<element name="Rozsireni" type="tns:RozsireniTyp" minOccurs="0" maxOccurs="unbounded"></element>
</sequence>
<attribute name="zmenitExistujici" type="boolean">
<annotation>
<documentation>
Pokud je nastaveno na true, provede se změna
existujících nastavení. Hodnoty, které ve formuláři
chybí jsou převzaty z minulé verze. Certifikáty z
formuláře jsou přidány k již známým certifikátům. V
režimu aktualizace nelze odebrat certifikáty.
</documentation>
</annotation>
</attribute>
<attribute name="vymazatNasledujiciPlanovaneZmeny" type="boolean">
<annotation>
<documentation>Pokud je nastaveno, aplikací této změny se zároveň provede smazání všech plánovaných změn, s PlatnostOd následujícím po PlatnostOd této změny.</documentation>
</annotation></attribute>
</complexType>
<complexType name="SmazatTyp">
<sequence>
<element name="Balicek" type="tns:BalicekTyp" minOccurs="1"
maxOccurs="unbounded" />
<element name="Rozsireni" type="tns:RozsireniTyp" minOccurs="0" maxOccurs="unbounded"></element>
</sequence>
<attribute name="vymazatNasledujiciPlanovaneZmeny" type="boolean">
<annotation>
<documentation>Provede smazani vsech nasledujicich naplanovanych zme nastaveni parametru.
s</documentation>
</annotation></attribute>
</complexType>
<complexType name="UrlTyp">
<sequence>
<element name="StazeniBalickuUrl" type="anyURI" minOccurs="0">
<annotation>
<documentation>Základ URL pro stahování balíků</documentation>
</annotation>
</element>
<element type="anyURI" name="NotifikaceChybyUrl" minOccurs="0">
<annotation>
<documentation>URL pro notifikaci zpracování, které skončilo chybou
</documentation>
</annotation>
</element>
<element type="anyURI" name="NotifikaceUspechuUrl" minOccurs="0">
<annotation>
<documentation>URL pro notifikaci úspěšného zpracování.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="BalicekTyp">
<attribute name="Model" type="tns:ModelTyp" use="required">
<annotation>
<documentation>Model - dle vyhlášky</documentation>
</annotation>
</attribute>
<attribute name="HraDruh" type="tns:HraDruhTyp"
use="required">
<annotation>
<documentation>Typ hry dle vyhlášky</documentation>
</annotation>
</attribute>
<attribute name="Kasino" type="string" use="optional">
<annotation>
<documentation>
identifikator heniho mista
</documentation>
</annotation>
</attribute>
<anyAttribute></anyAttribute>
</complexType>
<simpleType name="HraDruhTyp">
<restriction base="string">
<enumeration value="Z" />
<enumeration value="L" />
<enumeration value="B" />
<enumeration value="T" />
<enumeration value="K" />
<enumeration value="R" />
</restriction>
</simpleType>
<simpleType name="ModelTyp">
<restriction base="string">
<enumeration value="M"></enumeration>
<enumeration value="V"></enumeration>
</restriction>
</simpleType>
<complexType name="RozsireniTyp">
<sequence>
<any></any>
</sequence>
<anyAttribute></anyAttribute>
</complexType>
</schema>