diff --git a/schemas/performance-artifact.json b/schemas/performance-artifact.json index 2eb2fc8fd..e70cde106 100644 --- a/schemas/performance-artifact.json +++ b/schemas/performance-artifact.json @@ -1,5 +1,30 @@ { "definitions": { + "application_schema": { + "properties": { + "name": { + "title": "Application under performance test", + "enum": [ + "firefox", + "chrome", + "chromium", + "fennec", + "geckoview", + "refbrow", + "fenix" + ], + "maxLength": 10, + "type": "string" + }, + "version": { + "title": "Application's version", + "maxLength": 40, + "type": "string" + } + }, + "required": ["name"], + "type": "object" + }, "framework_schema": { "properties": { "name": { @@ -161,6 +186,9 @@ "description": "Structure for submitting performance data as part of a job", "id": "https://treeherder.mozilla.org/schemas/v1/performance-artifact.json#", "properties": { + "application": { + "$ref": "#/definitions/application_schema" + }, "framework": { "$ref": "#/definitions/framework_schema" },