edutap.wallet_google.models.datatypes.location.LatLongPoint#

pydantic model edutap.wallet_google.models.datatypes.location.LatLongPoint#

see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/LatLongPoint

Show JSON schema
{
   "title": "LatLongPoint",
   "description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/LatLongPoint",
   "type": "object",
   "properties": {
      "kind": {
         "default": null,
         "deprecated": true,
         "title": "Kind",
         "type": "string"
      },
      "latitude": {
         "maximum": 90.0,
         "minimum": -90.0,
         "title": "Latitude",
         "type": "number"
      },
      "longitude": {
         "maximum": 180.0,
         "minimum": -180.0,
         "title": "Longitude",
         "type": "number"
      }
   },
   "additionalProperties": false,
   "required": [
      "latitude",
      "longitude"
   ]
}

Config:
  • extra: str = forbid

Fields:
field latitude: float [Required]#
Constraints:
  • ge = -90.0

  • le = 90.0

field longitude: float [Required]#
Constraints:
  • ge = -180.0

  • le = 180.0

kind: Annotated[str, Field(deprecated=deprecated('Attribute "kind" was used in the past to identify resources but is now deprecated.'), exclude=True, default=None)]#

Read-only data descriptor used to emit a runtime deprecation warning before accessing a deprecated field.

Attributes:

msg: The deprecation message to be emitted. wrapped_property: The property instance if the deprecated field is a computed field, or None. field_name: The name of the field being deprecated.