Skip to content

Commit

Permalink
Made optional values more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
davenquinn committed May 10, 2024
1 parent 46eda51 commit 50ff8f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions timvt/models/mapbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ class TileJSON(BaseModel):

tilejson: str = "2.2.0"
name: Optional[str]
description: Optional[str]
description: Optional[str] = None
version: str = "1.0.0"
attribution: Optional[str]
template: Optional[str]
legend: Optional[str]
attribution: Optional[str] = None
template: Optional[str] = None
legend: Optional[str] = None
scheme: SchemeEnum = SchemeEnum.xyz
tiles: List[str]
grids: Optional[List[str]]
data: Optional[List[str]]
grids: Optional[List[str]] = None
data: Optional[List[str]] = None
minzoom: int = Field(0, ge=0, le=30)
maxzoom: int = Field(30, ge=0, le=30)
bounds: List[float] = [-180, -90, 180, 90]
Expand Down

0 comments on commit 50ff8f2

Please sign in to comment.