Skip to content

Commit 37cfead

Browse files
Merge pull request #229 from regulaforensics/094726f0
Commit: 094726f0
2 parents 0811b21 + c1270da commit 37cfead

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

regula/documentreader/webclient/gen/models/fdsid_list.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ class FDSIDList(BaseModel):
2222
Extended document type info and Regula's 'Information Reference Systems' links
2323
""" # noqa: E501
2424
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")
2727
d_type: DocumentType = Field(alias="dType")
2828
d_format: DocumentFormat = Field(alias="dFormat")
2929
d_mrz: StrictBool = Field(description="Flag indicating the presence of MRZ on the document", alias="dMRZ")
3030
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")
3232
d_country_name: StrictStr = Field(description="Issuing country name", alias="dCountryName")
3333
d_state_code: Optional[StrictStr] = Field(default=None, description="Issuing state code", alias="dStateCode")
3434
d_state_name: Optional[StrictStr] = Field(default=None, description="Issuing state name", alias="dStateName")

0 commit comments

Comments
 (0)