Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / schema / release-artifact-schema.yaml
1 # SPDX-License-Identifier: EPL-1.0
2 ##############################################################################
3 # Copyright (c) 2021 The Linux Foundation and others.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Eclipse Public License v1.0
7 # which accompanies this distribution, and is available at
8 # http://www.eclipse.org/legal/epl-v10.html
9 ##############################################################################
10 ---
11 $schema: "http://json-schema.org/schema#"
12 $id: "https://github.com/lfit/releng-global-jjb/blob/master/release-artifact-schema.yaml"
13
14 required:
15   - "distribution_type"
16   - "project"
17   - "version"
18   - "artifacts"
19
20 properties:
21   artifacts:
22     type: "array"
23     properties:
24       name:
25         type: "string"
26       path:
27         type: "string"
28     additionalProperties: false
29   distribution_type:
30     type: "string"
31   git_tag:
32     type: "string"
33   project:
34     type: "string"
35   tag_release:
36     type: "boolean"
37   version:
38     type: "string"