@dmptool/types 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/answers/__tests__/answers.spec.js +122 -6
- package/dist/answers/answer.d.ts +3 -3
- package/dist/answers/graphQLAnswers.d.ts +120 -25
- package/dist/answers/graphQLAnswers.js +22 -5
- package/dist/answers/index.d.ts +399 -31
- package/dist/answers/index.js +8 -2
- package/dist/answers/numberAnswers.d.ts +40 -0
- package/dist/answers/numberAnswers.js +8 -1
- package/dist/answers/tableAnswers.d.ts +1688 -75
- package/dist/answers/tableAnswers.js +63 -2
- package/dist/questions/__tests__/graphQLQuestions.spec.js +177 -39
- package/dist/questions/__tests__/numberQuestions.spec.js +36 -0
- package/dist/questions/__tests__/tableQuestion.spec.js +145 -0
- package/dist/questions/__tests__/usage.spec.js +162 -1
- package/dist/questions/graphQLQuestions.d.ts +420 -60
- package/dist/questions/graphQLQuestions.js +257 -11
- package/dist/questions/index.d.ts +4849 -189
- package/dist/questions/index.js +9 -2
- package/dist/questions/numberQuestions.d.ts +105 -0
- package/dist/questions/numberQuestions.js +12 -1
- package/dist/questions/question.d.ts +4 -4
- package/dist/questions/question.js +25 -4
- package/dist/questions/tableQuestions.d.ts +5930 -679
- package/dist/questions/tableQuestions.js +175 -3
- package/dist/schemas/anyAnswer.schema.json +137 -17
- package/dist/schemas/anyQuestion.schema.json +829 -101
- package/dist/schemas/anyTableColumnAnswer.schema.json +116 -5
- package/dist/schemas/anyTableColumnQuestion.schema.json +326 -24
- package/dist/schemas/licenseSearchAnswer.schema.json +49 -0
- package/dist/schemas/licenseSearchQuestion.schema.json +164 -0
- package/dist/schemas/metadataStandardSearchAnswer.schema.json +49 -0
- package/dist/schemas/metadataStandardSearchQuestion.schema.json +174 -0
- package/dist/schemas/numberWithContextAnswer.schema.json +45 -0
- package/dist/schemas/numberWithContextQuestion.schema.json +84 -0
- package/dist/schemas/repositorySearchAnswer.schema.json +49 -0
- package/dist/schemas/repositorySearchQuestion.schema.json +180 -0
- package/dist/schemas/researchOutputTableAnswer.schema.json +519 -0
- package/dist/schemas/researchOutputTableQuestion.schema.json +1183 -0
- package/dist/schemas/tableAnswer.schema.json +116 -5
- package/dist/schemas/tableQuestion.schema.json +348 -24
- package/package.json +9 -5
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/LicenseSearchQuestion",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"LicenseSearchQuestion": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "licenseSearch"
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"labelTranslationKey": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"default": {}
|
|
26
|
+
},
|
|
27
|
+
"meta": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"schemaVersion": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"default": "1.0"
|
|
33
|
+
},
|
|
34
|
+
"title": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"usageDescription": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"default": {}
|
|
43
|
+
},
|
|
44
|
+
"graphQL": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"displayFields": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"propertyName": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"default": "id"
|
|
55
|
+
},
|
|
56
|
+
"label": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Id"
|
|
59
|
+
},
|
|
60
|
+
"labelTranslationKey": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"additionalProperties": false
|
|
65
|
+
},
|
|
66
|
+
"default": [
|
|
67
|
+
{
|
|
68
|
+
"propertyName": "name",
|
|
69
|
+
"label": "Name"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"propertyName": "description",
|
|
73
|
+
"label": "Description"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"propertyName": "recommended",
|
|
77
|
+
"label": "Recommended"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"localQueryId": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"query": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"const": "query Licenses($term: String, $paginationOptions: PaginationOptions){ license(term: $term, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description } } }",
|
|
87
|
+
"default": "query Licenses($term: String, $paginationOptions: PaginationOptions){ license(term: $term, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description } } }"
|
|
88
|
+
},
|
|
89
|
+
"responseField": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"const": "licenses.items",
|
|
92
|
+
"default": "licenses.items"
|
|
93
|
+
},
|
|
94
|
+
"variables": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"properties": {
|
|
99
|
+
"minLength": {
|
|
100
|
+
"type": "number"
|
|
101
|
+
},
|
|
102
|
+
"label": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"labelTranslationKey": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
"name": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"default": "search"
|
|
111
|
+
},
|
|
112
|
+
"type": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"default": "string"
|
|
115
|
+
},
|
|
116
|
+
"defaultValue": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"additionalProperties": false
|
|
121
|
+
},
|
|
122
|
+
"default": [
|
|
123
|
+
{
|
|
124
|
+
"minLength": 3,
|
|
125
|
+
"label": "Search for a license",
|
|
126
|
+
"name": "term",
|
|
127
|
+
"type": "string"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"label": "Pagination Options",
|
|
131
|
+
"name": "paginationOptions",
|
|
132
|
+
"type": "paginationOptions",
|
|
133
|
+
"options": {
|
|
134
|
+
"type": "OFFSET",
|
|
135
|
+
"limit": 10,
|
|
136
|
+
"offset": 0,
|
|
137
|
+
"sortField": "name",
|
|
138
|
+
"sortOrder": "ASC"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"queryId": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"default": "useLicensesQuery"
|
|
146
|
+
},
|
|
147
|
+
"answerField": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"const": "uri",
|
|
150
|
+
"default": "uri"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"additionalProperties": false,
|
|
154
|
+
"default": {}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": [
|
|
158
|
+
"type"
|
|
159
|
+
],
|
|
160
|
+
"additionalProperties": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
164
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/MetadataStandardSearchAnswer",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"MetadataStandardSearchAnswer": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "metadataStandardSearch"
|
|
10
|
+
},
|
|
11
|
+
"meta": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"schemaVersion": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"default": "1.0"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false,
|
|
20
|
+
"default": {}
|
|
21
|
+
},
|
|
22
|
+
"answer": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"metadataStandardId": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"default": ""
|
|
30
|
+
},
|
|
31
|
+
"metadataStandardName": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"default": ""
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": false,
|
|
37
|
+
"default": {}
|
|
38
|
+
},
|
|
39
|
+
"default": []
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [
|
|
43
|
+
"type"
|
|
44
|
+
],
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
49
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/MetadataStandardSearchQuestion",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"MetadataStandardSearchQuestion": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "metadataStandardSearch"
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"labelTranslationKey": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"default": {}
|
|
26
|
+
},
|
|
27
|
+
"meta": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"schemaVersion": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"default": "1.0"
|
|
33
|
+
},
|
|
34
|
+
"title": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"usageDescription": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"default": {}
|
|
43
|
+
},
|
|
44
|
+
"graphQL": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"displayFields": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"propertyName": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"default": "id"
|
|
55
|
+
},
|
|
56
|
+
"label": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Id"
|
|
59
|
+
},
|
|
60
|
+
"labelTranslationKey": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"additionalProperties": false
|
|
65
|
+
},
|
|
66
|
+
"default": [
|
|
67
|
+
{
|
|
68
|
+
"propertyName": "name",
|
|
69
|
+
"label": "Name"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"propertyName": "description",
|
|
73
|
+
"label": "Description"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"propertyName": "website",
|
|
77
|
+
"label": "Website"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"propertyName": "keywords",
|
|
81
|
+
"label": "Subject Areas"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"localQueryId": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"query": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"const": "query MetadataStandards($term: String, $keywords: [String!], $paginationOptions: PaginationOptions){ metadataStandards(term: $term, keywords: $keywords, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description keywords } } }",
|
|
91
|
+
"default": "query MetadataStandards($term: String, $keywords: [String!], $paginationOptions: PaginationOptions){ metadataStandards(term: $term, keywords: $keywords, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description keywords } } }"
|
|
92
|
+
},
|
|
93
|
+
"responseField": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"const": "metadataStandards.items",
|
|
96
|
+
"default": "metadataStandards.items"
|
|
97
|
+
},
|
|
98
|
+
"variables": {
|
|
99
|
+
"type": "array",
|
|
100
|
+
"items": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"minLength": {
|
|
104
|
+
"type": "number"
|
|
105
|
+
},
|
|
106
|
+
"label": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"labelTranslationKey": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"name": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"default": "search"
|
|
115
|
+
},
|
|
116
|
+
"type": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"default": "string"
|
|
119
|
+
},
|
|
120
|
+
"defaultValue": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"additionalProperties": false
|
|
125
|
+
},
|
|
126
|
+
"default": [
|
|
127
|
+
{
|
|
128
|
+
"minLength": 3,
|
|
129
|
+
"label": "Search for a metadata standard",
|
|
130
|
+
"name": "term",
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"minLength": 3,
|
|
135
|
+
"label": "Subject Areas",
|
|
136
|
+
"name": "keywords",
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"label": "Pagination Options",
|
|
141
|
+
"name": "paginationOptions",
|
|
142
|
+
"type": "paginationOptions",
|
|
143
|
+
"options": {
|
|
144
|
+
"type": "OFFSET",
|
|
145
|
+
"limit": 10,
|
|
146
|
+
"offset": 0,
|
|
147
|
+
"sortField": "name",
|
|
148
|
+
"sortOrder": "ASC"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"queryId": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"default": "useMetadataStandardsQuery"
|
|
156
|
+
},
|
|
157
|
+
"answerField": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"const": "uri",
|
|
160
|
+
"default": "uri"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"additionalProperties": false,
|
|
164
|
+
"default": {}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"required": [
|
|
168
|
+
"type"
|
|
169
|
+
],
|
|
170
|
+
"additionalProperties": false
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
174
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/NumberWithContextAnswer",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"NumberWithContextAnswer": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "numberWithContext"
|
|
10
|
+
},
|
|
11
|
+
"meta": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"schemaVersion": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"default": "1.0"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false,
|
|
20
|
+
"default": {}
|
|
21
|
+
},
|
|
22
|
+
"answer": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"value": {
|
|
26
|
+
"type": "number",
|
|
27
|
+
"default": 0
|
|
28
|
+
},
|
|
29
|
+
"context": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"default": ""
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": [
|
|
38
|
+
"type",
|
|
39
|
+
"answer"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
45
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/NumberWithContextQuestion",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"NumberWithContextQuestion": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "numberWithContext"
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"labelTranslationKey": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"max": {
|
|
24
|
+
"type": "number"
|
|
25
|
+
},
|
|
26
|
+
"min": {
|
|
27
|
+
"type": "number",
|
|
28
|
+
"default": 0
|
|
29
|
+
},
|
|
30
|
+
"step": {
|
|
31
|
+
"type": "number",
|
|
32
|
+
"default": 1
|
|
33
|
+
},
|
|
34
|
+
"context": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"label": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"default": ""
|
|
42
|
+
},
|
|
43
|
+
"labelTranslationKey": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"value": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"default": ""
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"additionalProperties": false
|
|
52
|
+
},
|
|
53
|
+
"default": []
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"default": {}
|
|
58
|
+
},
|
|
59
|
+
"meta": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"schemaVersion": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"default": "1.0"
|
|
65
|
+
},
|
|
66
|
+
"title": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"usageDescription": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"additionalProperties": false,
|
|
74
|
+
"default": {}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"type"
|
|
79
|
+
],
|
|
80
|
+
"additionalProperties": false
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
84
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RepositorySearchAnswer",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RepositorySearchAnswer": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "repositorySearch"
|
|
10
|
+
},
|
|
11
|
+
"meta": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"schemaVersion": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"default": "1.0"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false,
|
|
20
|
+
"default": {}
|
|
21
|
+
},
|
|
22
|
+
"answer": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"repositoryId": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"default": ""
|
|
30
|
+
},
|
|
31
|
+
"repositoryName": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"default": ""
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": false,
|
|
37
|
+
"default": {}
|
|
38
|
+
},
|
|
39
|
+
"default": []
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [
|
|
43
|
+
"type"
|
|
44
|
+
],
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
49
|
+
}
|