@@ -22,13 +22,13 @@ class FDSIDList(BaseModel):
22
22
Extended document type info and Regula's 'Information Reference Systems' links
23
23
""" # noqa: E501
24
24
icao_code : Annotated [str , Field (min_length = 3 , strict = True , max_length = 3 )] = Field (description = "ICAO code of the issuing country" , alias = "ICAOCode" )
25
- count : Union [StrictFloat , StrictInt ] = Field (description = "Number of elements in the List" , alias = "Count" )
26
- list : List [StrictInt ] = Field (description = "Document identifiers in 'Information Reference Systems'" , alias = "List" )
25
+ count : Optional [ Union [StrictFloat , StrictInt ]] = Field (default = None , description = "Number of elements in the List" , alias = "Count" )
26
+ list : Optional [ List [StrictInt ]] = Field (default = None , description = "Document identifiers in 'Information Reference Systems'" , alias = "List" )
27
27
d_type : DocumentType = Field (alias = "dType" )
28
28
d_format : DocumentFormat = Field (alias = "dFormat" )
29
29
d_mrz : StrictBool = Field (description = "Flag indicating the presence of MRZ on the document" , alias = "dMRZ" )
30
30
d_description : Optional [StrictStr ] = Field (default = None , description = "Document description" , alias = "dDescription" )
31
- d_year : StrictStr = Field (description = "Year of publication of the document" , alias = "dYear" )
31
+ d_year : Optional [ StrictStr ] = Field (default = None , description = "Year of publication of the document" , alias = "dYear" )
32
32
d_country_name : StrictStr = Field (description = "Issuing country name" , alias = "dCountryName" )
33
33
d_state_code : Optional [StrictStr ] = Field (default = None , description = "Issuing state code" , alias = "dStateCode" )
34
34
d_state_name : Optional [StrictStr ] = Field (default = None , description = "Issuing state name" , alias = "dStateName" )
0 commit comments