diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-05-27 15:58:34 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-05-27 15:58:34 -0400 |
commit | 04e0ebd6ef7c3ba15d8210f5e6c879db2894ed03 (patch) | |
tree | 6a716c26a1db5299fa058b51371a3bd2d6064ab9 /schema/json/HistoryNode.json | |
parent | 657b185c5d40baa99c87feee06e04f0732d85cc0 (diff) | |
download | sncontinue-04e0ebd6ef7c3ba15d8210f5e6c879db2894ed03.tar.gz sncontinue-04e0ebd6ef7c3ba15d8210f5e6c879db2894ed03.tar.bz2 sncontinue-04e0ebd6ef7c3ba15d8210f5e6c879db2894ed03.zip |
Added History classes for JSON Schema generation
Diffstat (limited to 'schema/json/HistoryNode.json')
-rw-r--r-- | schema/json/HistoryNode.json | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/schema/json/HistoryNode.json b/schema/json/HistoryNode.json new file mode 100644 index 00000000..f58b8038 --- /dev/null +++ b/schema/json/HistoryNode.json @@ -0,0 +1,51 @@ +{ + "title": "HistoryNode", + "$ref": "#/definitions/continuedev__src__continuedev__core__main__HistoryNode", + "definitions": { + "Step": { + "title": "Step", + "type": "object", + "properties": { + "name": { + "title": "Name", + "type": "string" + }, + "hide": { + "title": "Hide", + "default": false, + "type": "boolean" + }, + "system_message": { + "title": "System Message", + "type": "string" + } + } + }, + "Observation": { + "title": "Observation", + "type": "object", + "properties": {} + }, + "continuedev__src__continuedev__core__main__HistoryNode": { + "title": "HistoryNode", + "description": "A point in history, a list of which make up History", + "type": "object", + "properties": { + "step": { + "$ref": "#/definitions/Step" + }, + "observation": { + "$ref": "#/definitions/Observation" + }, + "depth": { + "title": "Depth", + "type": "integer" + } + }, + "required": [ + "step", + "depth" + ] + } + } +}
\ No newline at end of file |