-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
analyzeconversations.json
1430 lines (1430 loc) · 38.9 KB
/
analyzeconversations.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
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
{
"swagger": "2.0",
"info": {
"title": "Microsoft Cognitive Language Service - Analyze Conversations",
"description": "This API accepts a request and mediates among multiple language projects, such as LUIS Generally Available, Question Answering, Conversation, and then calls the best candidate service to handle the request. At last, it returns a response with the candidate service's response as a payload.\n\n In some cases, this API needs to forward requests and responses between the caller and an upstream service.",
"version": "2022-03-01-preview"
},
"securityDefinitions": {
"apim_key": {
"type": "apiKey",
"description": "A subscription key for a Language service resource.",
"name": "Ocp-Apim-Subscription-Key",
"in": "header"
}
},
"security": [
{
"apim_key": []
}
],
"x-ms-parameterized-host": {
"hostTemplate": "{Endpoint}/language",
"useSchemePrefix": false,
"parameters": [
{
"$ref": "common.json#/parameters/Endpoint"
}
]
},
"paths": {
"/:analyze-conversations": {
"post": {
"operationId": "ConversationAnalysis_AnalyzeConversation",
"description": "Analyzes the input conversation utterance.",
"parameters": [
{
"$ref": "common.json#/parameters/ApiVersionParameter"
},
{
"description": "A single conversational task to execute.",
"in": "body",
"name": "body",
"schema": {
"$ref": "#/definitions/AnalyzeConversationTask"
},
"required": true
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "The conversation analysis response.",
"schema": {
"$ref": "#/definitions/AnalyzeConversationTaskResult"
}
},
"default": {
"description": "Error response.",
"schema": {
"$ref": "common.json#/definitions/ErrorResponse"
},
"headers": {
"x-ms-error-code": {
"description": "The error code for specific error that occurred.",
"type": "string"
}
}
}
},
"x-ms-examples": {
"Arbitration result": {
"$ref": "./examples/conversations/Orchestrator_arbitration.json"
},
"Conversation project result": {
"$ref": "./examples/conversations/Conversation_project.json"
},
"Orchestrator direct target result": {
"$ref": "./examples/conversations/Orchestrator_direct_target.json"
}
}
}
}
},
"definitions": {
"AnalyzeConversationTaskKind": {
"type": "string",
"description": "Enumeration of supported Conversation tasks.",
"enum": [
"CustomConversation"
],
"x-ms-enum": {
"name": "AnalyzeConversationTaskKind",
"modelAsString": true
}
},
"AnalyzeConversationTaskResultsKind": {
"type": "string",
"description": "Enumeration of supported conversational task results",
"enum": [
"CustomConversationResult"
],
"x-ms-enum": {
"name": "AnalyzeConversationTaskResultsKind",
"modelAsString": true
}
},
"AnalyzeConversationTask": {
"description": "The base class of a conversation input task.",
"discriminator": "kind",
"required": [
"kind"
],
"properties": {
"kind": {
"$ref": "#/definitions/AnalyzeConversationTaskKind"
}
}
},
"AnalyzeConversationTaskResult": {
"description": "The base class of a conversation task result.",
"discriminator": "kind",
"required": [
"kind"
],
"properties": {
"kind": {
"$ref": "#/definitions/AnalyzeConversationTaskResultsKind"
}
}
},
"CustomConversationalTask": {
"description": "The input for a custom conversation task.",
"allOf": [
{
"$ref": "#/definitions/AnalyzeConversationTask"
}
],
"properties": {
"analysisInput": {
"$ref": "#/definitions/ConversationAnalysisOptions"
},
"parameters": {
"$ref": "#/definitions/CustomConversationTaskParameters"
}
},
"x-ms-discriminator-value": "CustomConversation",
"required": [
"analysisInput",
"parameters"
]
},
"CustomConversationTaskParameters": {
"type": "object",
"description": "Input parameters necessary for a Custom Conversation Task.",
"properties": {
"projectName": {
"type": "string",
"description": "The name of the project to use."
},
"deploymentName": {
"type": "string",
"description": "The name of the specific deployment of the project to use."
},
"verbose": {
"type": "boolean",
"description": "If true, the service will return more detailed information in the response."
}
},
"required": [
"projectName",
"deploymentName"
]
},
"CustomConversationalTaskResult": {
"description": "The results of a custom conversation task.",
"allOf": [
{
"$ref": "#/definitions/AnalyzeConversationTaskResult"
}
],
"type": "object",
"properties": {
"results": {
"$ref": "#/definitions/AnalyzeConversationResult"
}
},
"required": [
"results"
],
"x-ms-discriminator-value": "CustomConversationResult"
},
"ConversationItemBase": {
"type": "object",
"discriminator": "modality",
"description": "The abstract base for a user input formatted conversation (e.g., Text, Transcript).",
"properties": {
"participantId": {
"description": "The user input unique identifier corresponding each participant in the conversation",
"type": "string"
},
"id": {
"description": "The user input unique identifier corresponding the conversation Item (utterance)",
"type": "string"
},
"language": {
"description": "The input language of the conversation item",
"type": "string"
},
"modality": {
"description": "The modality (format) of the conversation item (e.g., Text, Transcript)",
"type": "string",
"enum": [
"text"
],
"x-ms-enum": {
"name": "modality",
"modelAsString": false
}
}
},
"required": [
"participantId",
"id",
"modality"
]
},
"TextConversationItem": {
"description": "The Text modality of an input conversation.",
"x-ms-discriminator-value": "text",
"allOf": [
{
"$ref": "#/definitions/ConversationItemBase"
}
],
"properties": {
"text": {
"description": "The single input query",
"type": "string"
}
},
"required": [
"text"
]
},
"ConversationAnalysisOptions": {
"type": "object",
"description": "The input conversation item and its optional parameters",
"required": [
"conversationItem"
],
"properties": {
"conversationItem": {
"$ref": "#/definitions/ConversationItemBase"
},
"directTarget": {
"type": "string",
"description": "The name of the target project this request is sending to directly."
},
"isLoggingEnabled": {
"description": "If true, the query will be kept by the service for customers to further review, to improve the model quality.",
"type": "boolean"
},
"parameters": {
"type": "object",
"description": "A dictionary representing the input for each target project.",
"additionalProperties": {
"$ref": "#/definitions/AnalysisParameters"
}
}
}
},
"AnalysisParameters": {
"type": "object",
"description": "This is the parameter set of either the Orchestration project itself or one of the target services.",
"required": [
"targetKind"
],
"discriminator": "targetKind",
"properties": {
"targetKind": {
"type": "string",
"description": "The type of a target service.",
"enum": [
"luis",
"conversation",
"question_answering",
"non_linked"
],
"x-ms-enum": {
"name": "targetKind",
"modelAsString": true
}
},
"apiVersion": {
"type": "string",
"description": "The API version to use when call a specific target service."
}
}
},
"NoneLinkedTargetIntentResult": {
"type": "object",
"description": "A wrap up of non-linked intent response.",
"x-ms-discriminator-value": "non_linked",
"allOf": [
{
"$ref": "#/definitions/TargetIntentResult"
}
],
"properties": {
"result": {
"$ref": "#/definitions/ConversationResult",
"description": "The actual response from a Conversation project."
}
}
},
"LUISParameters": {
"description": "This is a set of request parameters for LUIS Generally Available projects.",
"x-ms-discriminator-value": "luis",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AnalysisParameters"
}
],
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"description": "The utterance to predict."
},
"callingOptions": {
"type": "object",
"description": "This customizes how the service calls LUIS Generally Available projects.",
"$ref": "#/definitions/LUISCallingOptions"
}
},
"additionalProperties": true
},
"LUISCallingOptions": {
"description": "This customizes how the service calls LUIS Generally Available projects.",
"type": "object",
"properties": {
"verbose": {
"description": "Enable verbose response.",
"type": "boolean"
},
"log": {
"description": "Save log to add in training utterances later.",
"type": "boolean"
},
"show-all-intents": {
"description": "Set true to show all intents.",
"type": "boolean"
},
"timezoneOffset": {
"type": "number",
"description": "The timezone offset for the location of the request."
},
"spellCheck": {
"type": "boolean",
"description": "Enable spell checking."
},
"bing-spell-check-subscription-key": {
"description": "The subscription key to use when enabling Bing spell check",
"type": "string"
}
}
},
"ConversationParameters": {
"type": "object",
"description": "This is a set of request parameters for Customized Conversation projects.",
"x-ms-discriminator-value": "conversation",
"allOf": [
{
"$ref": "#/definitions/AnalysisParameters"
}
],
"properties": {
"callingOptions": {
"type": "object",
"$ref": "#/definitions/ConversationCallingOptions"
}
}
},
"ConversationCallingOptions": {
"type": "object",
"description": "The option to set to call a Conversation project.",
"properties": {
"language": {
"description": "The language of the query.",
"type": "string"
},
"verbose": {
"description": "If true, the service will return more detailed information.",
"type": "boolean"
},
"isLoggingEnabled": {
"description": "If true, the query will be saved for customers to further review in authoring, to improve the model quality.",
"type": "boolean"
}
}
},
"QuestionAnsweringParameters": {
"type": "object",
"description": "This is a set of request parameters for Question Answering knowledge bases.",
"x-ms-discriminator-value": "question_answering",
"allOf": [
{
"$ref": "#/definitions/AnalysisParameters"
}
],
"properties": {
"callingOptions": {
"type": "object",
"description": "The options sent to a Question Answering KB."
}
}
},
"AnalyzeConversationResult": {
"type": "object",
"description": "Represents a conversation analysis response.",
"required": [
"query",
"prediction"
],
"properties": {
"query": {
"type": "string",
"description": "The conversation utterance given by the caller."
},
"detectedLanguage": {
"type": "string",
"description": "The system detected language for the query."
},
"prediction": {
"description": "The prediction result of a conversation project.",
"$ref": "#/definitions/BasePrediction"
}
}
},
"BasePrediction": {
"type": "object",
"description": "This is the base class of prediction",
"required": [
"projectKind"
],
"discriminator": "projectKind",
"properties": {
"projectKind": {
"type": "string",
"description": "The type of the project.",
"enum": [
"conversation",
"workflow"
],
"x-ms-enum": {
"name": "projectKind",
"modelAsString": true
}
},
"topIntent": {
"type": "string",
"description": "The intent with the highest score."
}
}
},
"OrchestratorPrediction": {
"type": "object",
"description": "This represents the prediction result of an Orchestrator project.",
"x-ms-discriminator-value": "workflow",
"required": [
"intents"
],
"allOf": [
{
"$ref": "#/definitions/BasePrediction"
}
],
"properties": {
"intents": {
"description": "A dictionary that contains all intents. A key is an intent name and a value is its confidence score and target type. The top intent's value also contains the actual response from the target project.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/TargetIntentResult"
}
}
}
},
"TargetIntentResult": {
"type": "object",
"description": "This is the base class of an intent prediction",
"discriminator": "targetKind",
"required": [
"confidenceScore",
"targetKind"
],
"properties": {
"targetKind": {
"type": "string",
"description": "This discriminator property specifies the type of the target project that returns the response.",
"enum": [
"luis",
"conversation",
"question_answering",
"non_linked"
],
"x-ms-enum": {
"name": "targetKind",
"modelAsString": true
}
},
"apiVersion": {
"type": "string",
"description": "The API version used to call a target service."
},
"confidenceScore": {
"type": "number",
"format": "double",
"x-ms-client-name": "confidence",
"description": "The prediction score and it ranges from 0.0 to 1.0.",
"minimum": 0,
"maximum": 1
}
}
},
"ConversationTargetIntentResult": {
"type": "object",
"description": "A wrap up of Conversation project response.",
"x-ms-discriminator-value": "conversation",
"allOf": [
{
"$ref": "#/definitions/TargetIntentResult"
}
],
"properties": {
"result": {
"type": "object",
"$ref": "#/definitions/ConversationResult",
"description": "The actual response from a Conversation project."
}
}
},
"ConversationResult": {
"type": "object",
"description": "The response returned by a Conversation project.",
"required": [
"query",
"prediction"
],
"properties": {
"query": {
"description": "The same query given in request.",
"type": "string"
},
"detectedLanguage": {
"description": "The detected language from the query.",
"type": "string"
},
"prediction": {
"description": "The predicted result for the query.",
"$ref": "#/definitions/ConversationPrediction"
}
}
},
"ConversationPrediction": {
"type": "object",
"description": "Represents the prediction section of a Conversation project.",
"x-ms-discriminator-value": "conversation",
"required": [
"intents",
"entities"
],
"allOf": [
{
"$ref": "#/definitions/BasePrediction"
}
],
"properties": {
"intents": {
"description": "The intent classification results.",
"type": "array",
"items": {
"$ref": "#/definitions/ConversationIntent"
}
},
"entities": {
"description": "The entity extraction results.",
"type": "array",
"items": {
"$ref": "#/definitions/ConversationEntity"
}
}
}
},
"ConversationIntent": {
"type": "object",
"description": "The intent classification result of a Conversation project.",
"required": [
"category",
"confidenceScore"
],
"properties": {
"category": {
"description": "A predicted class.",
"type": "string"
},
"confidenceScore": {
"format": "float",
"x-ms-client-name": "confidence",
"description": "The confidence score of the class from 0.0 to 1.0.",
"type": "number",
"minimum": 0,
"maximum": 1
}
}
},
"ConversationEntity": {
"type": "object",
"description": "The entity extraction result of a Conversation project.",
"required": [
"category",
"text",
"offset",
"length",
"confidenceScore"
],
"properties": {
"category": {
"description": "The entity category.",
"type": "string"
},
"text": {
"description": "The predicted entity text.",
"type": "string"
},
"offset": {
"format": "int32",
"description": "The starting index of this entity in the query.",
"type": "integer"
},
"length": {
"format": "int32",
"description": "The length of the text.",
"type": "integer"
},
"confidenceScore": {
"format": "float",
"x-ms-client-name": "confidence",
"description": "The entity confidence score.",
"type": "number"
},
"resolutions": {
"description": "The collection of entity resolution objects.",
"type": "array",
"items": {
"$ref": "#/definitions/BaseResolution"
}
},
"extraInformation": {
"description": "The collection of entity extra information objects.",
"type": "array",
"items": {
"$ref": "#/definitions/BaseExtraInformation"
}
}
}
},
"BaseExtraInformation": {
"description": "The abstract base object for entity extra information.",
"type": "object",
"discriminator": "extraInformationKind",
"properties": {
"extraInformationKind": {
"description": "The extra information object kind.",
"type": "string",
"enum": [
"EntitySubtype",
"ListKeys"
],
"x-ms-enum": {
"name": "ExtraInformationKind",
"modelAsString": false
}
}
},
"required": [
"extraInformationKind"
]
},
"EntitySubtype": {
"description": "The concrete entity Subtype model of extra information.",
"allOf": [
{
"$ref": "#/definitions/BaseExtraInformation"
}
],
"type": "object",
"x-ms-discriminator-value": "EntitySubtype",
"properties": {
"value": {
"type": "string",
"description": "The Subtype of an extracted entity type."
}
}
},
"ListKeys": {
"description": "The concrete entity list key's model of extra information.",
"allOf": [
{
"$ref": "#/definitions/BaseExtraInformation"
}
],
"type": "object",
"x-ms-discriminator-value": "ListKeys",
"properties": {
"keys": {
"type": "array",
"description": "A Collection of keys that the extracted entity was mapped to.",
"items": {
"type": "string"
}
}
}
},
"BaseResolution": {
"description": "The abstract base class for entity resolutions.",
"type": "object",
"discriminator": "resolutionKind",
"properties": {
"resolutionKind": {
"description": "The entity resolution object kind.",
"type": "string",
"enum": [
"Boolean",
"DateTime",
"Number",
"Ordinal",
"Speed",
"Weight",
"Length",
"Volume",
"Area",
"Age",
"Information",
"Temperature",
"Currency",
"NumericRange",
"TemporalSpan"
],
"x-ms-enum": {
"name": "ResolutionKind",
"modelAsString": false
}
}
},
"required": [
"resolutionKind"
]
},
"QuantityResolution": {
"description": "represents resolutions for quantities.",
"type": "object",
"properties": {
"value": {
"type": "number",
"format": "double",
"description": "The numeric value that the extracted text denotes."
}
},
"required": [
"value"
]
},
"AgeResolution": {
"description": "Represents the Age entity resolution model.",
"allOf": [
{
"$ref": "#/definitions/BaseResolution"
},
{
"$ref": "#/definitions/QuantityResolution"
}
],
"type": "object",
"x-ms-discriminator-value": "Age",
"properties": {
"unit": {
"type": "string",
"enum": [
"Unspecified",
"Year",
"Month",
"Week",
"Day"
],
"x-ms-enum": {
"name": "AgeUnit",
"modelAsString": true
},
"description": "The Age Unit of measurement"
}
},
"required": [
"unit"
]
},
"VolumeResolution": {
"description": "Represents the volume entity resolution model.",
"allOf": [
{
"$ref": "#/definitions/BaseResolution"
},
{
"$ref": "#/definitions/QuantityResolution"
}
],
"type": "object",
"x-ms-discriminator-value": "Volume",
"properties": {
"unit": {
"type": "string",
"enum": [
"Unspecified",
"CubicMeter",
"CubicCentimeter",
"CubicMillimeter",
"Hectoliter",
"Decaliter",
"Liter",
"Centiliter",
"Milliliter",
"CubicYard",
"CubicInch",
"CubicFoot",
"CubicMile",
"FluidOunce",
"Teaspoon",
"Tablespoon",
"Pint",
"Quart",
"Cup",
"Gill",
"Pinch",
"FluidDram",
"Barrel",
"Minim",
"Cord",
"Peck",
"Bushel",
"Hogshead"
],
"x-ms-enum": {
"name": "VolumeUnit",
"modelAsString": true
},
"description": "The Volume Unit of measurement"
}
},
"required": [
"unit"
]
},
"SpeedResolution": {
"description": "Represents the speed entity resolution model.",
"allOf": [
{
"$ref": "#/definitions/BaseResolution"
},
{
"$ref": "#/definitions/QuantityResolution"
}
],
"type": "object",
"x-ms-discriminator-value": "Speed",
"properties": {
"unit": {
"type": "string",
"enum": [
"Unspecified",
"MetersPerSecond",
"KilometersPerHour",
"KilometersPerMinute",
"KilometersPerSecond",
"MilesPerHour",
"Knot",
"FootPerSecond",
"FootPerMinute",
"YardsPerMinute",
"YardsPerSecond",
"MetersPerMillisecond",
"CentimetersPerMillisecond",
"KilometersPerMillisecond"
],
"x-ms-enum": {
"name": "SpeedUnit",
"modelAsString": true
},
"description": "The speed Unit of measurement"
}
},
"required": [
"unit"
]
},
"AreaResolution": {
"description": "Represents the area entity resolution model.",
"allOf": [
{
"$ref": "#/definitions/BaseResolution"
},
{
"$ref": "#/definitions/QuantityResolution"
}
],
"type": "object",
"x-ms-discriminator-value": "Area",
"properties": {
"unit": {
"type": "string",
"enum": [
"Unspecified",
"SquareKilometer",
"SquareHectometer",
"SquareDecameter",
"SquareDecimeter",
"SquareMeter",
"SquareCentimeter",
"SquareMillimeter",
"SquareInch",
"SquareFoot",
"SquareMile",
"SquareYard",
"Acre"
],
"x-ms-enum": {
"name": "AreaUnit",
"modelAsString": true
},
"description": "The area Unit of measurement"
}
},
"required": [
"unit"
]
},
"LengthResolution": {
"description": "Represents the length entity resolution model.",
"allOf": [
{
"$ref": "#/definitions/BaseResolution"
},
{
"$ref": "#/definitions/QuantityResolution"
}
],
"type": "object",
"x-ms-discriminator-value": "Length",
"properties": {
"unit": {
"type": "string",
"enum": [
"Unspecified",
"Kilometer",
"Hectometer",
"Decameter",
"Meter",
"Decimeter",
"Centimeter",
"Millimeter",
"Micrometer",
"Nanometer",
"Picometer",
"Mile",
"Yard",
"Inch",
"Foot",
"LightYear",
"Pt"
],
"x-ms-enum": {
"name": "LengthUnit",
"modelAsString": true
},
"description": "The length Unit of measurement"
}
},
"required": [
"unit"
]
},
"InformationResolution": {
"description": "Represents the information (data) entity resolution model.",
"allOf": [
{
"$ref": "#/definitions/BaseResolution"