codify-schemas 1.0.32 → 1.0.34
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/dist/config-file-schema.json +1 -1
- package/dist/ipc-message-schema.json +1 -1
- package/dist/messages/apply-request-data-schema.json +68 -58
- package/dist/messages/apply-response-data-schema.json +1 -1
- package/dist/messages/error-response-data-schema.json +1 -1
- package/dist/messages/initialize-request-data-schema.json +1 -1
- package/dist/messages/initialize-response-data-schema.json +1 -1
- package/dist/messages/plan-request-data-schema.json +1 -1
- package/dist/messages/plan-response-data-schema.json +1 -1
- package/dist/messages/validate-request-data-schema.json +1 -1
- package/dist/messages/validate-response-data-schema.json +1 -1
- package/dist/project-schema.json +1 -1
- package/dist/resource-schema.json +1 -1
- package/package.json +1 -1
- package/src/config-file-schema.json +1 -1
- package/src/ipc-message-schema.json +1 -1
- package/src/messages/apply-request-data-schema.json +68 -58
- package/src/messages/apply-request-data-schema.test.ts +24 -1
- package/src/messages/apply-response-data-schema.json +1 -1
- package/src/messages/error-response-data-schema.json +1 -1
- package/src/messages/get-resources-response-data-schema.json +1 -1
- package/src/messages/initialize-request-data-schema.json +1 -1
- package/src/messages/initialize-response-data-schema.json +1 -1
- package/src/messages/plan-request-data-schema.json +1 -1
- package/src/messages/plan-response-data-schema.json +1 -1
- package/src/messages/sudo-request-data-schema.json +15 -0
- package/src/messages/sudo-request-data-schema.test.ts +21 -0
- package/src/messages/sudo-response-data-schema.json +9 -0
- package/src/messages/sudo-response-data-schema.test.ts +21 -0
- package/src/messages/validate-request-data-schema.json +1 -1
- package/src/messages/validate-response-data-schema.json +1 -1
- package/src/project-schema.json +1 -1
- package/src/resource-schema.json +1 -1
|
@@ -1,71 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/apply-request-data-schema.json",
|
|
4
4
|
"title": "Apply Request Schema Data",
|
|
5
5
|
"description": "Apply the previously generated plan. The plan must already be generated in order for apply to work.",
|
|
6
6
|
"type": "object",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"description": "The plan uuid. This id is used to look up the generated plan on the plugin side.",
|
|
10
|
-
"type": "string",
|
|
11
|
-
"format": "uuid"
|
|
12
|
-
},
|
|
13
|
-
"plan": {
|
|
14
|
-
"description": "Alternatively, the client can supply a complete plan instead of a planId",
|
|
15
|
-
"type": "object",
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
16
9
|
"properties": {
|
|
17
|
-
"
|
|
18
|
-
"description": "The plan
|
|
10
|
+
"planId": {
|
|
11
|
+
"description": "The plan uuid. This id is used to look up the generated plan on the plugin side.",
|
|
19
12
|
"type": "string",
|
|
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
|
-
|
|
13
|
+
"format": "uuid"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["planId"],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"properties": {
|
|
21
|
+
"plan": {
|
|
22
|
+
"description": "Alternatively, the client can supply a complete plan instead of a planId",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"operation": {
|
|
26
|
+
"description": "The plan operation",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": ["create", "destroy", "modify", "recreate", "noop"]
|
|
29
|
+
},
|
|
30
|
+
"resourceType": {
|
|
31
|
+
"description": "The resource type",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"resourceName": {
|
|
35
|
+
"description": "The resource name",
|
|
36
|
+
"type": ["string", "null"]
|
|
37
|
+
},
|
|
38
|
+
"parameters": {
|
|
39
|
+
"description": "The properties come from the provided config and is not necessarily every parameter on the ",
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"name": {
|
|
45
|
+
"description": "The property name",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"operation": {
|
|
49
|
+
"description": "The operation to be performed on the parameter",
|
|
50
|
+
"type": "string",
|
|
51
|
+
"enum": [
|
|
52
|
+
"remove",
|
|
53
|
+
"add",
|
|
54
|
+
"modify",
|
|
55
|
+
"noop"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"newValue": {
|
|
59
|
+
"description": "The new value"
|
|
60
|
+
},
|
|
61
|
+
"previousValue": {
|
|
62
|
+
"description": "The new value"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"name",
|
|
67
|
+
"operation",
|
|
68
|
+
"newValue",
|
|
69
|
+
"previousValue"
|
|
48
70
|
]
|
|
49
|
-
},
|
|
50
|
-
"newValue": {
|
|
51
|
-
"description": "The new value"
|
|
52
|
-
},
|
|
53
|
-
"previousValue": {
|
|
54
|
-
"description": "The new value"
|
|
55
71
|
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"operation",
|
|
60
|
-
"newValue",
|
|
61
|
-
"previousValue"
|
|
62
|
-
]
|
|
63
|
-
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": ["operation", "resourceType", "parameters"]
|
|
64
75
|
}
|
|
65
76
|
},
|
|
66
|
-
"required": ["
|
|
77
|
+
"required": ["plan"],
|
|
78
|
+
"additionalProperties": false
|
|
67
79
|
}
|
|
68
|
-
|
|
69
|
-
"required": [],
|
|
70
|
-
"additionalProperties": false
|
|
80
|
+
]
|
|
71
81
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/error-response-data-schema.json",
|
|
4
4
|
"title": "Error Response Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/initialize-request-data-schema.json",
|
|
4
4
|
"title": "Initialize Request Schema Data",
|
|
5
5
|
"description": "Initialize the plugin",
|
|
6
6
|
"type": "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/initialize-response-data-schema.json",
|
|
4
4
|
"title": "Initialize Request Schema Data",
|
|
5
5
|
"description": "Initialize the plugin",
|
|
6
6
|
"type": "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/plan-request-data-schema.json",
|
|
4
4
|
"title": "Plan Request Schema Data",
|
|
5
5
|
"$ref": "resource-schema.json"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/plan-response-data-schema.json",
|
|
4
4
|
"title": "Plan Response Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/validate-request-data-schema.json",
|
|
4
4
|
"title": "Validate Request Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/validate-response-data-schema.json",
|
|
4
4
|
"title": "Validate Response Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
package/dist/project-schema.json
CHANGED
package/package.json
CHANGED
|
@@ -1,71 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/apply-request-data-schema.json",
|
|
4
4
|
"title": "Apply Request Schema Data",
|
|
5
5
|
"description": "Apply the previously generated plan. The plan must already be generated in order for apply to work.",
|
|
6
6
|
"type": "object",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"description": "The plan uuid. This id is used to look up the generated plan on the plugin side.",
|
|
10
|
-
"type": "string",
|
|
11
|
-
"format": "uuid"
|
|
12
|
-
},
|
|
13
|
-
"plan": {
|
|
14
|
-
"description": "Alternatively, the client can supply a complete plan instead of a planId",
|
|
15
|
-
"type": "object",
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
16
9
|
"properties": {
|
|
17
|
-
"
|
|
18
|
-
"description": "The plan
|
|
10
|
+
"planId": {
|
|
11
|
+
"description": "The plan uuid. This id is used to look up the generated plan on the plugin side.",
|
|
19
12
|
"type": "string",
|
|
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
|
-
|
|
13
|
+
"format": "uuid"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["planId"],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"properties": {
|
|
21
|
+
"plan": {
|
|
22
|
+
"description": "Alternatively, the client can supply a complete plan instead of a planId",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"operation": {
|
|
26
|
+
"description": "The plan operation",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum" : ["create", "destroy", "modify", "recreate", "noop"]
|
|
29
|
+
},
|
|
30
|
+
"resourceType": {
|
|
31
|
+
"description": "The resource type",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"resourceName": {
|
|
35
|
+
"description": "The resource name",
|
|
36
|
+
"type": ["string", "null"]
|
|
37
|
+
},
|
|
38
|
+
"parameters": {
|
|
39
|
+
"description": "The properties come from the provided config and is not necessarily every parameter on the ",
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"name": {
|
|
45
|
+
"description": "The property name",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"operation": {
|
|
49
|
+
"description": "The operation to be performed on the parameter",
|
|
50
|
+
"type": "string",
|
|
51
|
+
"enum": [
|
|
52
|
+
"remove",
|
|
53
|
+
"add",
|
|
54
|
+
"modify",
|
|
55
|
+
"noop"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"newValue": {
|
|
59
|
+
"description": "The new value"
|
|
60
|
+
},
|
|
61
|
+
"previousValue": {
|
|
62
|
+
"description": "The new value"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"name",
|
|
67
|
+
"operation",
|
|
68
|
+
"newValue",
|
|
69
|
+
"previousValue"
|
|
48
70
|
]
|
|
49
|
-
},
|
|
50
|
-
"newValue": {
|
|
51
|
-
"description": "The new value"
|
|
52
|
-
},
|
|
53
|
-
"previousValue": {
|
|
54
|
-
"description": "The new value"
|
|
55
71
|
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"operation",
|
|
60
|
-
"newValue",
|
|
61
|
-
"previousValue"
|
|
62
|
-
]
|
|
63
|
-
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": ["operation", "resourceType", "parameters"]
|
|
64
75
|
}
|
|
65
76
|
},
|
|
66
|
-
"required": ["
|
|
77
|
+
"required": ["plan"],
|
|
78
|
+
"additionalProperties": false
|
|
67
79
|
}
|
|
68
|
-
|
|
69
|
-
"required": [],
|
|
70
|
-
"additionalProperties": false
|
|
80
|
+
]
|
|
71
81
|
}
|
|
@@ -39,7 +39,7 @@ describe('Apply request data schema', () => {
|
|
|
39
39
|
} as ApplyRequestData)).to.be.true;
|
|
40
40
|
})
|
|
41
41
|
|
|
42
|
-
it("validates correct
|
|
42
|
+
it("validates correct no-op config (plan)", () => {
|
|
43
43
|
const validate = ajv.compile(schema);
|
|
44
44
|
expect(validate({
|
|
45
45
|
plan: {
|
|
@@ -54,4 +54,27 @@ describe('Apply request data schema', () => {
|
|
|
54
54
|
}
|
|
55
55
|
} as ApplyRequestData)).to.be.true;
|
|
56
56
|
})
|
|
57
|
+
|
|
58
|
+
it("validates errors on empty body", () => {
|
|
59
|
+
const validate = ajv.compile(schema);
|
|
60
|
+
expect(validate({
|
|
61
|
+
} as ApplyRequestData)).to.be.false;
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
it("validates errors when both plan and planId are defined", () => {
|
|
65
|
+
const validate = ajv.compile(schema);
|
|
66
|
+
expect(validate({
|
|
67
|
+
planId: 'eb367e53-21a8-4c9e-a38b-c99e7c821344',
|
|
68
|
+
plan: {
|
|
69
|
+
operation: ResourceOperation.CREATE,
|
|
70
|
+
resourceType: 'type1',
|
|
71
|
+
parameters: [{
|
|
72
|
+
name: 'parameter1',
|
|
73
|
+
operation: ParameterOperation.ADD,
|
|
74
|
+
newValue: 'abc',
|
|
75
|
+
previousValue: null,
|
|
76
|
+
}]
|
|
77
|
+
}
|
|
78
|
+
} as ApplyRequestData)).to.be.false;
|
|
79
|
+
});
|
|
57
80
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/error-response-data-schema.json",
|
|
4
4
|
"title": "Error Response Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/get-resources-response-data-schema.json",
|
|
4
4
|
"title": "Get Resources Response Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/initialize-request-data-schema.json",
|
|
4
4
|
"title": "Initialize Request Schema Data",
|
|
5
5
|
"description": "Initialize the plugin",
|
|
6
6
|
"type": "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/initialize-response-data-schema.json",
|
|
4
4
|
"title": "Initialize Request Schema Data",
|
|
5
5
|
"description": "Initialize the plugin",
|
|
6
6
|
"type": "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/plan-request-data-schema.json",
|
|
4
4
|
"title": "Plan Request Schema Data",
|
|
5
5
|
"$ref": "resource-schema.json"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/plan-response-data-schema.json",
|
|
4
4
|
"title": "Plan Response Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://www.codifycli.com/sudo-request.json",
|
|
4
|
+
"title": "Sudo request",
|
|
5
|
+
"description": "Request sudo from the core CLI",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"command": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The command that is requesting sudo"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": ["command"],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import schema from './sudo-request-data-schema.json';
|
|
2
|
+
import {describe, expect, it} from 'vitest'
|
|
3
|
+
import Ajv2020 from 'ajv/dist/2020.js'
|
|
4
|
+
|
|
5
|
+
const ajv = new Ajv2020.default({
|
|
6
|
+
strict: true,
|
|
7
|
+
})
|
|
8
|
+
|
|
9
|
+
describe('Get resources response data schema', () => {
|
|
10
|
+
it('compiles', () => {
|
|
11
|
+
ajv.compile(schema);
|
|
12
|
+
})
|
|
13
|
+
|
|
14
|
+
it("requires an empty object", () => {
|
|
15
|
+
const validate = ajv.compile(schema);
|
|
16
|
+
expect(validate({
|
|
17
|
+
command: 'abc def'
|
|
18
|
+
})).to.be.true;
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
})
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://www.codifycli.com/sudo-request-response.json",
|
|
4
|
+
"title": "Sudo request response",
|
|
5
|
+
"description": "Response for a sudo request",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {},
|
|
8
|
+
"additionalProperties": false
|
|
9
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import schema from './sudo-request-data-schema.json';
|
|
2
|
+
import {describe, expect, it} from 'vitest'
|
|
3
|
+
import Ajv2020 from 'ajv/dist/2020.js'
|
|
4
|
+
|
|
5
|
+
const ajv = new Ajv2020.default({
|
|
6
|
+
strict: true,
|
|
7
|
+
})
|
|
8
|
+
|
|
9
|
+
describe('Get resources response data schema', () => {
|
|
10
|
+
it('compiles', () => {
|
|
11
|
+
ajv.compile(schema);
|
|
12
|
+
})
|
|
13
|
+
|
|
14
|
+
it("requires an empty object", () => {
|
|
15
|
+
const validate = ajv.compile(schema);
|
|
16
|
+
expect(validate({
|
|
17
|
+
command: 'abc def'
|
|
18
|
+
})).to.be.true;
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/validate-request-data-schema.json",
|
|
4
4
|
"title": "Validate Request Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://www.
|
|
3
|
+
"$id": "https://www.codifycli.com/validate-response-data-schema.json",
|
|
4
4
|
"title": "Validate Response Schema Data",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
package/src/project-schema.json
CHANGED
package/src/resource-schema.json
CHANGED