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

from __future__ import annotations

from pydantic import BaseModel


class Base(BaseModel):
    id: str


class Entity(Base):
    type: str


class Thing(Entity):
    type: str | None = 'Thing'
    name: str


class Person(Thing):
    type: str | None = 'Person'
    age: int | None = None


class SpecificPerson(Person):
    type: str | None = 'SpecificPerson'
    id: str | None = 'specific-id'
