[docs]classSchemaRegistry(Catalog):"""Description"""type_name:str=Field(default="SchemaRegistry",allow_mutation=False)@validator("type_name")defvalidate_type_name(cls,v):ifv!="SchemaRegistry":raiseValueError("must be SchemaRegistry")returnvdef__setattr__(self,name,value):ifnameinSchemaRegistry._convenience_properties:returnobject.__setattr__(self,name,value)super().__setattr__(name,value)SCHEMA_REGISTRY_SCHEMA_TYPE:ClassVar[KeywordField]=KeywordField("schemaRegistrySchemaType","schemaRegistrySchemaType")""" Type of language or specification used to define the schema, for example: JSON, Protobuf, etc. """SCHEMA_REGISTRY_SCHEMA_ID:ClassVar[KeywordField]=KeywordField("schemaRegistrySchemaId","schemaRegistrySchemaId")""" Unique identifier for schema definition set by the schema registry. """_convenience_properties:ClassVar[List[str]]=["schema_registry_schema_type","schema_registry_schema_id",]@propertydefschema_registry_schema_type(self)->Optional[SchemaRegistrySchemaType]:return(Noneifself.attributesisNoneelseself.attributes.schema_registry_schema_type)@schema_registry_schema_type.setterdefschema_registry_schema_type(self,schema_registry_schema_type:Optional[SchemaRegistrySchemaType]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.schema_registry_schema_type=schema_registry_schema_type@propertydefschema_registry_schema_id(self)->Optional[str]:return(Noneifself.attributesisNoneelseself.attributes.schema_registry_schema_id)@schema_registry_schema_id.setterdefschema_registry_schema_id(self,schema_registry_schema_id:Optional[str]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.schema_registry_schema_id=schema_registry_schema_idclassAttributes(Catalog.Attributes):schema_registry_schema_type:Optional[SchemaRegistrySchemaType]=Field(default=None,description="")schema_registry_schema_id:Optional[str]=Field(default=None,description="")attributes:SchemaRegistry.Attributes=Field(default_factory=lambda:SchemaRegistry.Attributes(),description=("Map of attributes in the instance and their values. ""The specific keys of this map will vary by type, ""so are described in the sub-types of this schema."),)