From 5121348019b0cfc08e0c608ea03a79cd55c19944 Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Wed, 12 Aug 2026 08:48:15 -0400 Subject: [PATCH] fix: JSON Schema number type should also include int close #643 --- src/ga4gh/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ga4gh/core/models.py b/src/ga4gh/core/models.py index aabfb45c..89e9ab94 100644 --- a/src/ga4gh/core/models.py +++ b/src/ga4gh/core/models.py @@ -197,7 +197,7 @@ class Extension(Element, BaseModelForbidExtra): ..., description="A name for the Extension. Should be indicative of its meaning and/or the type of information it value represents.", ) - value: float | str | bool | dict[str, Any] | list[Any] | None = Field( + value: int | float | str | bool | dict[str, Any] | list[Any] | None = Field( ..., description="The value of the Extension - can be any primitive or structured object", )