@@ -31,7 +31,7 @@ public void FieldRoundtrip_Works()
3131 Description = "Running shoes" ,
3232 Extensions =
3333 [
34- new Models ::UnnamedSchemaWithArrayParent0RemoveBg ( )
34+ new Models ::ExtensionItemRemoveBg ( )
3535 {
3636 Options = new ( )
3737 {
@@ -41,24 +41,23 @@ public void FieldRoundtrip_Works()
4141 Semitransparency = true ,
4242 } ,
4343 } ,
44- new Models ::UnnamedSchemaWithArrayParent0AutoTaggingExtension ( )
44+ new Models ::ExtensionItemAutoTaggingExtension ( )
4545 {
4646 MaxTags = 5 ,
4747 MinConfidence = 95 ,
48- Name =
49- Models ::UnnamedSchemaWithArrayParent0AutoTaggingExtensionName . GoogleAutoTagging ,
48+ Name = Models ::ExtensionItemAutoTaggingExtensionName . GoogleAutoTagging ,
5049 } ,
51- new Models ::UnnamedSchemaWithArrayParent0AIAutoDescription ( ) ,
52- new Models ::UnnamedSchemaWithArrayParent0AITasks (
50+ new Models ::ExtensionItemAIAutoDescription ( ) ,
51+ new Models ::ExtensionItemAITasks (
5352 [
54- new Models ::UnnamedSchemaWithArrayParent0AITasksTaskSelectTags ( )
53+ new Models ::ExtensionItemAITasksTaskSelectTags ( )
5554 {
5655 Instruction = "What types of clothing items are visible in this image?" ,
5756 MaxSelections = 1 ,
5857 MinSelections = 0 ,
5958 Vocabulary = [ "shirt" , "tshirt" , "dress" , "trousers" , "jacket" ] ,
6059 } ,
61- new Models ::UnnamedSchemaWithArrayParent0AITasksTaskYesNo ( )
60+ new Models ::ExtensionItemAITasksTaskYesNo ( )
6261 {
6362 Instruction = "Is this a luxury or high-end fashion item?" ,
6463 OnNo = new ( )
@@ -125,9 +124,9 @@ public void FieldRoundtrip_Works()
125124 { "color" , JsonSerializer . SerializeToElement ( "bar" ) } ,
126125 } ;
127126 string expectedDescription = "Running shoes" ;
128- List < Models ::UnnamedSchemaWithArrayParent0 > expectedExtensions =
127+ List < Models ::ExtensionItem > expectedExtensions =
129128 [
130- new Models ::UnnamedSchemaWithArrayParent0RemoveBg ( )
129+ new Models ::ExtensionItemRemoveBg ( )
131130 {
132131 Options = new ( )
133132 {
@@ -137,24 +136,23 @@ public void FieldRoundtrip_Works()
137136 Semitransparency = true ,
138137 } ,
139138 } ,
140- new Models ::UnnamedSchemaWithArrayParent0AutoTaggingExtension ( )
139+ new Models ::ExtensionItemAutoTaggingExtension ( )
141140 {
142141 MaxTags = 5 ,
143142 MinConfidence = 95 ,
144- Name =
145- Models ::UnnamedSchemaWithArrayParent0AutoTaggingExtensionName . GoogleAutoTagging ,
143+ Name = Models ::ExtensionItemAutoTaggingExtensionName . GoogleAutoTagging ,
146144 } ,
147- new Models ::UnnamedSchemaWithArrayParent0AIAutoDescription ( ) ,
148- new Models ::UnnamedSchemaWithArrayParent0AITasks (
145+ new Models ::ExtensionItemAIAutoDescription ( ) ,
146+ new Models ::ExtensionItemAITasks (
149147 [
150- new Models ::UnnamedSchemaWithArrayParent0AITasksTaskSelectTags ( )
148+ new Models ::ExtensionItemAITasksTaskSelectTags ( )
151149 {
152150 Instruction = "What types of clothing items are visible in this image?" ,
153151 MaxSelections = 1 ,
154152 MinSelections = 0 ,
155153 Vocabulary = [ "shirt" , "tshirt" , "dress" , "trousers" , "jacket" ] ,
156154 } ,
157- new Models ::UnnamedSchemaWithArrayParent0AITasksTaskYesNo ( )
155+ new Models ::ExtensionItemAITasksTaskYesNo ( )
158156 {
159157 Instruction = "Is this a luxury or high-end fashion item?" ,
160158 OnNo = new ( )
@@ -401,7 +399,7 @@ public void CopyConstructor_Works()
401399 Description = "Running shoes" ,
402400 Extensions =
403401 [
404- new Models ::UnnamedSchemaWithArrayParent0RemoveBg ( )
402+ new Models ::ExtensionItemRemoveBg ( )
405403 {
406404 Options = new ( )
407405 {
@@ -411,24 +409,23 @@ public void CopyConstructor_Works()
411409 Semitransparency = true ,
412410 } ,
413411 } ,
414- new Models ::UnnamedSchemaWithArrayParent0AutoTaggingExtension ( )
412+ new Models ::ExtensionItemAutoTaggingExtension ( )
415413 {
416414 MaxTags = 5 ,
417415 MinConfidence = 95 ,
418- Name =
419- Models ::UnnamedSchemaWithArrayParent0AutoTaggingExtensionName . GoogleAutoTagging ,
416+ Name = Models ::ExtensionItemAutoTaggingExtensionName . GoogleAutoTagging ,
420417 } ,
421- new Models ::UnnamedSchemaWithArrayParent0AIAutoDescription ( ) ,
422- new Models ::UnnamedSchemaWithArrayParent0AITasks (
418+ new Models ::ExtensionItemAIAutoDescription ( ) ,
419+ new Models ::ExtensionItemAITasks (
423420 [
424- new Models ::UnnamedSchemaWithArrayParent0AITasksTaskSelectTags ( )
421+ new Models ::ExtensionItemAITasksTaskSelectTags ( )
425422 {
426423 Instruction = "What types of clothing items are visible in this image?" ,
427424 MaxSelections = 1 ,
428425 MinSelections = 0 ,
429426 Vocabulary = [ "shirt" , "tshirt" , "dress" , "trousers" , "jacket" ] ,
430427 } ,
431- new Models ::UnnamedSchemaWithArrayParent0AITasksTaskYesNo ( )
428+ new Models ::ExtensionItemAITasksTaskYesNo ( )
432429 {
433430 Instruction = "Is this a luxury or high-end fashion item?" ,
434431 OnNo = new ( )
0 commit comments