edutap.wallet_google.models.misc.Issuer#

pydantic model edutap.wallet_google.models.misc.Issuer#

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

Show JSON schema
{
   "title": "Issuer",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/issuer",
   "type": "object",
   "properties": {
      "issuerId": {
         "title": "Issuerid",
         "type": "string"
      },
      "name": {
         "title": "Name",
         "type": "string"
      },
      "contactInfo": {
         "anyOf": [
            {
               "$ref": "#/$defs/IssuerContactInfo"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "homepageUrl": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Homepageurl"
      },
      "smartTapMerchantData": {
         "anyOf": [
            {
               "$ref": "#/$defs/SmartTapMerchantData"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "callbackOptions": {
         "anyOf": [
            {
               "$ref": "#/$defs/CallbackOptions"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "AuthenticationKey": {
         "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/issuer#authenticationkey",
         "properties": {
            "id": {
               "title": "Id",
               "type": "integer"
            },
            "publicKeyPem": {
               "title": "Publickeypem",
               "type": "string"
            }
         },
         "required": [
            "id",
            "publicKeyPem"
         ],
         "title": "AuthenticationKey",
         "type": "object"
      },
      "CallbackOptions": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/CallbackOptions",
         "properties": {
            "url": {
               "anyOf": [
                  {
                     "format": "uri",
                     "maxLength": 2083,
                     "minLength": 1,
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Url"
            }
         },
         "title": "CallbackOptions",
         "type": "object"
      },
      "IssuerContactInfo": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/issuer#issuercontactinfo",
         "properties": {
            "name": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Name"
            },
            "phone": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Phone"
            },
            "homepageUrl": {
               "anyOf": [
                  {
                     "format": "uri",
                     "maxLength": 2083,
                     "minLength": 1,
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Homepageurl"
            },
            "email": {
               "anyOf": [
                  {
                     "format": "email",
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Email"
            },
            "alertsEmails": {
               "anyOf": [
                  {
                     "items": {
                        "format": "email",
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Alertsemails"
            }
         },
         "title": "IssuerContactInfo",
         "type": "object"
      },
      "SmartTapMerchantData": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/issuer#smarttapmerchantdata",
         "properties": {
            "smartTapMerchantId": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Smarttapmerchantid"
            },
            "authenticationKeys": {
               "anyOf": [
                  {
                     "items": {
                        "$ref": "#/$defs/AuthenticationKey"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Authenticationkeys"
            }
         },
         "title": "SmartTapMerchantData",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "issuerId",
      "name"
   ]
}

Config:
  • extra: str = forbid

Fields:
field callbackOptions: CallbackOptions | None = None#
field contactInfo: IssuerContactInfo | None = None#
field homepageUrl: str | None = None#
field issuerId: str [Required]#
field name: str [Required]#
field smartTapMerchantData: SmartTapMerchantData | None = None#