edutap.wallet_google.models.primitives.class_template_info.FieldReference#

pydantic model edutap.wallet_google.models.primitives.class_template_info.FieldReference#

see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#fieldreference

Show JSON schema
{
   "title": "FieldReference",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#fieldreference",
   "type": "object",
   "properties": {
      "fieldPath": {
         "title": "Fieldpath",
         "type": "string"
      },
      "dateFormat": {
         "anyOf": [
            {
               "$ref": "#/$defs/DateFormat"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "DateFormat": {
         "enum": [
            "DATE_FORMAT_UNSPECIFIED",
            "DATE_TIME",
            "DATE_ONLY",
            "TIME_ONLY",
            "DATE_TIME_YEAR",
            "DATE_YEAR"
         ],
         "title": "DateFormat",
         "type": "string"
      }
   },
   "required": [
      "fieldPath"
   ]
}

Fields:
field dateFormat: DateFormat | None = None#
field fieldPath: str [Required]#