PostHog · Schema
AutocompleteCompletionItem
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| detail | string | A human-readable string with additional information about this item, like type or symbol information. |
| documentation | string | A human-readable string that represents a doc-comment. |
| insertText | string | A string or snippet that should be inserted in a document when selecting this completion. |
| kind | object | The kind of this completion item. Based on the kind an icon is chosen by the editor. |
| label | string | The label of this completion item. By default this is also the text that is inserted when selecting this completion. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AutocompleteCompletionItem",
"title": "AutocompleteCompletionItem",
"additionalProperties": false,
"properties": {
"detail": {
"default": null,
"description": "A human-readable string with additional information about this item, like type or symbol information.",
"title": "Detail",
"type": "string",
"nullable": true
},
"documentation": {
"default": null,
"description": "A human-readable string that represents a doc-comment.",
"title": "Documentation",
"type": "string",
"nullable": true
},
"insertText": {
"description": "A string or snippet that should be inserted in a document when selecting this completion.",
"title": "Inserttext",
"type": "string"
},
"kind": {
"description": "The kind of this completion item. Based on the kind an icon is chosen by the editor.",
"allOf": [
{
"$ref": "#/components/schemas/AutocompleteCompletionItemKind"
}
]
},
"label": {
"description": "The label of this completion item. By default this is also the text that is inserted when selecting this completion.",
"title": "Label",
"type": "string"
}
},
"required": [
"insertText",
"kind",
"label"
],
"type": "object"
}