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

from __future__ import annotations

from pydantic import Field, RootModel, StrictFloat, StrictInt, StrictStr


class Timestamp(RootModel[StrictInt]):
    root: StrictInt = Field(..., ge=1, le=9999999999)


class Score(RootModel[StrictFloat]):
    root: StrictFloat = Field(..., ge=0.0, le=100.0)


class Name(RootModel[StrictStr]):
    root: StrictStr = Field(..., max_length=100, min_length=1)
