@@ -64,6 +64,7 @@ def _string_based_property(
6464 python_name = python_name ,
6565 description = data .description ,
6666 example = data .example ,
67+ data = data ,
6768 )
6869 if string_format == "date" :
6970 return DateProperty .build (
@@ -73,6 +74,7 @@ def _string_based_property(
7374 python_name = python_name ,
7475 description = data .description ,
7576 example = data .example ,
77+ data = data ,
7678 )
7779 if string_format == "binary" :
7880 return FileProperty .build (
@@ -82,6 +84,7 @@ def _string_based_property(
8284 python_name = python_name ,
8385 description = data .description ,
8486 example = data .example ,
87+ data = data ,
8588 )
8689 if string_format == "uuid" :
8790 return UuidProperty .build (
@@ -91,6 +94,7 @@ def _string_based_property(
9194 python_name = python_name ,
9295 description = data .description ,
9396 example = data .example ,
97+ data = data ,
9498 )
9599 return StringProperty .build (
96100 name = name ,
@@ -99,6 +103,7 @@ def _string_based_property(
99103 python_name = python_name ,
100104 description = data .description ,
101105 example = data .example ,
106+ data = data ,
102107 )
103108
104109
@@ -193,6 +198,7 @@ def property_from_data( # noqa: PLR0911, PLR0912
193198 python_name = utils .PythonIdentifier (value = name , prefix = config .field_prefix ),
194199 description = data .description ,
195200 example = data .example ,
201+ data = data ,
196202 ),
197203 schemas ,
198204 )
@@ -232,6 +238,7 @@ def property_from_data( # noqa: PLR0911, PLR0912
232238 const = data .const ,
233239 python_name = utils .PythonIdentifier (value = name , prefix = config .field_prefix ),
234240 description = data .description ,
241+ data = data ,
235242 ),
236243 schemas ,
237244 )
@@ -249,6 +256,7 @@ def property_from_data( # noqa: PLR0911, PLR0912
249256 python_name = utils .PythonIdentifier (value = name , prefix = config .field_prefix ),
250257 description = data .description ,
251258 example = data .example ,
259+ data = data ,
252260 ),
253261 schemas ,
254262 )
@@ -261,6 +269,7 @@ def property_from_data( # noqa: PLR0911, PLR0912
261269 python_name = utils .PythonIdentifier (value = name , prefix = config .field_prefix ),
262270 description = data .description ,
263271 example = data .example ,
272+ data = data ,
264273 ),
265274 schemas ,
266275 )
@@ -273,6 +282,7 @@ def property_from_data( # noqa: PLR0911, PLR0912
273282 python_name = utils .PythonIdentifier (value = name , prefix = config .field_prefix ),
274283 description = data .description ,
275284 example = data .example ,
285+ data = data ,
276286 ),
277287 schemas ,
278288 )
0 commit comments