aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/vendor/williamdes/mariadb-mysql-kbs/schemas/merged-raw.json
blob: 461653cee30e253742ed83c3d153b43b9c74e7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
    "$id": "urn:williamdes:mariadb-mysql-kbs:rawdata",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "definitions": {},
    "properties": {
        "vars": {
            "type": "object",
            "patternProperties": {
                "^([a-zA-Z_]+)": {
                    "type": "object",
                    "properties": {
                        "name": {
                            "type": "string",
                            "minLength": 2
                        },
                        "scope": {
                            "type": "array",
                            "additionalItems": false,
                            "items": {
                                "type": "string",
                                "enum": [
                                    "global",
                                    "session",
                                    "connection"
                                ]
                            }
                        },
                        "type": {
                            "type": "string"
                        },
                        "ids": {
                            "type": "array",
                            "additionalItems": false,
                            "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "anchor": {
                                        "type": "string",
                                        "minLength": 1
                                    },
                                    "url": {
                                        "type": "string",
                                        "format": "uri"
                                    }
                                }
                            }
                        },
                        "cli": {
                            "type": "string",
                            "minLength": 2
                        },
                        "default": {
                            "type": "string",
                            "minLength": 0
                        },
                        "dynamic": {
                            "type": "boolean"
                        },
                        "range": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                                "from": {
                                    "type": "number"
                                },
                                "to": {
                                    "oneOf": [
                                        {
                                            "type": "number"
                                        },
                                        {
                                            "type": "string",
                                            "enum": ["upwards"]
                                        }
                                    ]
                                }
                            }
                        },
                        "validValues": {
                            "type": "array",
                            "additionalItems": false,
                            "items": {
                                "type": [ "string", "number"]
                            }
                        }
                    },
                    "additionalProperties": false
                }
            },
            "additionalProperties": false
        },
        "version": {
            "$ref": "urn:williamdes:mariadb-mysql-kbs:doc-version"
        },
        "urls": {
            "type": "array",
            "additionalItems": false,
            "items": {
                "$ref": "urn:williamdes:mariadb-mysql-kbs:doc-url"
            }
        },
        "types": {
            "$ref": "urn:williamdes:mariadb-mysql-kbs:linked-key-var"
        },
        "varTypes": {
            "$ref": "urn:williamdes:mariadb-mysql-kbs:linked-key-var"
        }
    },
    "additionalProperties": false
}