code: def test_json_schema_inherit_model_pydantic_v1():
      assert InheritModel.schema() == {
          "title": "InheritModel",
          "type": "object",
          "properties": {
              "id": {"title": "Id", "type": "string", "format": "uuid"},
              "enum_field": {"$ref": "#/definitions/MyEnum2"},
          },
          "required": ["id", "enum_field"],
          "definitions": {
              "MyEnum2": {
                  "title": "MyEnum2",
                  "description": "An enumeration.",
                  "enum": ["C", "D"],
                  "type": "string",
              }
          },
      }
  
imports: import enum
  import uuid
  from sqlalchemy import create_mock_engine
  from sqlalchemy.sql.type_api import TypeEngine
  from sqlmodel import Field, SQLModel
  from .conftest import needs_pydanticv1, needs_pydanticv2
label_desc: Use image node_id 6 for calling a global function with example usage: test_json_schema_inherit_model_pydantic_v1() without return types