@@ -35,7 +35,7 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte
35
35
/// <summary>
36
36
/// $vocabulary- used in meta-schemas to identify the vocabularies available for use in schemas described by that meta-schema.
37
37
/// </summary>
38
- public IDictionary < string , bool > ? Vocabulary { get ; }
38
+ public Dictionary < string , bool > ? Vocabulary { get ; }
39
39
40
40
/// <summary>
41
41
/// $dynamicRef - an applicator that allows for deferring the full resolution until runtime, at which point it is resolved each time it is encountered while evaluating an instance
@@ -51,7 +51,7 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte
51
51
/// $defs - reserves a location for schema authors to inline re-usable JSON Schemas into a more general schema.
52
52
/// The keyword does not directly affect the validation result
53
53
/// </summary>
54
- public IDictionary < string , IOpenApiSchema > ? Definitions { get ; }
54
+ public Dictionary < string , IOpenApiSchema > ? Definitions { get ; }
55
55
56
56
/// <summary>
57
57
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
@@ -144,19 +144,19 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte
144
144
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
145
145
/// Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.
146
146
/// </summary>
147
- public IList < IOpenApiSchema > ? AllOf { get ; }
147
+ public List < IOpenApiSchema > ? AllOf { get ; }
148
148
149
149
/// <summary>
150
150
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
151
151
/// Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.
152
152
/// </summary>
153
- public IList < IOpenApiSchema > ? OneOf { get ; }
153
+ public List < IOpenApiSchema > ? OneOf { get ; }
154
154
155
155
/// <summary>
156
156
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
157
157
/// Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.
158
158
/// </summary>
159
- public IList < IOpenApiSchema > ? AnyOf { get ; }
159
+ public List < IOpenApiSchema > ? AnyOf { get ; }
160
160
161
161
/// <summary>
162
162
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
@@ -167,7 +167,7 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte
167
167
/// <summary>
168
168
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
169
169
/// </summary>
170
- public ISet < string > ? Required { get ; }
170
+ public HashSet < string > ? Required { get ; }
171
171
172
172
/// <summary>
173
173
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
@@ -195,7 +195,7 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte
195
195
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
196
196
/// Property definitions MUST be a Schema Object and not a standard JSON Schema (inline or referenced).
197
197
/// </summary>
198
- public IDictionary < string , IOpenApiSchema > ? Properties { get ; }
198
+ public Dictionary < string , IOpenApiSchema > ? Properties { get ; }
199
199
200
200
/// <summary>
201
201
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
@@ -204,7 +204,7 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte
204
204
/// egular expression dialect. Each property value of this object MUST be an object, and each object MUST
205
205
/// be a valid Schema Object not a standard JSON Schema.
206
206
/// </summary>
207
- public IDictionary < string , IOpenApiSchema > ? PatternProperties { get ; }
207
+ public Dictionary < string , IOpenApiSchema > ? PatternProperties { get ; }
208
208
209
209
/// <summary>
210
210
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
@@ -246,12 +246,12 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte
246
246
/// To represent examples that cannot be naturally represented in JSON or YAML,
247
247
/// a list of values can be used to contain the examples with escaping where necessary.
248
248
/// </summary>
249
- public IList < JsonNode > ? Examples { get ; }
249
+ public List < JsonNode > ? Examples { get ; }
250
250
251
251
/// <summary>
252
252
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
253
253
/// </summary>
254
- public IList < JsonNode > ? Enum { get ; }
254
+ public List < JsonNode > ? Enum { get ; }
255
255
256
256
/// <summary>
257
257
/// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00
@@ -278,16 +278,16 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte
278
278
/// <summary>
279
279
/// This object stores any unrecognized keywords found in the schema.
280
280
/// </summary>
281
- public IDictionary < string , JsonNode > ? UnrecognizedKeywords { get ; }
281
+ public Dictionary < string , JsonNode > ? UnrecognizedKeywords { get ; }
282
282
283
283
/// <summary>
284
284
/// Any annotation to attach to the schema to be used by the application.
285
285
/// Annotations are NOT (de)serialized with the schema and can be used for custom properties.
286
286
/// </summary>
287
- public IDictionary < string , object > ? Annotations { get ; }
287
+ public Dictionary < string , object > ? Annotations { get ; }
288
288
289
289
/// <summary>
290
290
/// Follow JSON Schema definition:https://json-schema.org/draft/2020-12/json-schema-validation#section-6.5.4
291
291
/// </summary>
292
- public IDictionary < string , ISet < string > > ? DependentRequired { get ; }
292
+ public Dictionary < string , HashSet < string > > ? DependentRequired { get ; }
293
293
}
0 commit comments