@@ -201,10 +201,10 @@ class SelectionList(_Timestamped, BaseModel):
201201 Optional fields include
202202
203203 - `target_ids`: If present, a non-empty list of identifiers for the item or items being evaluated.
204- - `resources `: If present, a non-empty list of references to resources that provide additional context about the decision points
204+ - `decision_point_resources `: If present, a non-empty list of resources that provide information related to the decision points
205205 found in this selection. Resources point to documentation, JSON files, or other relevant information that
206206 describe what the decision points are and how they should be interpreted.
207- - `references`: If present, a non-empty list of references to resources that provide additional context about the specific values selected.
207+ - `references`: If present, a non-empty list of resources that provide additional context about the specific values selected.
208208 References point to reports, advisories, or other relevant information that describe why the selected values were chosen.
209209 """
210210
@@ -237,10 +237,10 @@ class SelectionList(_Timestamped, BaseModel):
237237 description = "Timestamp of the selections, in RFC 3339 format." ,
238238 examples = ["2025-01-01T12:00:00Z" , "2025-01-02T15:30:45-04:00" ],
239239 )
240- resources : list [Reference ] = Field (
240+ decision_point_resources : list [Reference ] = Field (
241241 default_factory = list ,
242242 min_length = 1 ,
243- description = "A list of references to resources that provide additional context about the decision points found in this selection." ,
243+ description = "A list of resources that provide additional context about the decision points found in this selection." ,
244244 examples = [
245245 [
246246 {
@@ -261,7 +261,7 @@ class SelectionList(_Timestamped, BaseModel):
261261 references : list [Reference ] = Field (
262262 default_factory = list ,
263263 min_length = 1 ,
264- description = "A list of references to resources that provide additional context about the specific values selected." ,
264+ description = "A list of references that provide additional context about the specific values selected." ,
265265 examples = [
266266 [
267267 {
@@ -329,7 +329,7 @@ def model_json_schema(cls, **kwargs):
329329 "name" ,
330330 "description" ,
331331 "target_ids" ,
332- "resources " ,
332+ "decision_point_resources " ,
333333 "references" ,
334334 ]
335335
@@ -377,7 +377,7 @@ def main() -> None:
377377 references = [
378378 Reference (
379379 uri = "https://example.com/report" ,
380- description = "A report on which the selections were based" ,
380+ summary = "A report on which the selections were based" ,
381381 )
382382 ],
383383 )
0 commit comments