39 lines
685 B
JSON
39 lines
685 B
JSON
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"kind",
|
|
"text",
|
|
"path_prefix"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"const": "source.context"
|
|
},
|
|
"text": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 200
|
|
},
|
|
"path_prefix": {
|
|
"type": "string",
|
|
"maxLength": 250
|
|
},
|
|
"scope": {
|
|
"enum": [
|
|
"code",
|
|
"schema",
|
|
"historical_sql"
|
|
]
|
|
},
|
|
"entity_refs": {
|
|
"type": "array",
|
|
"maxItems": 4,
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"type": "string",
|
|
"pattern": "^N[0-9]{4,}$"
|
|
}
|
|
}
|
|
}
|
|
} |