forked from DrSnowbird/amf
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathamf_profile.raml
More file actions
1135 lines (880 loc) · 34.5 KB
/
amf_profile.raml
File metadata and controls
1135 lines (880 loc) · 34.5 KB
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
#%Validation Profile 1.0
profile: AMF
violation:
- amf-parser.DomainElement-name-datatype
- amf-parser.DomainElement-name-maxCount
- amf-parser.DomainElement-description-datatype
- amf-parser.DomainElement-description-maxCount
- amf-parser.WebAPI-name-minCount
- amf-parser.WebAPI-host-datatype
- amf-parser.WebAPI-host-maxCount
- amf-parser.WebAPI-scheme-datatype
- amf-parser.WebAPI-basePath-datatype
- amf-parser.WebAPI-basePath-maxCount
- amf-parser.WebAPI-basePath-pattern
- amf-parser.WebAPI-accepts-datatype
- amf-parser.WebAPI-mediaType-datatype
- amf-parser.WebAPI-version-datatype
- amf-parser.WebAPI-version-maxCount
- amf-parser.WebAPI-termsOfService-datatype
- amf-parser.WebAPI-termsOfService-maxCount
- amf-parser.WebAPI-provider-class
- amf-parser.WebAPI-provider-maxCount
- amf-parser.WebAPI-endpoint-class
- amf-parser.WebAPI-parameter-class
- amf-parser.Organization-url-maxCount
- amf-parser.Organization-email-datatype
- amf-parser.Organization-email-maxCount
- amf-parser.EndPoint-path-maxCount
- amf-parser.EndPoint-path-datatype
- amf-parser.EndPoint-path-pattern
- amf-parser.Endpoint-supportedOperation-class
- amf-parser.Endpoint-parameter-class
- amf-parser.Operation-method-in
- amf-parser.Operation-method-maxCount
- amf-parser.Operation-returns-class
- amf-parser.Operation-guiSummary-datatype
- amf-parser.Operation-guiSummary-maxCount
- amf-parser.Operation-deprecated-datatype
- amf-parser.Operation-deprecated-maxCount
- amf-parser.Operation-scheme-datatype
- amf-parser.Operation-accepts-datatype
- amf-parser.Operation-returns-class
- amf-parser.Request-header-class
- amf-parser.Request-payload-class
- amf-parser.Request-payload-maxCount
- amf-parser.Request-parameter-class
- amf-parser.Response-statusCode-datatype
- amf-parser.Response-statusCode-pattern
- amf-parser.Response-header-class
- amf-parser.Response-payload-class
- amf-parser.Response-payload-maxCount
- amf-parser.Parameter-name-minCount
- amf-parser.Parameter-required-datatype
- amf-parser.Parameter-required-minCount
- amf-parser.Parameter-required-maxCount
- amf-parser.Parameter-binding-datatype
- amf-parser.Parameter-binding-minCount
- amf-parser.Parameter-binding-maxCount
- amf-parser.Parameter-binding-in
- amf-parser.Parameter-schema-class
- amf-parser.Parameter-schema-maxCount
- amf-parser.Parameter-schema-minCount
- amf-parser.Payload-mediaType-datatype
- amf-parser.Payload-mediaType-maxCount
- amf-parser.Payload-schema-class
- amf-parser.Payload-schema-maxCount
- amf-parser.Shape-xmlSerialization-class
- amf-parser.Shape-xmlSerialization-maxCount
- amf-parser.Shape-in-maxCount
- amf-parser.Shape-in-node
- amf-parser.XMLSerializer-xmlAtribute-datatype
- amf-parser.XMLSerializer-xmlAtribute-maxCount
- amf-parser.XMLSerializer-xmlWrapped-datatype
- amf-parser.XMLSerializer-xmlWrapped-maxCount
- amf-parser.XMLSerializer-xmlName-datatype
- amf-parser.XMLSerializer-xmlName-maxCount
- amf-parser.XMLSerializer-xmlNamespace-datatype
- amf-parser.XMLSerializer-xmlNamespace-maxCount
- amf-parser.XMLSerializer-xmlPrefix-datatype
- amf-parser.XMLSerializer-xmlPrefix-maxCount
- amf-parser.Shape-defaultValue-maxCount
- amf-parser.ObjectShape-minProperties-minInclusive
- amf-parser.ObjectShape-minProperties-datatype
- amf-parser.ObjectShape-minProperties-maxCount
- amf-parser.ObjectShape-maxProperties-minInclusive
- amf-parser.ObjectShape-maxProperties-datatype
- amf-parser.ObjectShape-maxProperties-maxCount
- amf-parser.ObjectShape-closed-datatype
- amf-parser.ObjectShape-closed-maxCount
- amf-parser.ObjectShape-discriminator-datatype
- amf-parser.ObjectShape-discriminator-maxCount
- amf-parser.ObjectShape-discriminatorValue-datatype
- amf-parser.ObjectShape-discriminatorValue-maxCount
- amf-parser.ObjectShape-readOnly-datatype
- amf-parser.ObjectShape-readOnly-maxCount
- amf-parser.ArrayShape-item-class
- amf-parser.ArrayShape-minCount-datatype
- amf-parser.ArrayShape-minCount-maxCount
- amf-parser.ArrayShape-minCount-minInclusive
- amf-parser.ArrayShape-maxCount-datatype
- amf-parser.ArrayShape-maxCount-maxCount
- amf-parser.ArrayShape-minCount-minInclusive
- amf-parser.ArrayShape-uniqueItems-datatype
- amf-parser.ArrayShape-uniqueItems-maxCount
- amf-parser.ScalarShape-pattern-datatype
- amf-parser.ScalarShape-pattern-maxCount
- amf-parser.ScalarShape-minLength-datatype
- amf-parser.ScalarShape-minLength-maxCount
- amf-parser.ScalarShape-maxLength-datatype
- amf-parser.ScalarShape-maxLength-maxCount
- amf-parser.ScalarShape-minInclusive-datatype
- amf-parser.ScalarShape-minInclusive-maxCount
- amf-parser.ScalarShape-maxInclusive-datatype
- amf-parser.ScalarShape-maxInclusive-maxCount
- amf-parser.ScalarShape-minExclusive-datatype
- amf-parser.ScalarShape-minExclusive-maxCount
- amf-parser.ScalarShape-maxExclusive-datatype
- amf-parser.ScalarShape-maxExclusive-maxCount
- amf-parser.ScalarShape-format-datatype
- amf-parser.ScalarShape-format-maxCount
- amf-parser.ScalarShape-multipleOf-datatype
- amf-parser.ScalarShape-multipleOf-maxCount
- amf-parser.ScalarShape-multipleOf-minExclusive
- amf-parser.ScalarShape-datatype-minCount
- amf-parser.strict-url-strings
- amf-parser.closed-shape
- amf-parser.dialect-ambiguous-range
- amf-parser.parsing-error
- amf-parser.example-validation-error
- amf-parser.unsupported-example-media-type
validations:
amf-parser.DomainElement-name-datatype:
message: Title and names must be string
targetClass: doc.DomainElement
propertyConstraint: schema.name
schema.name:
datatype: string
amf-parser.DomainElement-name-maxCount:
message: Titles and names must be single values
targetClass: doc.DomainElement
propertyConstraint: schema.name
schema.name:
maxCount: 1
amf-parser.DomainElement-description-datatype:
message: Descriptions must be strings
targetClass: doc.DomainElement
propertyConstraint: schema.description
schema.description:
datatype: string
amf-parser.DomainElement-description-maxCount:
message: Descriptions must be single values
targetClass: doc.DomainElement
propertyConstraint: schema.description
schema.description:
maxCount: 1
amf-parser.WebAPI-name-minCount:
message: API name must be a single value
targetClass: schema.WebAPI
propertyConstraint: schema.name
schema.name:
minCount: 1
amf-parser.WebAPI-host-datatype:
message: API baseUri host information must be a string
targetClass: schema.WebAPI
propertyConstraint: http.host
http.host:
datatype: string
amf-parser.WebAPI-host-maxCount:
message: API baseUri host information must be a single value
targetClass: schema.WebAPI
propertyConstraint: http.host
http.host:
maxCount: 1
amf-parser.WebAPI-scheme-datatype:
message: API BaseUri scheme information must be a string
targetClass: schema.WebAPI
propertyConstraint: http.scheme
http.scheme:
datatype: string
amf-parser.WebAPI-basePath-datatype:
message: API baseUri path must be a string
targetClass: schema.WebAPI
propertyConstraint: http.basePath
http.basePath:
datatype: string
amf-parser.WebAPI-basePath-maxCount:
message: API baseUri path must be a single value
targetClass: schema.WebAPI
propertyConstraint: http.basePath
http.basePath:
maxCount: 1
amf-parser.WebAPI-basePath-pattern:
message: API baseUri path must start with a '/'
targetClass: schema.WebAPI
propertyConstraint: http.basePath
http.basePath:
pattern: ^/
amf-parser.WebAPI-accepts-datatype:
message: API default media types consumed must be strings
targetClass: schema.WebAPI
propertyConstraint: http.accepts
http.accepts:
datatype: string
amf-parser.WebAPI-mediaType-datatype:
message: API default media types produced must be strings
targetClass: schema.WebAPI
propertyConstraint: http.mediaType
http.mediaType:
datatype: string
amf-parser.WebAPI-version-datatype:
message: API version must be a string
targetClass: schema.WebAPI
propertyConstraint: schema.version
schema.version:
datatype: string
amf-parser.WebAPI-version-maxCount:
message: API version must be a single value
targetClass: schema.WebAPI
propertyConstraint: schema.version
schema.version:
maxCount: 1
amf-parser.WebAPI-termsOfService-datatype:
message: API terms of service must be a string
targetClass: schema.WebAPI
propertyConstraint: schema.termsOfService
schema.termsOfService:
datatype: string
amf-parser.WebAPI-termsOfService-maxCount:
message: API terms of service must be a single value
targetClass: schema.WebAPI
propertyConstraint: schema.termsOfService
schema.termsOfService:
maxCount: 1
amf-parser.WebAPI-provider-class:
message: API provider must hold Provider information
targetClass: schema.WebAPI
propertyConstraint: schema.provider
schema.provider:
range: schema.Organization
amf-parser.WebAPI-provider-maxCount:
message: API provider must be a single value
targetClass: schema.WebAPI
propertyConstraint: schema.provider
schema.provider:
maxCount: 1
amf-parser.WebAPI-endpoint-class:
message: API paths must link Resources
targetClass: schema.WebAPI
propertyConstraint: http.endpoint
http.endpoint:
range: http.EndPoint
amf-parser.WebAPI-parameter-class:
message: API parameters must be valid parameters
targetClass: schema.WebAPI
propertyConstraint: http.parameter
http.parameter:
range: http.Parameter
amf-parser.Organization-url-maxCount:
message: API provider URL must be a single value
targetClass: schema.Organization
propertyConstraint: schema.url
schema.url:
maxCount: 1
amf-parser.Organization-email-datatype:
message: API provider email must be a string
targetClass: schema.Organization
propertyConstraint: schema.email
schema.email:
datatype: string
amf-parser.Organization-email-maxCount:
message: API provider must be a single value
targetClass: schema.Organization
propertyConstraint: schema.email
schema.email:
maxCount: 1
amf-parser.EndPoint-path-maxCount:
message: Resource path must be unique
targetClass: http.EndPoint
propertyConstraint: http.path
http.path:
maxCount: 1
amf-parser.EndPoint-path-datatype:
message: Resource path must be a string
targetClass: http.EndPoint
propertyConstraint: http.path
http.path:
datatype: string
amf-parser.EndPoint-path-pattern:
message: Resource path must start with a '/'
targetClass: http.EndPoint
propertyConstraint: http.path
http.path:
pattern: ^/
amf-parser.Endpoint-supportedOperation-class:
message: Resources must hold Methods operation
targetClass: http.Endpoint
propertyConstraint: hydra.supportedOperation
hydra.supportedOperation:
range: hydra.Operation
amf-parser.Endpoint-parameter-class:
message: Resources uriParameters must be valid parameters
targetClass: http.Endpoint
propertyConstraint: http.parameter
http.parameter:
range: http.Parameter
amf-parser.Operation-method-in:
message: Uknown method
targetClass: hydra.Operation
propertyConstraint: hydra.method
hydra.method:
in: [ get,put,post,delete,options,head,patch ]
amf-parser.Operation-method-maxCount:
message: Methods can only have a single HTTP verbe
targetClass: hydra.Operation
propertyConstraint: hydra.method
hydra.method:
maxCount: 1
amf-parser.Operation-returns-class:
message: Methods must hold Responses information
targetClass: hydra.Operation
propertyConstraint: hydra.returns
hydra.returns:
range: http.Response
amf-parser.Operation-guiSummary-datatype:
message: Methods' summary information must be a string
targetClass: hydra.Operation
propertyConstraint: http.guiSummary
http.guiSummary:
datatype: string
amf-parser.Operation-guiSummary-maxCount:
message: Methods can only have a single value for the summary information
targetClass: hydra.Operation
propertyConstraint: http.guiSummary
http.guiSummary:
maxCount: 1
amf-parser.Operation-deprecated-datatype:
message: Methods' deprecated must be a boolean
targetClass: hydra.Operation
propertyConstraint: doc.deprecated
doc.deprecated:
datatype: boolean
amf-parser.Operation-deprecated-maxCount:
message: Methods' depcrecated must be a single value
targetClass: hydra.Operation
propertyConstraint: doc.deprecated
doc.deprecated:
maxCount: 1
amf-parser.Operation-scheme-datatype:
message: protocols must be strings
targetClass: hydra.Operation
propertyConstraint: http.scheme
http.scheme:
datatype: string
amf-parser.Operation-accepts-datatype:
message: Method default media types consumed must be strings
targetClass: hydra.Operation
propertyConstraint: http.accepts
http.accepts:
datatype: string
amf-parser.Operation-returns-class:
message: An operation must have valid response information
targetClass: hydra.Operation
propertyConstraint: hydra.returns
hydra.returns:
range: http.Response
amf-parser.Request-header-class:
message: Header information must be a valid header
targetClass: http.Request
propertyConstraint: http.header
http.header:
range: http.Parameter
amf-parser.Request-payload-class:
message: Payload information for a Method request info must be valid
targetClass: http.Request
propertyConstraint: http.payload
http.payload:
range: http.Payload
amf-parser.Request-parameter-class:
message: Parameter information for a Method must be valid
targetClass: http.Request
propertyConstraint: http.parameter
http.parameter:
range: http.Parameter
amf-parser.Response-statusCode-datatype:
message: Status code for a Response must be a string
targetClass: http.Response
propertyConstraint: hydra.statusCode
hydra.statusCode:
datatype: string
amf-parser.Response-statusCode-pattern:
message: Status code for a Response must match '^([0-9]{3})$|^(default)$'
targetClass: http.Response
propertyConstraint: hydra.statusCode
hydra.statusCode:
pattern: ^([0-9]{3})$|^(default)$
amf-parser.Response-header-class:
message: Header information must be a valid header
targetClass: http.Response
propertyConstraint: http.header
http.header:
range: http.Parameter
amf-parser.Response-payload-class:
message: Payload information for a Response must be valid
targetClass: http.Response
propertyConstraint: http.payload
http.payload:
range: http.Payload
amf-parser.Parameter-name-minCount:
message: Parameter information must have a name
targetClass: http.Parameter
propertyConstraint: schema.name
schema.name:
minCount: 1
amf-parser.Parameter-required-datatype:
message: Information about required parameters must be a boolean value
targetClass: http.Parameter
propertyConstraint: hydra.required
hydra.required:
datatype: boolean
amf-parser.Parameter-required-minCount:
message: Required information about a parameter is mandatory
targetClass: http.Parameter
propertyConstraint: hydra.required
hydra.required:
minCount: 1
amf-parser.Parameter-required-maxCount:
message: Only one value is allowed for required information of a parameter
targetClass: http.Parameter
propertyConstraint: hydra.required
hydra.required:
maxCount: 1
amf-parser.Parameter-binding-datatype:
message: Information about the binding of the parameter is mandatory
targetClass: http.Parameter
propertyConstraint: http.binding
http.binding:
datatype: string
amf-parser.Parameter-binding-minCount:
message: Binding information for a parameter is mandatory
targetClass: http.Parameter
propertyConstraint: http.binding
http.binding:
minCount: 1
amf-parser.Parameter-binding-maxCount:
message: Only one binding is allowed per parameter
targetClass: http.Parameter
propertyConstraint: http.binding
http.binding:
maxCount: 1
amf-parser.Parameter-binding-in:
message: Binding information for a parameter with an invalid value
targetClass: http.Parameter
propertyConstraint: http.binding
http.binding:
in: [ query,path,header,uri ]
amf-parser.Parameter-schema-class:
message: Expected RAML Type not found
targetClass: http.Parameter
propertyConstraint: http.schema
http.schema:
range: shacl.Shape
amf-parser.Parameter-schema-maxCount:
message: Only one RAML type can be specified
targetClass: http.Parameter
propertyConstraint: http.schema
http.schema:
maxCount: 1
amf-parser.Parameter-schema-minCount:
message: RAML Type information is mandatory for parameters
targetClass: http.Parameter
propertyConstraint: http.schema
http.schema:
minCount: 1
amf-parser.Payload-mediaType-datatype:
message: Method default media types produced must be strings
targetClass: http.Payload
propertyConstraint: http.mediaType
http.mediaType:
datatype: string
amf-parser.Payload-mediaType-maxCount:
message: Media type maximum cardinality is 1 per payloa
targetClass: http.Payload
propertyConstraint: http.mediaType
http.mediaType:
maxCount: 1
amf-parser.Payload-schema-class:
message: Expected RAML Type not found
targetClass: http.Payload
propertyConstraint: http.schema
http.schema:
range: shacl.Shape
amf-parser.Payload-schema-maxCount:
message: Only one RAML type can be specified
targetClass: http.Payload
propertyConstraint: http.schema
http.schema:
maxCount: 1
amf-parser.Shape-xmlSerialization-class:
message: Property 'xml' of a RAML type must have as a value a valid XML Serialization
targetClass: raml-shapes.Shape
propertyConstraint: raml-shapes.xmlSerialization
raml-shapes.xmlSerialization:
range: raml-shapes.XMLSerializer
amf-parser.Shape-xmlSerialization-maxCount:
message: XML serialisation object must be a single value
targetClass: raml-shapes.Shape
propertyConstraint: raml-shapes.xmlSerialization
raml-shapes.xmlSerialization:
maxCount: 1
amf-parser.Shape-in-maxCount:
message: Property 'enum' must have a single list of values
targetClass: raml-shapes.Shape
propertyConstraint: shacl.in
shacl.in:
maxCount: 1
amf-parser.Shape-in-node:
message:
targetClass: raml-shapes.Shape
functionConstraint:
functionName: nonEmptyList_shacl_in
amf-parser.XMLSerializer-xmlAtribute-datatype:
message: XML attribute serialisation info must be boolean
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlAtribute
raml-shapes.xmlAtribute:
datatype: boolean
amf-parser.XMLSerializer-xmlAtribute-maxCount:
message: property 'attribute' of the XML serialisation mut be a single vlaue
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlAtribute
raml-shapes.xmlAtribute:
maxCount: 1
amf-parser.XMLSerializer-xmlWrapped-datatype:
message: XML wraping serialisation info must be boolean
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlWrapped
raml-shapes.xmlWrapped:
datatype: boolean
amf-parser.XMLSerializer-xmlWrapped-maxCount:
message: property 'wrapped' of the XML serialisation mut be a single vlaue
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlWrapped
raml-shapes.xmlWrapped:
maxCount: 1
amf-parser.XMLSerializer-xmlName-datatype:
message: XML name serialisation info must be string
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlName
raml-shapes.xmlName:
datatype: string
amf-parser.XMLSerializer-xmlName-maxCount:
message: property 'name' of the XML serialisation mut be a single vlaue
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlName
raml-shapes.xmlName:
maxCount: 1
amf-parser.XMLSerializer-xmlNamespace-datatype:
message: XML namespace serialisation info must be string
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlNamespace
raml-shapes.xmlNamespace:
datatype: string
amf-parser.XMLSerializer-xmlNamespace-maxCount:
message: property 'namespace' of the XML serialisation mut be a single vlaue
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlNamespace
raml-shapes.xmlNamespace:
maxCount: 1
amf-parser.XMLSerializer-xmlPrefix-datatype:
message: XML prefix serialisation info must be string
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlPrefix
raml-shapes.xmlPrefix:
datatype: string
amf-parser.XMLSerializer-xmlPrefix-maxCount:
message: Property 'prefix' of the XML serialisation mut be a single vlaue
targetClass: raml-shapes.XMLSerializer
propertyConstraint: raml-shapes.xmlPrefix
raml-shapes.xmlPrefix:
maxCount: 1
amf-parser.Shape-defaultValue-maxCount:
message: Default value for a RAML type must be unique
targetClass: raml-shapes.Shape
propertyConstraint: shacl.defaultValue
shacl.defaultValue:
maxCount: 1
amf-parser.ObjectShape-minProperties-minInclusive:
message: minProperties for a RAML Object type cannot be negative
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.minProperties
raml-shapes.minProperties:
minInclusive: 0
amf-parser.ObjectShape-minProperties-datatype:
message: minProperties for a RAML Object type must be an integer
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.minProperties
raml-shapes.minProperties:
datatype: integer
amf-parser.ObjectShape-minProperties-maxCount:
message: minProperties for a RAML Object type must be unique
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.minProperties
raml-shapes.minProperties:
maxCount: 1
amf-parser.ObjectShape-maxProperties-minInclusive:
message: maxProperties for a RAML Object type cannot be negative
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.maxProperties
raml-shapes.maxProperties:
minInclusive: 0
amf-parser.ObjectShape-maxProperties-datatype:
message: maxProperties for a RAML Object type must be an integer
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.maxProperties
raml-shapes.maxProperties:
datatype: integer
amf-parser.ObjectShape-maxProperties-maxCount:
message: maxProperties for a RAML Object type must be unique
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.maxProperties
raml-shapes.maxProperties:
maxCount: 1
amf-parser.ObjectShape-closed-datatype:
message: additionalProperties for a RAML Object type must be a boolean
targetClass: raml-shapes.ObjectShape
propertyConstraint: shacl.closed
shacl.closed:
datatype: boolean
amf-parser.ObjectShape-closed-maxCount:
message: additionalProperties for a RAML Object must be unique
targetClass: raml-shapes.ObjectShape
propertyConstraint: shacl.closed
shacl.closed:
maxCount: 1
amf-parser.ObjectShape-discriminator-datatype:
message: discriminator for RAML Object type must be a string value
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.discriminator
raml-shapes.discriminator:
datatype: string
amf-parser.ObjectShape-discriminator-maxCount:
message: discriminator for RAML Object type must be unique
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.discriminator
raml-shapes.discriminator:
maxCount: 1
amf-parser.ObjectShape-discriminatorValue-datatype:
message: x-discriminatorValue for RAML Object type must be a string value
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.discriminatorValue
raml-shapes.discriminatorValue:
datatype: string
amf-parser.ObjectShape-discriminatorValue-maxCount:
message: x-discriminatorValue for RAML Object type must be unique
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.discriminatorValue
raml-shapes.discriminatorValue:
maxCount: 1
amf-parser.ObjectShape-readOnly-datatype:
message: (amf-readOnly) for a RAML Object type must be a boolean
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.readOnly
raml-shapes.readOnly :
datatype: boolean
amf-parser.ObjectShape-readOnly-maxCount:
message: (amf-readOnly) for a RAML Object must be unique
targetClass: raml-shapes.ObjectShape
propertyConstraint: raml-shapes.readOnly
raml-shapes.readOnly :
maxCount: 1
amf-parser.ArrayShape-item-class:
message: value of the items facet must be a RAML Type
targetClass: raml-shapes.ArrayShape
propertyConstraint: raml-shapes.item
raml-shapes.item:
range: raml-shapes.Shape
amf-parser.ArrayShape-minCount-datatype:
message: minItems for a RAML Array type must be an integer
targetClass: raml-shapes.ArrayShape
propertyConstraint: shacl.minCount
shacl.minCount:
datatype: integer
amf-parser.ArrayShape-minCount-maxCount:
message: minItems for a RAML Array type must be unique
targetClass: raml-shapes.ArrayShape
propertyConstraint: shacl.minCount
shacl.minCount:
maxCount: 1
amf-parser.ArrayShape-minCount-minInclusive:
message: maxItems for a RAML Array type must be greater than 0
targetClass: raml-shapes.ArrayShape
propertyConstraint: shacl.minCount
shacl.minCount:
minInclusive: 0
amf-parser.ArrayShape-maxCount-datatype:
message: maxItems for a RAML Array type must be an integer
targetClass: raml-shapes.ArrayShape
propertyConstraint: shacl.maxCount
shacl.maxCount:
datatype: integer
amf-parser.ArrayShape-maxCount-maxCount:
message: maxItems for a RAML Array type must be unique
targetClass: raml-shapes.ArrayShape
propertyConstraint: shacl.maxCount
shacl.maxCount:
maxCount: 1
amf-parser.ArrayShape-minCount-minInclusive:
message: minItems for a RAML Array type must be greater than 0
targetClass: raml-shapes.ArrayShape
propertyConstraint: shacl.minCount
shacl.minCount:
minInclusive: 0
amf-parser.ArrayShape-uniqueItems-datatype:
message: uniqueItems for a RAML Array type must be a boolean
targetClass: raml-shapes.ArrayShape
propertyConstraint: raml-shapes.uniqueItems
raml-shapes.uniqueItems:
datatype: boolean
amf-parser.ArrayShape-uniqueItems-maxCount:
message: uniqueItems for a RAML Array type must be unique
targetClass: raml-shapes.ArrayShape
propertyConstraint: raml-shapes.uniqueItems
raml-shapes.uniqueItems:
maxCount: 1
amf-parser.ScalarShape-pattern-datatype:
message: pattern facet for a RAML scalar type must be a string
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.pattern
shacl.pattern:
datatype: string
amf-parser.ScalarShape-pattern-maxCount:
message: pattern facet for a RAML scalar type must be unique
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.pattern
shacl.pattern:
maxCount: 1
amf-parser.ScalarShape-minLength-datatype:
message: minLength facet for a RAML scalar type must be a integer
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.minLength
shacl.minLength:
datatype: integer
amf-parser.ScalarShape-minLength-maxCount:
message: minLength facet for a RAML scalar type must be unique
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.minLength
shacl.minLength:
maxCount: 1
amf-parser.ScalarShape-maxLength-datatype:
message: maxLength facet for a RAML scalar type must be a integer
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.maxLength
shacl.maxLength:
datatype: integer
amf-parser.ScalarShape-maxLength-maxCount:
message: maxLength facet for a RAML scalar type must be unique
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.maxLength
shacl.maxLength:
maxCount: 1
amf-parser.ScalarShape-minInclusive-datatype:
message: minimum facet for a RAML scalar type must be a integer
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.minInclusive
shacl.minInclusive:
datatype: integer
amf-parser.ScalarShape-minInclusive-maxCount:
message: minimum facet for a RAML scalar type must be unique
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.minInclusive
shacl.minInclusive:
maxCount: 1
amf-parser.ScalarShape-maxInclusive-datatype:
message: maximum facet for a RAML scalar type must be a integer
targetClass: raml-shapes.ScalarShape
propertyConstraint: shacl.maxInclusive
shacl.maxInclusive:
datatype: integer
amf-parser.ScalarShape-maxInclusive-maxCount: