Skip to content

Commit ffb1e6e

Browse files
committed
Re-structure layout of file-names;
1 parent eac0462 commit ffb1e6e

File tree

7 files changed

+16
-7
lines changed

7 files changed

+16
-7
lines changed
File renamed without changes.

api/policyvalidator/meta.schema.json renamed to api/policyvalidator/json-schema/meta.schema.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"description": "Unification of different schemas for scaling-policies for Autoscaler",
55

66
"oneOf": [
7-
{"$ref": "./scaling-policy.v0_1.schema.json"},
8-
{"$ref": "./legacy.schema.json"},
9-
{"$ref": "./service-key_only.v0_1.schema.json"}
7+
{"$ref": "./v0_1/meta.schema.json"},
8+
{"$ref": "./legacy.schema.json"}
109
]
1110
}
File renamed without changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-05/schema#",
3+
"title": "Autoscaler Policy JSON Schema",
4+
"description": "Unification of different schemas for scaling-policies for Autoscaler",
5+
6+
"oneOf": [
7+
{"$ref": "./scaling-policy.schema.json"},
8+
{"$ref": "./service-key_only.schema.json"}
9+
]
10+
}

api/policyvalidator/policy-configuration.schema.json renamed to api/policyvalidator/json-schema/v0.1/policy-configuration.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"additionalProperties": false
3131
},
3232
"app_guid": {
33-
"$ref": "./shared_definitions.json#/schemas/guid"
33+
"$ref": "../shared_definitions.json#/schemas/guid"
3434
}
3535
},
3636
"anyOf": [

api/policyvalidator/scaling-policy.v0_1.schema.json renamed to api/policyvalidator/json-schema/v0.1/scaling-policy.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
"properties": {
77
"schema-version": {
8-
"$ref": "./shared_definitions.json#/schemas/app-scaling-config-schema"
8+
"$ref": "../shared_definitions.json#/schemas/app-scaling-config-schema"
99
},
1010
"credential-type": {
1111
"type": "string",

api/policyvalidator/service-key_only.v0_1.schema.json renamed to api/policyvalidator/json-schema/v0.1/service-key_only.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
"properties": {
77
"schema-version": {
8-
"$ref": "./shared_definitions.json#/schemas/app-scaling-config-schema"
8+
"$ref": "../shared_definitions.json#/schemas/app-scaling-config-schema"
99
},
1010
"configuration": {
1111
"type": "object",
1212
"properties": {
1313
"app_guid": {
14-
"$ref": "./shared_definitions.json#/schemas/guid"
14+
"$ref": "../shared_definitions.json#/schemas/guid"
1515
}
1616
},
1717
"required": ["app_guid"],

0 commit comments

Comments
 (0)