feat: add DSH IDE open-file references
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://www.prophetk.icu/Prophet/dsh-plugin-coop-with-vs/-/raw/main/protocol/open-files-v1.schema.json",
|
||||
"title": "DSH IDE open-file snapshot",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["version", "instanceId", "ide", "processId", "updatedAt", "documents"],
|
||||
"properties": {
|
||||
"version": { "const": 1 },
|
||||
"instanceId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
||||
"ide": { "enum": ["vscode", "visualstudio"] },
|
||||
"processId": { "type": "integer", "minimum": 1 },
|
||||
"workspace": { "type": "string", "maxLength": 32768 },
|
||||
"updatedAt": { "type": "string", "format": "date-time" },
|
||||
"documents": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["path", "label", "dirty"],
|
||||
"properties": {
|
||||
"path": { "type": "string", "minLength": 1, "maxLength": 32768 },
|
||||
"label": { "type": "string", "minLength": 1, "maxLength": 1024 },
|
||||
"dirty": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user