edutap.wallet_google.models.primitives.data.ImageModuleData#
- pydantic model edutap.wallet_google.models.primitives.data.ImageModuleData#
see: https://developers.google.com/wallet/generic/rest/v1/ImageModuleData
Show JSON schema
{ "title": "ImageModuleData", "description": "see: https://developers.google.com/wallet/generic/rest/v1/ImageModuleData", "type": "object", "properties": { "mainImage": { "anyOf": [ { "$ref": "#/$defs/Image" }, { "type": "null" } ], "default": null }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" } }, "$defs": { "Image": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Image", "properties": { "sourceUri": { "$ref": "#/$defs/ImageUri" }, "contentDescription": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "required": [ "sourceUri" ], "title": "Image", "type": "object" }, "ImageUri": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/Image#imageuri", "properties": { "uri": { "format": "uri", "minLength": 1, "title": "Uri", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "localizedDescription": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "required": [ "uri" ], "title": "ImageUri", "type": "object" }, "LocalizedString": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString", "properties": { "defaultValue": { "$ref": "#/$defs/TranslatedString" }, "translatedValues": { "default": [], "items": { "$ref": "#/$defs/TranslatedString" }, "title": "Translatedvalues", "type": "array" } }, "required": [ "defaultValue" ], "title": "LocalizedString", "type": "object" }, "TranslatedString": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString#translatedstring", "properties": { "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Language" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" } }, "title": "TranslatedString", "type": "object" } } }
- field id: str | None = None#