edutap.wallet_google.models.issuer.SmartTap#

pydantic model edutap.wallet_google.models.issuer.SmartTap#

see: https://developers.google.com/wallet/generic/rest/v1/smarttap#resource:-smarttap

Show JSON schema
{
   "title": "SmartTap",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#resource:-smarttap",
   "type": "object",
   "properties": {
      "id": {
         "title": "Id",
         "type": "string"
      },
      "merchantId": {
         "title": "Merchantid",
         "type": "string"
      },
      "infos": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/IssuerToUserInfo"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Infos"
      }
   },
   "$defs": {
      "Action": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#action",
         "enum": [
            "ACTION_UNSPECIFIED",
            "S2AP",
            "SIGN_UP"
         ],
         "title": "Action",
         "type": "string"
      },
      "IssuerToUserInfo": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#issuertouserinfo",
         "properties": {
            "action": {
               "allOf": [
                  {
                     "$ref": "#/$defs/Action"
                  }
               ],
               "default": "ACTION_UNSPECIFIED"
            },
            "url": {
               "anyOf": [
                  {
                     "format": "uri",
                     "minLength": 1,
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Url"
            },
            "value": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Value"
            },
            "signUpInfo": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/SignUpInfo"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "IssuerToUserInfo",
         "type": "object"
      },
      "SignUpInfo": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#signupinfo",
         "properties": {
            "classId": {
               "title": "Classid",
               "type": "string"
            }
         },
         "required": [
            "classId"
         ],
         "title": "SignUpInfo",
         "type": "object"
      }
   },
   "required": [
      "id",
      "merchantId"
   ]
}

Fields:
field infos: list[IssuerToUserInfo] | None = None#
field merchantId: str [Required]#