{
  "version": 1,
  "format": "json",
  "kind": "check",
  "success": false,
  "content": "--- models.py\n+++ models.py (expected)\n@@ -1 +1,32 @@\n-outdated\n+# generated by datamodel-codegen:\n+#   filename:  modular.yaml\n+\n+from __future__ import annotations\n+\n+from enum import Enum\n+from typing import Any\n+\n+from pydantic import BaseModel\n+\n+\n+class Species(Enum):\n+    dog = 'dog'\n+    cat = 'cat'\n+    snake = 'snake'\n+\n+\n+class Pet(BaseModel):\n+    id: int\n+    name: str\n+    tag: str | None = None\n+    species: Species | None = None\n+\n+\n+class User(BaseModel):\n+    id: int\n+    name: str\n+    tag: str | None = None\n+\n+\n+class Event(BaseModel):\n+    name: str | float | int | bool | dict[str, Any] | list[str] | None = None\nMISSING: __init__.py (should be generated)\nMISSING: _internal.py (should be generated)\nMISSING: bar.py (should be generated)\nMISSING: collections.py (should be generated)\nMISSING: foo/__init__.py (should be generated)\nMISSING: foo/bar.py (should be generated)\nMISSING: nested/__init__.py (should be generated)\nMISSING: nested/foo.py (should be generated)\nMISSING: woo/__init__.py (should be generated)\nMISSING: woo/boo.py (should be generated)\nEXTRA: extra.py (no longer generated)\n",
  "differences": [
    {
      "kind": "changed",
      "path": "models.py",
      "message": null,
      "diff": "--- models.py\n+++ models.py (expected)\n@@ -1 +1,32 @@\n-outdated\n+# generated by datamodel-codegen:\n+#   filename:  modular.yaml\n+\n+from __future__ import annotations\n+\n+from enum import Enum\n+from typing import Any\n+\n+from pydantic import BaseModel\n+\n+\n+class Species(Enum):\n+    dog = 'dog'\n+    cat = 'cat'\n+    snake = 'snake'\n+\n+\n+class Pet(BaseModel):\n+    id: int\n+    name: str\n+    tag: str | None = None\n+    species: Species | None = None\n+\n+\n+class User(BaseModel):\n+    id: int\n+    name: str\n+    tag: str | None = None\n+\n+\n+class Event(BaseModel):\n+    name: str | float | int | bool | dict[str, Any] | list[str] | None = None\n"
    },
    {
      "kind": "missing",
      "path": "__init__.py",
      "message": "MISSING: __init__.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "_internal.py",
      "message": "MISSING: _internal.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "bar.py",
      "message": "MISSING: bar.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "collections.py",
      "message": "MISSING: collections.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "foo/__init__.py",
      "message": "MISSING: foo/__init__.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "foo/bar.py",
      "message": "MISSING: foo/bar.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "nested/__init__.py",
      "message": "MISSING: nested/__init__.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "nested/foo.py",
      "message": "MISSING: nested/foo.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "woo/__init__.py",
      "message": "MISSING: woo/__init__.py (should be generated)",
      "diff": null
    },
    {
      "kind": "missing",
      "path": "woo/boo.py",
      "message": "MISSING: woo/boo.py (should be generated)",
      "diff": null
    },
    {
      "kind": "extra",
      "path": "extra.py",
      "message": "EXTRA: extra.py (no longer generated)",
      "diff": null
    }
  ]
}
