@giteeteam/apps-manifest 0.8.0 → 0.8.2
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/lib/index.d.ts +2 -2
- package/lib/index.js +20 -20
- package/lib/manifest.d.ts +64 -64
- package/lib/manifest.js +126 -126
- package/lib/schema/all.json +34 -34
- package/lib/schema/app.json +21 -21
- package/lib/schema/dependVersion.json +6 -6
- package/lib/schema/locales.json +6 -6
- package/lib/schema/messageQueues.json +31 -31
- package/lib/schema/modules/custom-field/field.json +19 -19
- package/lib/schema/modules/custom-field/proxima-field.json +19 -19
- package/lib/schema/modules/custom-field/type.json +18 -18
- package/lib/schema/modules/custom-item-type/base.json +16 -16
- package/lib/schema/modules/frontend/base.json +25 -25
- package/lib/schema/modules/frontend/workspacePage.json +28 -28
- package/lib/schema/modules/function/base.json +15 -15
- package/lib/schema/modules/index.json +180 -180
- package/lib/schema/modules/proxima-workflow/condition.json +39 -39
- package/lib/schema/modules/proxima-workflow/post-function.json +36 -36
- package/lib/schema/modules/proxima-workflow/resource.json +15 -15
- package/lib/schema/modules/proxima-workflow/validator.json +56 -56
- package/lib/schema/modules/trigger/base.json +26 -26
- package/lib/schema/modules/trigger/webtrigger.json +15 -15
- package/lib/schema/resources.json +27 -27
- package/lib/schema/storage.json +92 -92
- package/lib/schema/tables.json +151 -151
- package/lib/types.d.ts +132 -130
- package/lib/types.js +2 -2
- package/lib/validate.d.ts +75 -75
- package/lib/validate.js +231 -231
- package/package.json +7 -5
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/proxima-workflow/condition.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"key": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"title": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"description": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
|
-
"expression": {
|
|
15
|
-
"type": "string"
|
|
16
|
-
},
|
|
17
|
-
"errorMessage": {
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"resource": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"loadType": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
"create": {
|
|
27
|
-
"$ref": "resource.json"
|
|
28
|
-
},
|
|
29
|
-
"edit": {
|
|
30
|
-
"$ref": "resource.json"
|
|
31
|
-
},
|
|
32
|
-
"view": {
|
|
33
|
-
"$ref": "resource.json"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"required": [
|
|
37
|
-
"key"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/proxima-workflow/condition.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"description": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"expression": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"errorMessage": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"resource": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"loadType": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"create": {
|
|
27
|
+
"$ref": "resource.json"
|
|
28
|
+
},
|
|
29
|
+
"edit": {
|
|
30
|
+
"$ref": "resource.json"
|
|
31
|
+
},
|
|
32
|
+
"view": {
|
|
33
|
+
"$ref": "resource.json"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"key"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/proxima-workflow/post-function.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"key": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"title": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"description": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
|
-
"function": {
|
|
15
|
-
"type": "string"
|
|
16
|
-
},
|
|
17
|
-
"resource": {
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"loadType": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"create": {
|
|
24
|
-
"$ref": "resource.json"
|
|
25
|
-
},
|
|
26
|
-
"edit": {
|
|
27
|
-
"$ref": "resource.json"
|
|
28
|
-
},
|
|
29
|
-
"view": {
|
|
30
|
-
"$ref": "resource.json"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"required": [
|
|
34
|
-
"key", "function"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/proxima-workflow/post-function.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"description": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"function": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"resource": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"loadType": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"create": {
|
|
24
|
+
"$ref": "resource.json"
|
|
25
|
+
},
|
|
26
|
+
"edit": {
|
|
27
|
+
"$ref": "resource.json"
|
|
28
|
+
},
|
|
29
|
+
"view": {
|
|
30
|
+
"$ref": "resource.json"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"key", "function"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/proxima-workflow/resource.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"route": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"title": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"required": [
|
|
13
|
-
"route"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/proxima-workflow/resource.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"route": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": [
|
|
13
|
+
"route"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/proxima-workflow/validator.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"key": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"title": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"description": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
|
-
"expression": {
|
|
15
|
-
"type": "string"
|
|
16
|
-
},
|
|
17
|
-
"errorMessage": {
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"function": {
|
|
21
|
-
"type": "string"
|
|
22
|
-
},
|
|
23
|
-
"resource": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
"loadType": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
},
|
|
29
|
-
"create": {
|
|
30
|
-
"$ref": "resource.json"
|
|
31
|
-
},
|
|
32
|
-
"edit": {
|
|
33
|
-
"$ref": "resource.json"
|
|
34
|
-
},
|
|
35
|
-
"view": {
|
|
36
|
-
"$ref": "resource.json"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"required": [
|
|
40
|
-
"key"
|
|
41
|
-
],
|
|
42
|
-
"oneOf": [
|
|
43
|
-
{
|
|
44
|
-
"required": ["expression"],
|
|
45
|
-
"not": {
|
|
46
|
-
"required": ["function"]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"required": ["function"],
|
|
51
|
-
"not": {
|
|
52
|
-
"required": ["expression"]
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
]
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/proxima-workflow/validator.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"description": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"expression": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"errorMessage": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"function": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"resource": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"loadType": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"create": {
|
|
30
|
+
"$ref": "resource.json"
|
|
31
|
+
},
|
|
32
|
+
"edit": {
|
|
33
|
+
"$ref": "resource.json"
|
|
34
|
+
},
|
|
35
|
+
"view": {
|
|
36
|
+
"$ref": "resource.json"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": [
|
|
40
|
+
"key"
|
|
41
|
+
],
|
|
42
|
+
"oneOf": [
|
|
43
|
+
{
|
|
44
|
+
"required": ["expression"],
|
|
45
|
+
"not": {
|
|
46
|
+
"required": ["function"]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"required": ["function"],
|
|
51
|
+
"not": {
|
|
52
|
+
"required": ["expression"]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/trigger/base.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"key": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"events": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"uniqueItems": true,
|
|
11
|
-
"minItems": 1,
|
|
12
|
-
"additionalItems": true,
|
|
13
|
-
"items": [
|
|
14
|
-
{
|
|
15
|
-
"type": "string"
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
"function": {
|
|
20
|
-
"type": "string"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"required": [
|
|
24
|
-
"key", "events", "function"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/trigger/base.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"events": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"uniqueItems": true,
|
|
11
|
+
"minItems": 1,
|
|
12
|
+
"additionalItems": true,
|
|
13
|
+
"items": [
|
|
14
|
+
{
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"function": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"key", "events", "function"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/trigger/webtrigger.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"key": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"function": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"required": [
|
|
13
|
-
"key", "function"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/trigger/webtrigger.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"function": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": [
|
|
13
|
+
"key", "function"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "http://proxima.com/schemas/resources.json",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"minItems": 1,
|
|
5
|
-
"uniqueItems": true,
|
|
6
|
-
"uniqueItemProperties": [
|
|
7
|
-
"key"
|
|
8
|
-
],
|
|
9
|
-
"items": {
|
|
10
|
-
"type": "object",
|
|
11
|
-
"properties": {
|
|
12
|
-
"key": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"path": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"required": [
|
|
20
|
-
"key",
|
|
21
|
-
"path"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"errorMessage": {
|
|
25
|
-
"uniqueItemProperties": "key must be unique"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$id": "http://proxima.com/schemas/resources.json",
|
|
3
|
+
"type": "array",
|
|
4
|
+
"minItems": 1,
|
|
5
|
+
"uniqueItems": true,
|
|
6
|
+
"uniqueItemProperties": [
|
|
7
|
+
"key"
|
|
8
|
+
],
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"key": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"path": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"key",
|
|
21
|
+
"path"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"errorMessage": {
|
|
25
|
+
"uniqueItemProperties": "key must be unique"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/lib/schema/storage.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "http://proxima.com/schemas/storage.json",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"entities": {
|
|
6
|
-
"minItems": 1,
|
|
7
|
-
"uniqueItems": true,
|
|
8
|
-
"uniqueItemProperties": [
|
|
9
|
-
"name"
|
|
10
|
-
],
|
|
11
|
-
"type": "array",
|
|
12
|
-
"items": {
|
|
13
|
-
"type": "object",
|
|
14
|
-
"properties": {
|
|
15
|
-
"name": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"attributes": {
|
|
19
|
-
"type": "object",
|
|
20
|
-
"minProperties": 1,
|
|
21
|
-
"patternProperties": {
|
|
22
|
-
"(^_([a-zA-Z0-9]_?)*$)|(^[a-zA-Z](_?[a-zA-Z0-9])*_?$)": {
|
|
23
|
-
"type": "object",
|
|
24
|
-
"anyOf": [
|
|
25
|
-
{
|
|
26
|
-
"type": "object",
|
|
27
|
-
"additionalProperties": true,
|
|
28
|
-
"properties": {
|
|
29
|
-
"type": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"enum": [
|
|
32
|
-
"String",
|
|
33
|
-
"Boolean",
|
|
34
|
-
"Date",
|
|
35
|
-
"Float"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"required": {
|
|
39
|
-
"type": "boolean"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"required": [
|
|
45
|
-
"type"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"indexes": {
|
|
51
|
-
"type": "array",
|
|
52
|
-
"items": {
|
|
53
|
-
"anyOf": [
|
|
54
|
-
{
|
|
55
|
-
"type": "string"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"type": "object",
|
|
59
|
-
"additionalProperties": true,
|
|
60
|
-
"properties": {
|
|
61
|
-
"name": {
|
|
62
|
-
"type": "string"
|
|
63
|
-
},
|
|
64
|
-
"fields": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"items": {
|
|
67
|
-
"type": "string"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"unique": {
|
|
71
|
-
"type": "boolean"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"required": [
|
|
80
|
-
"name",
|
|
81
|
-
"attributes"
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
"errorMessage": {
|
|
85
|
-
"uniqueItemProperties": "name must be unique"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"required": [
|
|
90
|
-
"entities"
|
|
91
|
-
]
|
|
92
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$id": "http://proxima.com/schemas/storage.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"entities": {
|
|
6
|
+
"minItems": 1,
|
|
7
|
+
"uniqueItems": true,
|
|
8
|
+
"uniqueItemProperties": [
|
|
9
|
+
"name"
|
|
10
|
+
],
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"properties": {
|
|
15
|
+
"name": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"attributes": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"minProperties": 1,
|
|
21
|
+
"patternProperties": {
|
|
22
|
+
"(^_([a-zA-Z0-9]_?)*$)|(^[a-zA-Z](_?[a-zA-Z0-9])*_?$)": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"anyOf": [
|
|
25
|
+
{
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": true,
|
|
28
|
+
"properties": {
|
|
29
|
+
"type": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": [
|
|
32
|
+
"String",
|
|
33
|
+
"Boolean",
|
|
34
|
+
"Date",
|
|
35
|
+
"Float"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"required": {
|
|
39
|
+
"type": "boolean"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"required": [
|
|
45
|
+
"type"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"indexes": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": {
|
|
53
|
+
"anyOf": [
|
|
54
|
+
{
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "object",
|
|
59
|
+
"additionalProperties": true,
|
|
60
|
+
"properties": {
|
|
61
|
+
"name": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"fields": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"unique": {
|
|
71
|
+
"type": "boolean"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"name",
|
|
81
|
+
"attributes"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"errorMessage": {
|
|
85
|
+
"uniqueItemProperties": "name must be unique"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": [
|
|
90
|
+
"entities"
|
|
91
|
+
]
|
|
92
|
+
}
|