# generated by datamodel-codegen:
#   filename:  storage.json

from __future__ import annotations

from typing import Dict, List, Optional

from pydantic import BaseModel, Extra


class ResourceMap(BaseModel):
    class Config:
        extra = Extra.forbid

    id: str
    rate: str


class ResourceCollectorStorage(BaseModel):
    class Config:
        extra = Extra.forbid

    administrator: str
    current_user: Optional[str]
    default_start_time: str
    generation_rate: str
    managers: List[str]
    metadata: Dict[str, str]
    nft_registry: str
    paused: bool
    resource_map: Dict[str, ResourceMap]
    resource_registry: str
    tezotop_collection: Dict[str, str]


# 'resource_map': {
#     'type': 'object',
#     'propertyNames': {'type': 'string', '$comment': 'string'},
#     'additionalProperties': {
#         'type': 'object',
#         'properties': {'id': {'type': 'string', '$comment': 'nat'}, 'rate': {'type': 'string', '$comment': 'nat'}},
#         'required': ['id', 'rate'],
#         'additionalProperties': False,
#         '$comment': 'pair',
#     },
#     '$comment': 'map',
# },
