edutap.wallet_google.models.primitives.data.AppLinkData#

pydantic model edutap.wallet_google.models.primitives.data.AppLinkData#

see: https://developers.google.com/wallet/generic/rest/v1/AppLinkData

Show JSON schema
{
   "title": "AppLinkData",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/AppLinkData",
   "type": "object",
   "properties": {
      "androidAppLinkInfo": {
         "anyOf": [
            {
               "$ref": "#/$defs/AppLinkInfo"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "iosAppLinkInfo": {
         "anyOf": [
            {
               "$ref": "#/$defs/AppLinkInfo"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "webAppLinkInfo": {
         "anyOf": [
            {
               "$ref": "#/$defs/AppLinkInfo"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "AppLinkInfo": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/AppLinkData#applinkinfo",
         "properties": {
            "appLogoImage": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/Image"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "title": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/LocalizedString"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "description": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/LocalizedString"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "appTarget": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/AppTarget"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "AppLinkInfo",
         "type": "object"
      },
      "AppTarget": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/AppLinkData#apptargets",
         "properties": {
            "targetUri": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/Uri"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "AppTarget",
         "type": "object"
      },
      "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"
      },
      "Uri": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/Uri",
         "properties": {
            "uri": {
               "anyOf": [
                  {
                     "format": "uri",
                     "minLength": 1,
                     "type": "string"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Uri"
            },
            "description": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Description"
            },
            "localizedDescription": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/LocalizedString"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "id": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Id"
            }
         },
         "title": "Uri",
         "type": "object"
      }
   }
}

Fields:
field androidAppLinkInfo: AppLinkInfo | None = None#
field iosAppLinkInfo: AppLinkInfo | None = None#
field webAppLinkInfo: AppLinkInfo | None = None#