"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from censys_platform.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class ExtractedEndpointDataCopyrightTypedDict(TypedDict):
    end_year: NotRequired[int]
    holder: NotRequired[str]
    start_year: NotRequired[int]
    text: NotRequired[str]


class ExtractedEndpointDataCopyright(BaseModel):
    end_year: Optional[int] = None

    holder: Optional[str] = None

    start_year: Optional[int] = None

    text: Optional[str] = None
