# generated by datamodel-codegen:
#   filename:  root_model_default_primitive.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import BaseModel, Field, RootModel, conint


class Timeout(RootModel[conint(le=14400, gt=0)]):
    root: conint(le=14400, gt=0)


class CrawlConfiguration(BaseModel):
    timeout: Timeout | None = Field(3600, validate_default=True)
