edutap.wallet_google.models.primitives.class_template_info.FieldSelector#

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

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

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

Fields:
field fields: list[FieldReference] [Required]#