{
  "version": 1,
  "format": "json",
  "kind": "check",
  "success": false,
  "content": "--- <OUTPUT_FILE>\n+++ <OUTPUT_FILE> (expected)\n@@ -1 +1,66 @@\n-outdated\n+# generated by datamodel-codegen:\n+#   filename:  api.yaml\n+\n+from __future__ import annotations\n+\n+from pydantic import AnyUrl, BaseModel, Field, RootModel\n+\n+\n+class Pet(BaseModel):\n+    id: int\n+    name: str\n+    tag: str | None = None\n+\n+\n+class Pets(RootModel[list[Pet]]):\n+    root: list[Pet]\n+\n+\n+class User(BaseModel):\n+    id: int\n+    name: str\n+    tag: str | None = None\n+\n+\n+class Users(RootModel[list[User]]):\n+    root: list[User]\n+\n+\n+class Id(RootModel[str]):\n+    root: str\n+\n+\n+class Rules(RootModel[list[str]]):\n+    root: list[str]\n+\n+\n+class Error(BaseModel):\n+    code: int\n+    message: str\n+\n+\n+class 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+\n+class Apis(RootModel[list[Api]]):\n+    root: list[Api]\n+\n+\n+class Event(BaseModel):\n+    name: str | None = None\n+\n+\n+class Result(BaseModel):\n+    event: Event | None = None\n",
  "differences": [
    {
      "kind": "changed",
      "path": "<OUTPUT_FILE>",
      "message": null,
      "diff": "--- <OUTPUT_FILE>\n+++ <OUTPUT_FILE> (expected)\n@@ -1 +1,66 @@\n-outdated\n+# generated by datamodel-codegen:\n+#   filename:  api.yaml\n+\n+from __future__ import annotations\n+\n+from pydantic import AnyUrl, BaseModel, Field, RootModel\n+\n+\n+class Pet(BaseModel):\n+    id: int\n+    name: str\n+    tag: str | None = None\n+\n+\n+class Pets(RootModel[list[Pet]]):\n+    root: list[Pet]\n+\n+\n+class User(BaseModel):\n+    id: int\n+    name: str\n+    tag: str | None = None\n+\n+\n+class Users(RootModel[list[User]]):\n+    root: list[User]\n+\n+\n+class Id(RootModel[str]):\n+    root: str\n+\n+\n+class Rules(RootModel[list[str]]):\n+    root: list[str]\n+\n+\n+class Error(BaseModel):\n+    code: int\n+    message: str\n+\n+\n+class 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+\n+class Apis(RootModel[list[Api]]):\n+    root: list[Api]\n+\n+\n+class Event(BaseModel):\n+    name: str | None = None\n+\n+\n+class Result(BaseModel):\n+    event: Event | None = None\n"
    }
  ]
}
