diff --git a/schemas/shared-resources-usage.v1.schema.json b/schemas/shared-resources-usage.v1.schema.json index 0a2355f2..b4a4d4ea 100644 --- a/schemas/shared-resources-usage.v1.schema.json +++ b/schemas/shared-resources-usage.v1.schema.json @@ -1,35 +1,25 @@ { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/SharedResourceUsage", - "definitions": { - "SharedResourceUsage": { - "type": "object", - "additionalProperties": false, - "properties": { - "timestamp": { - "type": "integer" - }, - "shared_resource_id": { - "type": "string" - }, - "app_feature": { - "type": "string" - }, - "usage_unit": { - "type": "string" - }, - "amount": { - "type": "integer" - } - }, - "required": [ - "amount", - "app_feature", - "shared_resource_id", - "timestamp", - "usage_unit" - ], - "title": "SharedResourceUsage" + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/SharedResourceUsage", + "definitions": { + "SharedResourceUsage": { + "type": "object", + "additionalProperties": false, + "properties": { + "timestamp": { + "type": "integer" + }, + "shared_resource_id": { + "type": "string" + }, + "app_feature": { + "type": "string" + }, + "usage_unit": { + "type": "string" + }, + "amount": { + "type": "integer" } }, "required": [ @@ -41,3 +31,13 @@ ], "title": "SharedResourceUsage" } + }, + "required": [ + "amount", + "app_feature", + "shared_resource_id", + "timestamp", + "usage_unit" + ], + "title": "SharedResourceUsage" +}