From d896fb2a92773fd221c3c6baa4e9293e02fa4572 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 a8149a3d..7708ac7a 100644 --- a/src/ga4gh/core/models.py +++ b/src/ga4gh/core/models.py @@ -236,7 +236,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", )