Skip to content

Commit f2cec21

Browse files
committed
Added content_hash field
1 parent f1b9085 commit f2cec21

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jsoned/models/schema_definition.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from datetime import datetime
2-
from uuid import UUID
32

43
from pydantic import BaseModel, ConfigDict, Field
54

@@ -29,3 +28,8 @@ class SchemaDefinition(BaseModel):
2928
None,
3029
description="The actual schema content as a dictionary",
3130
)
31+
32+
content_hash: str | None = Field(
33+
None,
34+
description="A stable hash of the schema content for integrity verification",
35+
)

0 commit comments

Comments
 (0)