56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
|
|
{
|
||
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"kind": {
|
||
|
|
"type": "string",
|
||
|
|
"enum": [
|
||
|
|
"DAY_AHEAD_BID_SUMMARY",
|
||
|
|
"FORECAST_EVAL",
|
||
|
|
"BID_BACKTEST"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"market_date": {
|
||
|
|
"type": "string",
|
||
|
|
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
||
|
|
},
|
||
|
|
"sources": {
|
||
|
|
"minItems": 1,
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"tool_call_id": {
|
||
|
|
"type": "string",
|
||
|
|
"minLength": 1
|
||
|
|
},
|
||
|
|
"tool": {
|
||
|
|
"type": "string",
|
||
|
|
"minLength": 1
|
||
|
|
},
|
||
|
|
"version": {
|
||
|
|
"type": "string",
|
||
|
|
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
||
|
|
},
|
||
|
|
"output": {}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"tool_call_id",
|
||
|
|
"tool",
|
||
|
|
"version",
|
||
|
|
"output"
|
||
|
|
],
|
||
|
|
"additionalProperties": false
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"kind",
|
||
|
|
"market_date",
|
||
|
|
"sources"
|
||
|
|
],
|
||
|
|
"additionalProperties": false,
|
||
|
|
"$id": "https://vpp-ai-platform/contracts/report_request.json",
|
||
|
|
"title": "ReportRequest"
|
||
|
|
}
|