{
  "version": 1,
  "format": "json",
  "kind": "generation",
  "output": "<OUTPUT_FILE>",
  "files": [
    {
      "path": "output.py",
      "content": "# generated by datamodel-codegen:\n#   filename:  api.yaml\n#   timestamp: 1985-10-26T08:21:00+00:00\n\nfrom __future__ import annotations\n\nfrom pydantic import AnyUrl, BaseModel, Field, RootModel\n\n\nclass Pet(BaseModel):\n    id: int\n    name: str\n    tag: str | None = None\n\n\nclass Pets(RootModel[list[Pet]]):\n    root: list[Pet]\n\n\nclass User(BaseModel):\n    id: int\n    name: str\n    tag: str | None = None\n\n\nclass Users(RootModel[list[User]]):\n    root: list[User]\n\n\nclass Id(RootModel[str]):\n    root: str\n\n\nclass Rules(RootModel[list[str]]):\n    root: list[str]\n\n\nclass Error(BaseModel):\n    code: int\n    message: str\n\n\nclass Api(BaseModel):\n    apiKey: str | None = Field(\n        None, description='To be used as a dataset parameter value'\n    )\n    apiVersionNumber: str | None = Field(\n        None, description='To be used as a version parameter value'\n    )\n    apiUrl: AnyUrl | None = Field(\n        None, description=\"The URL describing the dataset's fields\"\n    )\n    apiDocumentationUrl: AnyUrl | None = Field(\n        None, description='A URL to the API console for each API'\n    )\n\n\nclass Apis(RootModel[list[Api]]):\n    root: list[Api]\n\n\nclass Event(BaseModel):\n    name: str | None = None\n\n\nclass Result(BaseModel):\n    event: Event | None = None\n"
    }
  ]
}
