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

from __future__ import annotations

from typing import List, Optional, Union

from pydantic import AnyUrl, BaseModel, Field


class SpatialPlan(BaseModel):
    officialDocument: Optional[Union[str, List[AnyUrl]]] = Field(
        None,
        description='Link to the official documents that relate to the spatial plan.',
        title='officialDocument',
    )
