-
Notifications
You must be signed in to change notification settings - Fork 3
/
schemaregistry.yaml
1080 lines (1080 loc) · 35.4 KB
/
schemaregistry.yaml
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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
###############################################################################
# Licensed Materials - Property of IBM
#
# 5725-U33, 5737-H33
#
# (C) Copyright IBM Corp. 2018-2023 All Rights Reserved.
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
###############################################################################
openapi: 3.0.0
info:
title: IBM Event Streams Schema Registry
description: IBM Event Streams schema registry management
version: 1.4.1
x-alternate-name: schemaregistry
x-codegen-config:
improvedNameFormattingV2: true
go:
apiPackage: github.com/IBM/eventstreams-go-sdk
improvedNameFormattingV2: true
servers:
- url: /
security:
- BearerAuth: []
- BasicAuth: []
paths:
/artifacts:
get:
tags:
- schemas
summary: List schema IDs
operationId: listSchemas
description: Returns an array containing the schema IDs of all of the schemas
that are stored in the registry.
parameters:
- name: jsonformat
in: query
description: format of the response to be returned, allowed values are 'string' and 'object'.
required: false
style: simple
explode: false
schema:
type: string
responses:
"200":
description: The list schema IDs request was successful. The response body
is a JSON array containing a list of schema IDs.
content:
application/json:
schema:
type: array
items:
type: string
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
post:
tags:
- schemas
summary: Create a new schema
operationId: createSchema
description: Create a new schema and populate it with an initial schema version
containing the AVRO document in the request body.
x-codegen-request-body-name: avroSchema
parameters:
- name: X-Registry-ArtifactId
in: header
description: The name to assign to the new schema. This must be unique. If
this value is not specified then a UUID is used.
required: false
style: simple
explode: false
schema:
type: string
requestBody:
description: The AVRO schema to use as the first version of this new schema.
content:
application/json:
schema:
$ref: '#/components/schemas/avroSchema'
required: true
responses:
"200":
description: The schema was successfully created. Information about the
newly created schema is included in the response body.
content:
application/json:
schema:
$ref: '#/components/schemas/schemaMetadata'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"409":
description: A schema with the specified schema ID already exists.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
/artifacts/{id}:
get:
tags:
- schemas
summary: Get the latest version of a schema
operationId: getLatestSchema
description: Retrieves the lastest version of the specified schema.
parameters:
- name: id
in: path
description: The ID of a schema.
required: true
style: simple
explode: false
schema:
type: string
responses:
"200":
description: The latest version of the schema was successfully retrieved.
This schema version is included in the response body.
content:
application/json:
schema:
$ref: '#/components/schemas/avroSchema'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: The registry does not contain a schema with the specified schema
ID.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
delete:
tags:
- schemas
summary: Delete a schema
operationId: deleteSchema
description: Deletes a schema and all of its versions from the schema registry.
parameters:
- name: id
in: path
description: The ID of the schema to delete.
required: true
style: simple
explode: false
schema:
type: string
responses:
"204":
description: The schema was successfully deleted from the registry.
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: The registry does not contain a schema with the specified schema
ID.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
put:
tags:
- schemas
summary: Update a schema
operationId: updateSchema
description: Updates a schema
x-codegen-request-body-name: avroSchema
parameters:
- name: id
in: path
description: The ID of the schema to update.
required: true
style: simple
explode: false
schema:
type: string
requestBody:
description: The AVRO schema to update
content:
application/json:
schema:
$ref: '#/components/schemas/avroSchema'
required: true
responses:
"200":
description: The schema was successfully updated
content:
application/json:
schema:
$ref: '#/components/schemas/schemaMetadata'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: The registry does not contain a schema with the specified schema
ID.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
/artifacts/{id}/versions:
get:
tags:
- schema versions
summary: List the versions of a schema
operationId: listVersions
description: Returns an array containing the version numbers of all of the versions
of the specified schema.
parameters:
- name: id
in: path
description: The schema ID for which the list of versions will be returned.
required: true
style: simple
explode: false
schema:
type: string
- name: jsonformat
in: query
description: format of the response to be returned, allowed values are 'number' and 'object'.
required: false
style: simple
explode: false
schema:
type: string
responses:
"200":
description: The request to list the versions of a schema was successful.
The body of the response contains an array of schema version numbers.
content:
application/json:
schema:
type: array
items:
type: integer
description: Schema version number
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: The registry does not contain a schema with the specified schema
ID.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
post:
tags:
- schema versions
summary: Create a new schema version
operationId: createVersion
description: Creates a new version of a schema using the AVRO schema supplied
in the request body.
x-codegen-request-body-name: avroSchema
parameters:
- name: id
in: path
description: A schema ID. This identifies the schema for which a new version
will be created.
required: true
style: simple
explode: false
schema:
type: string
requestBody:
description: The AVRO schema to use for the new schema version.
content:
application/json:
schema:
$ref: '#/components/schemas/avroSchema'
required: true
responses:
"200":
description: The new schema version was successfully created. Information
about the newly created schema is returned in the response body.
content:
application/json:
schema:
$ref: '#/components/schemas/schemaMetadata'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: The registry does not contain a schema with the specified schema
ID.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"409":
description: >
Either the schema already has the maximum number of permitted
versions, or creating a new schema version would fail the required compatibility
checks based on existing versions of the schema. Consult the error information
returned in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
/artifacts/{id}/versions/{version}:
get:
tags:
- schema versions
summary: Get a version of the schema
operationId: getVersion
description: Retrieve a particular version of the schema.
parameters:
- name: id
in: path
description: The schema ID identifying which schema to return a version from.
required: true
style: simple
explode: false
schema:
type: string
- name: version
in: path
description: The version number that identifies the particular schema version
to return.
required: true
style: simple
explode: false
schema:
type: integer
responses:
"200":
description: The AVRO schema corresponding to the requested schema version.
content:
application/json:
schema:
$ref: '#/components/schemas/avroSchema'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: >
Either the registry does not contain a schema with the specified
schema ID, or the schema identified by the schema ID does not contain
a version corresponding to the specified version number.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
delete:
tags:
- schema versions
summary: Delete a version of the schema
operationId: deleteVersion
description: Delete a version of the schema. If this was the only version of
the schema then the whole schema will be deleted.
parameters:
- name: id
in: path
description: A schema ID that identifies the schema to delete a version from.
required: true
style: simple
explode: false
schema:
type: string
- name: version
in: path
description: The schema version number to delete.
required: true
style: simple
explode: false
schema:
type: integer
responses:
"204":
description: The schema version was successfully deleted.
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: >
Either the registry does not contain a schema with the specified
schema ID, or the schema identified by the schema ID does not contain
a version corresponding to the specified version number.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
/artifacts/{id}/state:
put:
tags:
- schema state
summary: Set schema state
operationId: setSchemaState
description: Sets schema state
x-codegen-request-body-name: schemaState
parameters:
- name: id
in: path
description: The ID of a schema.
required: true
style: simple
explode: false
schema:
type: string
requestBody:
description: A JSON object representing the schema state to update.
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/states'
description: state of schema
responses:
"204":
description: The set schema state request was successful.
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: The registry does not contain a schema with the specified schema
ID.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
/artifacts/{id}/versions/{version}/state:
put:
tags:
- schema version state
summary: Set schema version state
operationId: setSchemaVersionState
description: Sets schema version state
x-codegen-request-body-name: schemaVersionState
parameters:
- name: id
in: path
description: The ID of a schema.
required: true
style: simple
explode: false
schema:
type: string
- name: version
in: path
description: The version number that identifies the particular schema version
to return.
required: true
style: simple
explode: false
schema:
type: integer
requestBody:
description: A JSON object representing the schema version state to update.
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/states'
description: state of schema version
responses:
"204":
description: The set schema version state request was successful.
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: The registry does not contain a schema with the specified schema
ID.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
/artifacts/{id}/rules:
post:
tags:
- schema rules
summary: Create a schema rule
operationId: createSchemaRule
description: Create a new rule that controls compatibility checks for a particular
schema. Schema rules override the registries global compatibility rule setting.
x-codegen-request-body-name: schemaRule
parameters:
- name: id
in: path
description: The ID of the schema that the rule is to be associated with.
required: true
style: simple
explode: false
schema:
type: string
requestBody:
description: A JSON object representing the schema rule to create.
content:
application/json:
schema:
$ref: '#/components/schemas/rule'
required: true
responses:
"200":
description: The schema rule was created successfully. The value of the
schema rule is returned in the body of the response.
content:
application/json:
schema:
$ref: '#/components/schemas/rule'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: The registry does not contain a schema with the specified schema
ID.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"409":
description: >
A schema rule with the same type already exists for this schema.
Use the REST request that specifies the `PUT` verb to a path of
`/artifacts/{id}/rules/{rule}` to update the rule.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
/artifacts/{id}/rules/{rule}:
get:
tags:
- schema rules
summary: Get a schema rule configuration
operationId: getSchemaRule
description: Retrieves the current configuration for a schema rule. If a schema
rule exists then it overrides the corresponding global rule that would otherwise
be applied.
parameters:
- name: id
in: path
description: The ID of the schema to retrieve the rule for.
required: true
style: simple
explode: false
schema:
type: string
- name: rule
in: path
description: The type of rule to retrieve. Currently only the value that can
be specified is `COMPATIBILITY`.
required: true
style: simple
explode: false
schema:
type: string
enum:
- COMPATIBILITY
responses:
"200":
description: The schema rule was successfully retrieved. The value of the
schema rule is returned in the body of the response.
content:
application/json:
schema:
$ref: '#/components/schemas/rule'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: >
Either the registry does not contain a schema with the specified
schema ID, or the schema is not configured with the specified type of
rule.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
put:
tags:
- schema rules
summary: Update the configuration of a schema rule.
operationId: updateSchemaRule
description: >
Updates the configuration of an existing schema rule. The updated
rule will be applied to the specified schema, overriding the value set for
the corresponding global rule.
x-codegen-request-body-name: schemaRule
parameters:
- name: id
in: path
description: The ID of the schema for which to update the rule configuration.
required: true
style: simple
explode: false
schema:
type: string
- name: rule
in: path
description: The type of rule to update. Currently only the value that can
be specified is `COMPATIBILITY`.
required: true
style: simple
explode: false
schema:
type: string
enum:
- COMPATIBILITY
requestBody:
description: A JSON object representing the updated values to use for the
schema rule.
content:
application/json:
schema:
$ref: '#/components/schemas/rule'
required: true
responses:
"200":
description: The schema rule was successfully retrieved. The value of the
schema rule is returned in the body of the response.
content:
application/json:
schema:
$ref: '#/components/schemas/rule'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"409":
description: >
This schema does not have a rule of the specified type. Use
the REST request that specifies the `POST` verb to a path of
`/artifacts/{id}/rules` to create a schema rule.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
delete:
tags:
- schema rules
summary: Delete a schema rule
operationId: deleteSchemaRule
description: Delete a rule that controls compatibility checks for a particular
schema. After this operation completes the schema will be subject to compatibility
checking defined by the global compatibility rule setting for the registry.
parameters:
- name: id
in: path
description: The ID of the schema that the rule is to be deleted from.
required: true
style: simple
explode: false
schema:
type: string
- name: rule
in: path
description: The type of rule to delete. Currently only the value that can
be specified is `COMPATIBILITY`.
required: true
style: simple
explode: false
schema:
type: string
enum:
- COMPATIBILITY
responses:
"204":
description: The schema rule was successfully deleted.
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"404":
description: >
Either the registry does not contain a schema with the specified
schema ID, or the schema is not configured with the specified type of
rule.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
/rules/{rule}:
get:
tags:
- global rules
summary: Retrieve the configuration for a global rule.
operationId: getGlobalRule
description: Retrieves the configuration for the specified global rule. The
value of the global rule is used as the _default_ when a schema does not have
a corresponding schema compatibility rule defined.
parameters:
- name: rule
in: path
description: The type of the global rule to retrieve. Currently only `COMPATIBILITY`
is supported.
required: true
style: simple
explode: false
schema:
type: string
enum:
- COMPATIBILITY
responses:
"200":
description: The global rule was successfully retrieved. The value of the
global rule is returned in the body of the response.
content:
application/json:
schema:
$ref: '#/components/schemas/rule'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
put:
tags:
- global rules
summary: Update the configuration for a global rule
operationId: updateGlobalRule
description: Update the configuration for the specified global rule. The value
of the global rule is used as the _default_ when a schema does not have a
corresponding schema compatibility rule defined.
x-codegen-request-body-name: globalRule
parameters:
- name: rule
in: path
description: The type of the global rule to update. Currently only `COMPATIBILITY`
is supported.
required: true
style: simple
explode: false
schema:
type: string
enum:
- COMPATIBILITY
requestBody:
description: A JSON object representing the schema rule to update.
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/rule'
responses:
"200":
description: The global rule was successfully updated. The new value for
the global rule is returned in the body of the response.
content:
application/json:
schema:
$ref: '#/components/schemas/rule'
"400":
description: The request was not valid. Consult the error information returned
in the response body for details.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
"403":
description: The client is not authorized to perform this request.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
components:
schemas:
avroSchema:
example:
type: record
name: book
fields:
- name: title
type: string
- name: author
type: string
properties:
schema:
type: object
description: The AVRO schema
states:
required:
- state
type: object
properties:
state:
type: string
description: The state of the schema or schema version.
allOf:
- $ref: '#/components/schemas/allowedStates'
description: State define constraints on certain operations on a schema or schema version
example:
state: DISABLED
allowedStates:
type: string
description: Valid values for the `state` property to set schema state
enum:
- ENABLED
- DISABLED
rule:
required:
- config
- type
type: object
properties:
type:
type: string
description: The type of the rule. Currently only one type is supported
(`COMPATIBILITY`).
enum:
- COMPATIBILITY
config:
description: The configuration value for the rule. Which values are valid
depends on the value of this object's `type` property.
allOf:
- $ref: '#/components/schemas/compatibilityRuleConfig'
description: Rules define constraints on whether the schema registry will accept
a new version of a schema.
example:
type: COMPATIBILITY
config: BACKWARD
compatibilityRuleConfig:
type: string
description: Valid values for the `config` property of a compatibility rule.
enum:
- BACKWARD
- BACKWARD_TRANSITIVE
- FORWARD
- FORWARD_TRANSITIVE
- FULL
- FULL_TRANSITIVE
- NONE
schemaMetadata:
required:
- createdOn
- globalId
- id
- modifiedOn
- type
- version
type: object
properties:
createdOn:
type: integer
description: Creation timestamp of the schema in UNIX epoc format.
globalId:
type: integer
description: Globally unique ID assigned to the initial version of the schema.
id:
type: string
description: The ID of the schema. This is either taken from the `X-Registry-ArtifactId`
header when the request is made to create the schema or is an automatically
assigned UUID value.