edutap.wallet_google.models.datatypes.smarttap.Permission#
- pydantic model edutap.wallet_google.models.datatypes.smarttap.Permission#
see: https://developers.google.com/wallet/generic/rest/v1/permissions#permission
Show JSON schema
{ "title": "Permission", "description": "see: https://developers.google.com/wallet/generic/rest/v1/permissions#permission", "type": "object", "properties": { "emailAddress": { "anyOf": [ { "format": "email", "type": "string" }, { "type": "null" } ], "title": "Emailaddress" }, "role": { "anyOf": [ { "$ref": "#/$defs/Role" }, { "type": "null" } ] } }, "$defs": { "Role": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/permissions#role", "enum": [ "roleUnspecified", "ROLE_UNSPECIFIED", "owner", "OWNER", "reader", "READER", "writer", "WRITER" ], "title": "Role", "type": "string" } }, "required": [ "emailAddress", "role" ] }
- Fields:
- field emailAddress: EmailStr | None [Required]#