@@ -182,8 +182,6 @@ class ServiceSummary(CatalogOutputSchema):
182182
183183 contact : LowerCaseEmailStr | None
184184
185- service_type : Annotated [ServiceType , Field (alias = "type" )]
186-
187185 @staticmethod
188186 def _update_json_schema_extra (schema : JsonDict ) -> None :
189187 schema .update (
@@ -196,7 +194,6 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
196194 "description" : _EXAMPLE_SLEEPER ["description" ],
197195 "version_display" : _EXAMPLE_SLEEPER ["version_display" ],
198196 "contact" : _EXAMPLE_SLEEPER ["contact" ],
199- "type" : _EXAMPLE_SLEEPER ["type" ],
200197 },
201198 {
202199 "key" : _EXAMPLE_FILEPICKER ["key" ],
@@ -205,7 +202,6 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
205202 "description" : _EXAMPLE_FILEPICKER ["description" ],
206203 "version_display" : None ,
207204 "contact" : _EXAMPLE_FILEPICKER ["contact" ],
208- "type" : _EXAMPLE_FILEPICKER ["type" ],
209205 },
210206 ]
211207 }
@@ -220,6 +216,9 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
220216
221217class _BaseServiceGetV2 (ServiceSummary ):
222218 # Model used in catalog's rpc and rest interfaces
219+
220+ service_type : Annotated [ServiceType , Field (alias = "type" )]
221+
223222 thumbnail : HttpUrl | None = None
224223 icon : HttpUrl | None = None
225224
0 commit comments