@ancplua/qyl-api-schema 0.6.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,9 @@
11
11
  {
12
12
  "name": "Runner resources"
13
13
  },
14
+ {
15
+ "name": "Runner MCP"
16
+ },
14
17
  {
15
18
  "name": "Runner workspaces"
16
19
  },
@@ -2600,13 +2603,628 @@
2600
2603
  "content": {
2601
2604
  "application/problem+json": {
2602
2605
  "schema": {
2603
- "$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
2606
+ "$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
2607
+ }
2608
+ }
2609
+ }
2610
+ },
2611
+ "404": {
2612
+ "description": "Resource not found (404)",
2613
+ "headers": {
2614
+ "X-Trace-Id": {
2615
+ "required": false,
2616
+ "description": "Trace ID for correlation",
2617
+ "schema": {
2618
+ "type": "string"
2619
+ }
2620
+ },
2621
+ "X-Request-Id": {
2622
+ "required": false,
2623
+ "description": "Request ID for support",
2624
+ "schema": {
2625
+ "type": "string"
2626
+ }
2627
+ }
2628
+ },
2629
+ "content": {
2630
+ "application/problem+json": {
2631
+ "schema": {
2632
+ "$ref": "#/components/schemas/Common.Errors.NotFoundError"
2633
+ }
2634
+ }
2635
+ }
2636
+ },
2637
+ "500": {
2638
+ "description": "Internal server error (500)",
2639
+ "headers": {
2640
+ "X-Trace-Id": {
2641
+ "required": false,
2642
+ "description": "Trace ID for correlation",
2643
+ "schema": {
2644
+ "type": "string"
2645
+ }
2646
+ },
2647
+ "X-Request-Id": {
2648
+ "required": false,
2649
+ "description": "Request ID for support",
2650
+ "schema": {
2651
+ "type": "string"
2652
+ }
2653
+ }
2654
+ },
2655
+ "content": {
2656
+ "application/problem+json": {
2657
+ "schema": {
2658
+ "$ref": "#/components/schemas/Common.Errors.InternalServerError"
2659
+ }
2660
+ }
2661
+ }
2662
+ }
2663
+ },
2664
+ "tags": [
2665
+ "Traces"
2666
+ ],
2667
+ "security": [
2668
+ {
2669
+ "ApiKeyAuth": []
2670
+ }
2671
+ ]
2672
+ }
2673
+ },
2674
+ "/health": {
2675
+ "get": {
2676
+ "operationId": "health_ready",
2677
+ "parameters": [],
2678
+ "responses": {
2679
+ "200": {
2680
+ "description": "The request has succeeded.",
2681
+ "content": {
2682
+ "application/json": {
2683
+ "schema": {
2684
+ "$ref": "#/components/schemas/Health.HealthReport"
2685
+ }
2686
+ }
2687
+ }
2688
+ },
2689
+ "503": {
2690
+ "description": "Service unavailable.",
2691
+ "content": {
2692
+ "application/json": {
2693
+ "schema": {
2694
+ "$ref": "#/components/schemas/Health.HealthReport"
2695
+ }
2696
+ }
2697
+ }
2698
+ }
2699
+ },
2700
+ "tags": [
2701
+ "Health"
2702
+ ]
2703
+ }
2704
+ },
2705
+ "/runner/mcp/{resource}/resources/read": {
2706
+ "post": {
2707
+ "operationId": "RunnerMcpApi_readResource",
2708
+ "description": "Accepts and returns MCP SDK-owned resources/read bodies without redefining the protocol DTOs.",
2709
+ "parameters": [
2710
+ {
2711
+ "name": "resource",
2712
+ "in": "path",
2713
+ "required": true,
2714
+ "schema": {
2715
+ "type": "string"
2716
+ }
2717
+ }
2718
+ ],
2719
+ "responses": {
2720
+ "200": {
2721
+ "description": "The request has succeeded.",
2722
+ "content": {
2723
+ "application/json": {
2724
+ "schema": {}
2725
+ }
2726
+ }
2727
+ },
2728
+ "400": {
2729
+ "description": "Bad request - validation failed (400)",
2730
+ "headers": {
2731
+ "X-Trace-Id": {
2732
+ "required": false,
2733
+ "description": "Trace ID for correlation",
2734
+ "schema": {
2735
+ "type": "string"
2736
+ }
2737
+ },
2738
+ "X-Request-Id": {
2739
+ "required": false,
2740
+ "description": "Request ID for support",
2741
+ "schema": {
2742
+ "type": "string"
2743
+ }
2744
+ }
2745
+ },
2746
+ "content": {
2747
+ "application/problem+json": {
2748
+ "schema": {
2749
+ "$ref": "#/components/schemas/Common.Errors.ValidationError"
2750
+ }
2751
+ }
2752
+ }
2753
+ },
2754
+ "403": {
2755
+ "description": "Forbidden - insufficient permissions (403)",
2756
+ "headers": {
2757
+ "X-Trace-Id": {
2758
+ "required": false,
2759
+ "description": "Trace ID for correlation",
2760
+ "schema": {
2761
+ "type": "string"
2762
+ }
2763
+ },
2764
+ "X-Request-Id": {
2765
+ "required": false,
2766
+ "description": "Request ID for support",
2767
+ "schema": {
2768
+ "type": "string"
2769
+ }
2770
+ }
2771
+ },
2772
+ "content": {
2773
+ "application/problem+json": {
2774
+ "schema": {
2775
+ "$ref": "#/components/schemas/Common.Errors.ForbiddenError"
2776
+ }
2777
+ }
2778
+ }
2779
+ },
2780
+ "404": {
2781
+ "description": "Resource not found (404)",
2782
+ "headers": {
2783
+ "X-Trace-Id": {
2784
+ "required": false,
2785
+ "description": "Trace ID for correlation",
2786
+ "schema": {
2787
+ "type": "string"
2788
+ }
2789
+ },
2790
+ "X-Request-Id": {
2791
+ "required": false,
2792
+ "description": "Request ID for support",
2793
+ "schema": {
2794
+ "type": "string"
2795
+ }
2796
+ }
2797
+ },
2798
+ "content": {
2799
+ "application/problem+json": {
2800
+ "schema": {
2801
+ "$ref": "#/components/schemas/Common.Errors.NotFoundError"
2802
+ }
2803
+ }
2804
+ }
2805
+ },
2806
+ "409": {
2807
+ "description": "Conflict - resource state conflict (409)",
2808
+ "headers": {
2809
+ "X-Trace-Id": {
2810
+ "required": false,
2811
+ "description": "Trace ID for correlation",
2812
+ "schema": {
2813
+ "type": "string"
2814
+ }
2815
+ },
2816
+ "X-Request-Id": {
2817
+ "required": false,
2818
+ "description": "Request ID for support",
2819
+ "schema": {
2820
+ "type": "string"
2821
+ }
2822
+ }
2823
+ },
2824
+ "content": {
2825
+ "application/problem+json": {
2826
+ "schema": {
2827
+ "$ref": "#/components/schemas/Common.Errors.ConflictError"
2828
+ }
2829
+ }
2830
+ }
2831
+ },
2832
+ "500": {
2833
+ "description": "Internal server error (500)",
2834
+ "headers": {
2835
+ "X-Trace-Id": {
2836
+ "required": false,
2837
+ "description": "Trace ID for correlation",
2838
+ "schema": {
2839
+ "type": "string"
2840
+ }
2841
+ },
2842
+ "X-Request-Id": {
2843
+ "required": false,
2844
+ "description": "Request ID for support",
2845
+ "schema": {
2846
+ "type": "string"
2847
+ }
2848
+ }
2849
+ },
2850
+ "content": {
2851
+ "application/problem+json": {
2852
+ "schema": {
2853
+ "$ref": "#/components/schemas/Common.Errors.InternalServerError"
2854
+ }
2855
+ }
2856
+ }
2857
+ },
2858
+ "502": {
2859
+ "description": "Upstream dependency failed while fulfilling the request (502)",
2860
+ "headers": {
2861
+ "X-Trace-Id": {
2862
+ "required": false,
2863
+ "description": "Trace ID for correlation",
2864
+ "schema": {
2865
+ "type": "string"
2866
+ }
2867
+ },
2868
+ "X-Request-Id": {
2869
+ "required": false,
2870
+ "description": "Request ID for support",
2871
+ "schema": {
2872
+ "type": "string"
2873
+ }
2874
+ }
2875
+ },
2876
+ "content": {
2877
+ "application/problem+json": {
2878
+ "schema": {
2879
+ "$ref": "#/components/schemas/Common.Errors.BadGatewayError"
2880
+ }
2881
+ }
2882
+ }
2883
+ },
2884
+ "503": {
2885
+ "description": "Service unavailable (503)",
2886
+ "headers": {
2887
+ "Retry-After": {
2888
+ "required": false,
2889
+ "description": "Expected availability time",
2890
+ "schema": {
2891
+ "type": "integer",
2892
+ "format": "int32"
2893
+ }
2894
+ },
2895
+ "X-Trace-Id": {
2896
+ "required": false,
2897
+ "description": "Trace ID for correlation",
2898
+ "schema": {
2899
+ "type": "string"
2900
+ }
2901
+ },
2902
+ "X-Request-Id": {
2903
+ "required": false,
2904
+ "description": "Request ID for support",
2905
+ "schema": {
2906
+ "type": "string"
2907
+ }
2908
+ }
2909
+ },
2910
+ "content": {
2911
+ "application/problem+json": {
2912
+ "schema": {
2913
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2914
+ }
2915
+ }
2916
+ }
2917
+ }
2918
+ },
2919
+ "tags": [
2920
+ "Runner MCP"
2921
+ ],
2922
+ "requestBody": {
2923
+ "required": true,
2924
+ "content": {
2925
+ "application/json": {
2926
+ "schema": {}
2927
+ }
2928
+ }
2929
+ }
2930
+ }
2931
+ },
2932
+ "/runner/mcp/{resource}/tools": {
2933
+ "get": {
2934
+ "operationId": "RunnerMcpApi_listTools",
2935
+ "description": "Returns the MCP SDK-owned tools/list result without redefining its protocol body.",
2936
+ "parameters": [
2937
+ {
2938
+ "name": "resource",
2939
+ "in": "path",
2940
+ "required": true,
2941
+ "schema": {
2942
+ "type": "string"
2943
+ }
2944
+ }
2945
+ ],
2946
+ "responses": {
2947
+ "200": {
2948
+ "description": "The request has succeeded.",
2949
+ "content": {
2950
+ "application/json": {
2951
+ "schema": {}
2952
+ }
2953
+ }
2954
+ },
2955
+ "403": {
2956
+ "description": "Forbidden - insufficient permissions (403)",
2957
+ "headers": {
2958
+ "X-Trace-Id": {
2959
+ "required": false,
2960
+ "description": "Trace ID for correlation",
2961
+ "schema": {
2962
+ "type": "string"
2963
+ }
2964
+ },
2965
+ "X-Request-Id": {
2966
+ "required": false,
2967
+ "description": "Request ID for support",
2968
+ "schema": {
2969
+ "type": "string"
2970
+ }
2971
+ }
2972
+ },
2973
+ "content": {
2974
+ "application/problem+json": {
2975
+ "schema": {
2976
+ "$ref": "#/components/schemas/Common.Errors.ForbiddenError"
2977
+ }
2978
+ }
2979
+ }
2980
+ },
2981
+ "404": {
2982
+ "description": "Resource not found (404)",
2983
+ "headers": {
2984
+ "X-Trace-Id": {
2985
+ "required": false,
2986
+ "description": "Trace ID for correlation",
2987
+ "schema": {
2988
+ "type": "string"
2989
+ }
2990
+ },
2991
+ "X-Request-Id": {
2992
+ "required": false,
2993
+ "description": "Request ID for support",
2994
+ "schema": {
2995
+ "type": "string"
2996
+ }
2997
+ }
2998
+ },
2999
+ "content": {
3000
+ "application/problem+json": {
3001
+ "schema": {
3002
+ "$ref": "#/components/schemas/Common.Errors.NotFoundError"
3003
+ }
3004
+ }
3005
+ }
3006
+ },
3007
+ "409": {
3008
+ "description": "Conflict - resource state conflict (409)",
3009
+ "headers": {
3010
+ "X-Trace-Id": {
3011
+ "required": false,
3012
+ "description": "Trace ID for correlation",
3013
+ "schema": {
3014
+ "type": "string"
3015
+ }
3016
+ },
3017
+ "X-Request-Id": {
3018
+ "required": false,
3019
+ "description": "Request ID for support",
3020
+ "schema": {
3021
+ "type": "string"
3022
+ }
3023
+ }
3024
+ },
3025
+ "content": {
3026
+ "application/problem+json": {
3027
+ "schema": {
3028
+ "$ref": "#/components/schemas/Common.Errors.ConflictError"
3029
+ }
3030
+ }
3031
+ }
3032
+ },
3033
+ "500": {
3034
+ "description": "Internal server error (500)",
3035
+ "headers": {
3036
+ "X-Trace-Id": {
3037
+ "required": false,
3038
+ "description": "Trace ID for correlation",
3039
+ "schema": {
3040
+ "type": "string"
3041
+ }
3042
+ },
3043
+ "X-Request-Id": {
3044
+ "required": false,
3045
+ "description": "Request ID for support",
3046
+ "schema": {
3047
+ "type": "string"
3048
+ }
3049
+ }
3050
+ },
3051
+ "content": {
3052
+ "application/problem+json": {
3053
+ "schema": {
3054
+ "$ref": "#/components/schemas/Common.Errors.InternalServerError"
3055
+ }
3056
+ }
3057
+ }
3058
+ },
3059
+ "502": {
3060
+ "description": "Upstream dependency failed while fulfilling the request (502)",
3061
+ "headers": {
3062
+ "X-Trace-Id": {
3063
+ "required": false,
3064
+ "description": "Trace ID for correlation",
3065
+ "schema": {
3066
+ "type": "string"
3067
+ }
3068
+ },
3069
+ "X-Request-Id": {
3070
+ "required": false,
3071
+ "description": "Request ID for support",
3072
+ "schema": {
3073
+ "type": "string"
3074
+ }
3075
+ }
3076
+ },
3077
+ "content": {
3078
+ "application/problem+json": {
3079
+ "schema": {
3080
+ "$ref": "#/components/schemas/Common.Errors.BadGatewayError"
3081
+ }
3082
+ }
3083
+ }
3084
+ },
3085
+ "503": {
3086
+ "description": "Service unavailable (503)",
3087
+ "headers": {
3088
+ "Retry-After": {
3089
+ "required": false,
3090
+ "description": "Expected availability time",
3091
+ "schema": {
3092
+ "type": "integer",
3093
+ "format": "int32"
3094
+ }
3095
+ },
3096
+ "X-Trace-Id": {
3097
+ "required": false,
3098
+ "description": "Trace ID for correlation",
3099
+ "schema": {
3100
+ "type": "string"
3101
+ }
3102
+ },
3103
+ "X-Request-Id": {
3104
+ "required": false,
3105
+ "description": "Request ID for support",
3106
+ "schema": {
3107
+ "type": "string"
3108
+ }
3109
+ }
3110
+ },
3111
+ "content": {
3112
+ "application/problem+json": {
3113
+ "schema": {
3114
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
3115
+ }
3116
+ }
3117
+ }
3118
+ }
3119
+ },
3120
+ "tags": [
3121
+ "Runner MCP"
3122
+ ]
3123
+ }
3124
+ },
3125
+ "/runner/mcp/{resource}/tools/call": {
3126
+ "post": {
3127
+ "operationId": "RunnerMcpApi_callTool",
3128
+ "description": "Accepts and returns MCP SDK-owned tools/call bodies without redefining the protocol DTOs.",
3129
+ "parameters": [
3130
+ {
3131
+ "name": "resource",
3132
+ "in": "path",
3133
+ "required": true,
3134
+ "schema": {
3135
+ "type": "string"
3136
+ }
3137
+ }
3138
+ ],
3139
+ "responses": {
3140
+ "200": {
3141
+ "description": "The request has succeeded.",
3142
+ "content": {
3143
+ "application/json": {
3144
+ "schema": {}
3145
+ }
3146
+ }
3147
+ },
3148
+ "400": {
3149
+ "description": "Bad request - validation failed (400)",
3150
+ "headers": {
3151
+ "X-Trace-Id": {
3152
+ "required": false,
3153
+ "description": "Trace ID for correlation",
3154
+ "schema": {
3155
+ "type": "string"
3156
+ }
3157
+ },
3158
+ "X-Request-Id": {
3159
+ "required": false,
3160
+ "description": "Request ID for support",
3161
+ "schema": {
3162
+ "type": "string"
3163
+ }
3164
+ }
3165
+ },
3166
+ "content": {
3167
+ "application/problem+json": {
3168
+ "schema": {
3169
+ "$ref": "#/components/schemas/Common.Errors.ValidationError"
3170
+ }
3171
+ }
3172
+ }
3173
+ },
3174
+ "403": {
3175
+ "description": "Forbidden - insufficient permissions (403)",
3176
+ "headers": {
3177
+ "X-Trace-Id": {
3178
+ "required": false,
3179
+ "description": "Trace ID for correlation",
3180
+ "schema": {
3181
+ "type": "string"
3182
+ }
3183
+ },
3184
+ "X-Request-Id": {
3185
+ "required": false,
3186
+ "description": "Request ID for support",
3187
+ "schema": {
3188
+ "type": "string"
3189
+ }
3190
+ }
3191
+ },
3192
+ "content": {
3193
+ "application/problem+json": {
3194
+ "schema": {
3195
+ "$ref": "#/components/schemas/Common.Errors.ForbiddenError"
3196
+ }
3197
+ }
3198
+ }
3199
+ },
3200
+ "404": {
3201
+ "description": "Resource not found (404)",
3202
+ "headers": {
3203
+ "X-Trace-Id": {
3204
+ "required": false,
3205
+ "description": "Trace ID for correlation",
3206
+ "schema": {
3207
+ "type": "string"
3208
+ }
3209
+ },
3210
+ "X-Request-Id": {
3211
+ "required": false,
3212
+ "description": "Request ID for support",
3213
+ "schema": {
3214
+ "type": "string"
3215
+ }
3216
+ }
3217
+ },
3218
+ "content": {
3219
+ "application/problem+json": {
3220
+ "schema": {
3221
+ "$ref": "#/components/schemas/Common.Errors.NotFoundError"
2604
3222
  }
2605
3223
  }
2606
3224
  }
2607
3225
  },
2608
- "404": {
2609
- "description": "Resource not found (404)",
3226
+ "409": {
3227
+ "description": "Conflict - resource state conflict (409)",
2610
3228
  "headers": {
2611
3229
  "X-Trace-Id": {
2612
3230
  "required": false,
@@ -2626,7 +3244,7 @@
2626
3244
  "content": {
2627
3245
  "application/problem+json": {
2628
3246
  "schema": {
2629
- "$ref": "#/components/schemas/Common.Errors.NotFoundError"
3247
+ "$ref": "#/components/schemas/Common.Errors.ConflictError"
2630
3248
  }
2631
3249
  }
2632
3250
  }
@@ -2656,47 +3274,79 @@
2656
3274
  }
2657
3275
  }
2658
3276
  }
2659
- }
2660
- },
2661
- "tags": [
2662
- "Traces"
2663
- ],
2664
- "security": [
2665
- {
2666
- "ApiKeyAuth": []
2667
- }
2668
- ]
2669
- }
2670
- },
2671
- "/health": {
2672
- "get": {
2673
- "operationId": "health_ready",
2674
- "parameters": [],
2675
- "responses": {
2676
- "200": {
2677
- "description": "The request has succeeded.",
3277
+ },
3278
+ "502": {
3279
+ "description": "Upstream dependency failed while fulfilling the request (502)",
3280
+ "headers": {
3281
+ "X-Trace-Id": {
3282
+ "required": false,
3283
+ "description": "Trace ID for correlation",
3284
+ "schema": {
3285
+ "type": "string"
3286
+ }
3287
+ },
3288
+ "X-Request-Id": {
3289
+ "required": false,
3290
+ "description": "Request ID for support",
3291
+ "schema": {
3292
+ "type": "string"
3293
+ }
3294
+ }
3295
+ },
2678
3296
  "content": {
2679
- "application/json": {
3297
+ "application/problem+json": {
2680
3298
  "schema": {
2681
- "$ref": "#/components/schemas/Health.HealthReport"
3299
+ "$ref": "#/components/schemas/Common.Errors.BadGatewayError"
2682
3300
  }
2683
3301
  }
2684
3302
  }
2685
3303
  },
2686
3304
  "503": {
2687
- "description": "Service unavailable.",
3305
+ "description": "Service unavailable (503)",
3306
+ "headers": {
3307
+ "Retry-After": {
3308
+ "required": false,
3309
+ "description": "Expected availability time",
3310
+ "schema": {
3311
+ "type": "integer",
3312
+ "format": "int32"
3313
+ }
3314
+ },
3315
+ "X-Trace-Id": {
3316
+ "required": false,
3317
+ "description": "Trace ID for correlation",
3318
+ "schema": {
3319
+ "type": "string"
3320
+ }
3321
+ },
3322
+ "X-Request-Id": {
3323
+ "required": false,
3324
+ "description": "Request ID for support",
3325
+ "schema": {
3326
+ "type": "string"
3327
+ }
3328
+ }
3329
+ },
2688
3330
  "content": {
2689
- "application/json": {
3331
+ "application/problem+json": {
2690
3332
  "schema": {
2691
- "$ref": "#/components/schemas/Health.HealthReport"
3333
+ "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
2692
3334
  }
2693
3335
  }
2694
3336
  }
2695
3337
  }
2696
3338
  },
2697
3339
  "tags": [
2698
- "Health"
2699
- ]
3340
+ "Runner MCP"
3341
+ ],
3342
+ "requestBody": {
3343
+ "required": true,
3344
+ "content": {
3345
+ "application/json": {
3346
+ "schema": {}
3347
+ }
3348
+ }
3349
+ }
2700
3350
  }
2701
3351
  },
2702
3352
  "/runner/resources": {
@@ -13721,15 +14371,103 @@
13721
14371
  },
13722
14372
  "description": "Base64 bytes projected by qyl without colliding with an ordinary string attribute."
13723
14373
  },
14374
+ "Common.AttributeDouble": {
14375
+ "anyOf": [
14376
+ {
14377
+ "type": "number",
14378
+ "format": "double"
14379
+ },
14380
+ {
14381
+ "type": "string",
14382
+ "enum": [
14383
+ "NaN",
14384
+ "Infinity",
14385
+ "-Infinity"
14386
+ ]
14387
+ }
14388
+ ],
14389
+ "description": "An OTLP attribute double encoded as a JSON number when finite or a canonical named string when non-finite."
14390
+ },
14391
+ "Common.AttributeDoubleValue": {
14392
+ "type": "object",
14393
+ "required": [
14394
+ "type",
14395
+ "value"
14396
+ ],
14397
+ "properties": {
14398
+ "type": {
14399
+ "type": "string",
14400
+ "enum": [
14401
+ "double"
14402
+ ]
14403
+ },
14404
+ "value": {
14405
+ "$ref": "#/components/schemas/Common.AttributeDouble"
14406
+ }
14407
+ },
14408
+ "unevaluatedProperties": {
14409
+ "not": {}
14410
+ },
14411
+ "description": "Tagged OTLP double attribute."
14412
+ },
14413
+ "Common.AttributeInt64": {
14414
+ "type": "string",
14415
+ "format": "int64",
14416
+ "description": "An OTLP signed 64-bit attribute integer encoded without JavaScript precision loss.",
14417
+ "x-csharp-type": "long"
14418
+ },
14419
+ "Common.AttributeIntValue": {
14420
+ "type": "object",
14421
+ "required": [
14422
+ "type",
14423
+ "value"
14424
+ ],
14425
+ "properties": {
14426
+ "type": {
14427
+ "type": "string",
14428
+ "enum": [
14429
+ "int"
14430
+ ]
14431
+ },
14432
+ "value": {
14433
+ "$ref": "#/components/schemas/Common.AttributeInt64"
14434
+ }
14435
+ },
14436
+ "unevaluatedProperties": {
14437
+ "not": {}
14438
+ },
14439
+ "description": "Tagged OTLP signed 64-bit integer attribute."
14440
+ },
13724
14441
  "Common.AttributeKeyValueListValue": {
13725
14442
  "type": "object",
14443
+ "required": [
14444
+ "type",
14445
+ "values"
14446
+ ],
14447
+ "properties": {
14448
+ "type": {
14449
+ "type": "string",
14450
+ "enum": [
14451
+ "kvlist"
14452
+ ]
14453
+ },
14454
+ "values": {
14455
+ "type": "object",
14456
+ "unevaluatedProperties": {
14457
+ "$ref": "#/components/schemas/Common.AttributeValue"
14458
+ }
14459
+ }
14460
+ },
13726
14461
  "unevaluatedProperties": {
13727
- "$ref": "#/components/schemas/Common.AttributeValue"
14462
+ "not": {}
13728
14463
  },
13729
- "description": "Recursive OTLP key-value-list projected as a JSON object."
14464
+ "description": "Tagged recursive OTLP key-value-list, distinct from other object-shaped attribute variants."
13730
14465
  },
13731
14466
  "Common.AttributeValue": {
13732
14467
  "anyOf": [
14468
+ {
14469
+ "type": "null"
14470
+ },
13733
14471
  {
13734
14472
  "type": "string"
13735
14473
  },
@@ -13737,12 +14475,10 @@
13737
14475
  "type": "boolean"
13738
14476
  },
13739
14477
  {
13740
- "type": "integer",
13741
- "format": "int64"
14478
+ "$ref": "#/components/schemas/Common.AttributeIntValue"
13742
14479
  },
13743
14480
  {
13744
- "type": "number",
13745
- "format": "double"
14481
+ "$ref": "#/components/schemas/Common.AttributeDoubleValue"
13746
14482
  },
13747
14483
  {
13748
14484
  "$ref": "#/components/schemas/Common.AttributeBytesValue"
@@ -13826,6 +14562,48 @@
13826
14562
  "minimum": 0,
13827
14563
  "description": "Duration in seconds"
13828
14564
  },
14565
+ "Common.EntityAttributeKey": {
14566
+ "type": "string",
14567
+ "minLength": 1,
14568
+ "description": "A non-empty Resource attribute key referenced by an OpenTelemetry entity."
14569
+ },
14570
+ "Common.EntityRef": {
14571
+ "type": "object",
14572
+ "required": [
14573
+ "type",
14574
+ "id_keys"
14575
+ ],
14576
+ "properties": {
14577
+ "schema_url": {
14578
+ "type": "string",
14579
+ "description": "Schema URL applying to the entity and its referenced Resource attributes, when known."
14580
+ },
14581
+ "type": {
14582
+ "type": "string",
14583
+ "minLength": 1,
14584
+ "description": "Stable non-empty entity type, such as service or host."
14585
+ },
14586
+ "id_keys": {
14587
+ "type": "array",
14588
+ "items": {
14589
+ "$ref": "#/components/schemas/Common.EntityAttributeKey"
14590
+ },
14591
+ "minItems": 1,
14592
+ "description": "Non-empty set of Resource attribute keys that identify the entity."
14593
+ },
14594
+ "description_keys": {
14595
+ "type": "array",
14596
+ "items": {
14597
+ "$ref": "#/components/schemas/Common.EntityAttributeKey"
14598
+ },
14599
+ "description": "Resource attribute keys that describe but do not identify the entity."
14600
+ }
14601
+ },
14602
+ "unevaluatedProperties": {
14603
+ "not": {}
14604
+ },
14605
+ "description": "A reference to an OpenTelemetry entity described by attributes on the containing Resource."
14606
+ },
13829
14607
  "Common.Errors.ApiError": {
13830
14608
  "anyOf": [
13831
14609
  {
@@ -17883,7 +18661,7 @@
17883
18661
  },
17884
18662
  "event_name": {
17885
18663
  "type": "string",
17886
- "description": "Fully qualified category identifying this log record as an event"
18664
+ "description": "Optional event category whose presence identifies this log record as an event; records with the same name are expected to share one body and attribute schema."
17887
18665
  },
17888
18666
  "resource": {
17889
18667
  "allOf": [
@@ -17982,8 +18760,7 @@
17982
18760
  "$ref": "#/components/schemas/OTel.Metrics.MetricUInt64"
17983
18761
  },
17984
18762
  "sum": {
17985
- "type": "number",
17986
- "format": "double"
18763
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
17987
18764
  },
17988
18765
  "scale": {
17989
18766
  "type": "integer",
@@ -17993,8 +18770,7 @@
17993
18770
  "$ref": "#/components/schemas/OTel.Metrics.MetricUInt64"
17994
18771
  },
17995
18772
  "zero_threshold": {
17996
- "type": "number",
17997
- "format": "double"
18773
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
17998
18774
  },
17999
18775
  "positive": {
18000
18776
  "$ref": "#/components/schemas/OTel.Metrics.ExponentialHistogramBuckets"
@@ -18003,12 +18779,10 @@
18003
18779
  "$ref": "#/components/schemas/OTel.Metrics.ExponentialHistogramBuckets"
18004
18780
  },
18005
18781
  "min": {
18006
- "type": "number",
18007
- "format": "double"
18782
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
18008
18783
  },
18009
18784
  "max": {
18010
- "type": "number",
18011
- "format": "double"
18785
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
18012
18786
  },
18013
18787
  "aggregation_temporality": {
18014
18788
  "$ref": "#/components/schemas/OTel.Enums.AggregationTemporality"
@@ -18033,8 +18807,7 @@
18033
18807
  "OTel.Metrics.GaugeMetricPoint": {
18034
18808
  "type": "object",
18035
18809
  "required": [
18036
- "type",
18037
- "value"
18810
+ "type"
18038
18811
  ],
18039
18812
  "properties": {
18040
18813
  "type": {
@@ -18044,7 +18817,12 @@
18044
18817
  ]
18045
18818
  },
18046
18819
  "value": {
18047
- "$ref": "#/components/schemas/OTel.Metrics.MetricNumberValue"
18820
+ "allOf": [
18821
+ {
18822
+ "$ref": "#/components/schemas/OTel.Metrics.MetricNumberValue"
18823
+ }
18824
+ ],
18825
+ "description": "Recorded value, absent when flags contain NO_RECORDED_VALUE (bit 1)."
18048
18826
  },
18049
18827
  "exemplars": {
18050
18828
  "type": "array",
@@ -18083,8 +18861,7 @@
18083
18861
  "$ref": "#/components/schemas/OTel.Metrics.MetricUInt64"
18084
18862
  },
18085
18863
  "sum": {
18086
- "type": "number",
18087
- "format": "double"
18864
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
18088
18865
  },
18089
18866
  "bucket_counts": {
18090
18867
  "type": "array",
@@ -18100,12 +18877,10 @@
18100
18877
  }
18101
18878
  },
18102
18879
  "min": {
18103
- "type": "number",
18104
- "format": "double"
18880
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
18105
18881
  },
18106
18882
  "max": {
18107
- "type": "number",
18108
- "format": "double"
18883
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
18109
18884
  },
18110
18885
  "aggregation_temporality": {
18111
18886
  "$ref": "#/components/schemas/OTel.Enums.AggregationTemporality"
@@ -18127,6 +18902,23 @@
18127
18902
  ],
18128
18903
  "description": "Explicit-bucket histogram measurement."
18129
18904
  },
18905
+ "OTel.Metrics.MetricDouble": {
18906
+ "anyOf": [
18907
+ {
18908
+ "type": "number",
18909
+ "format": "double"
18910
+ },
18911
+ {
18912
+ "type": "string",
18913
+ "enum": [
18914
+ "NaN",
18915
+ "Infinity",
18916
+ "-Infinity"
18917
+ ]
18918
+ }
18919
+ ],
18920
+ "description": "An OTLP double encoded as a JSON number when finite or as a canonical named string when non-finite."
18921
+ },
18130
18922
  "OTel.Metrics.MetricDoubleValue": {
18131
18923
  "type": "object",
18132
18924
  "required": [
@@ -18134,8 +18926,7 @@
18134
18926
  ],
18135
18927
  "properties": {
18136
18928
  "as_double": {
18137
- "type": "number",
18138
- "format": "double"
18929
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
18139
18930
  }
18140
18931
  },
18141
18932
  "unevaluatedProperties": {
@@ -18316,7 +19107,6 @@
18316
19107
  "type": "object",
18317
19108
  "required": [
18318
19109
  "type",
18319
- "value",
18320
19110
  "aggregation_temporality",
18321
19111
  "is_monotonic"
18322
19112
  ],
@@ -18328,7 +19118,12 @@
18328
19118
  ]
18329
19119
  },
18330
19120
  "value": {
18331
- "$ref": "#/components/schemas/OTel.Metrics.MetricNumberValue"
19121
+ "allOf": [
19122
+ {
19123
+ "$ref": "#/components/schemas/OTel.Metrics.MetricNumberValue"
19124
+ }
19125
+ ],
19126
+ "description": "Recorded value, absent when flags contain NO_RECORDED_VALUE (bit 1)."
18332
19127
  },
18333
19128
  "aggregation_temporality": {
18334
19129
  "$ref": "#/components/schemas/OTel.Enums.AggregationTemporality"
@@ -18372,8 +19167,7 @@
18372
19167
  "$ref": "#/components/schemas/OTel.Metrics.MetricUInt64"
18373
19168
  },
18374
19169
  "sum": {
18375
- "type": "number",
18376
- "format": "double"
19170
+ "$ref": "#/components/schemas/OTel.Metrics.MetricDouble"
18377
19171
  },
18378
19172
  "quantile_values": {
18379
19173
  "type": "array",
@@ -18392,6 +19186,26 @@
18392
19186
  ],
18393
19187
  "description": "Pre-aggregated summary measurement."
18394
19188
  },
19189
+ "OTel.Metrics.SummaryQuantileDouble": {
19190
+ "anyOf": [
19191
+ {
19192
+ "$ref": "#/components/schemas/OTel.Metrics.SummaryQuantileFiniteValue"
19193
+ },
19194
+ {
19195
+ "type": "string",
19196
+ "enum": [
19197
+ "Infinity"
19198
+ ]
19199
+ }
19200
+ ],
19201
+ "description": "A non-negative OTLP summary quantile value, including canonical positive infinity."
19202
+ },
19203
+ "OTel.Metrics.SummaryQuantileFiniteValue": {
19204
+ "type": "number",
19205
+ "format": "double",
19206
+ "minimum": 0,
19207
+ "description": "A finite, non-negative value observed at an OTLP summary quantile."
19208
+ },
18395
19209
  "OTel.Metrics.SummaryQuantileValue": {
18396
19210
  "type": "object",
18397
19211
  "required": [
@@ -18406,9 +19220,7 @@
18406
19220
  "maximum": 1
18407
19221
  },
18408
19222
  "value": {
18409
- "type": "number",
18410
- "format": "double",
18411
- "minimum": 0
19223
+ "$ref": "#/components/schemas/OTel.Metrics.SummaryQuantileDouble"
18412
19224
  }
18413
19225
  },
18414
19226
  "unevaluatedProperties": {
@@ -19192,6 +20004,13 @@
19192
20004
  }
19193
20005
  ],
19194
20006
  "description": "Dropped attributes count"
20007
+ },
20008
+ "entity_refs": {
20009
+ "type": "array",
20010
+ "items": {
20011
+ "$ref": "#/components/schemas/Common.EntityRef"
20012
+ },
20013
+ "description": "Entities participating in this Resource, keyed by attributes on the Resource."
19195
20014
  }
19196
20015
  },
19197
20016
  "unevaluatedProperties": {