Allow packer-merge job to test WIP patch
[releng/global-jjb.git] / info-schema
1 # SPDX-License-Identifier: EPL-1.0
2 ##############################################################################
3 # Copyright (c) 2018 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/info-schema'
13
14 required:
15   - 'project'
16   - 'project_creation_date'
17   - 'project_category'
18   - 'lifecycle_state'
19   - 'project_lead'
20   - 'primary_contact'
21   - 'issue_tracking'
22   - 'mailing_list'
23   - 'realtime_discussion'
24   - 'repositories'
25   - 'committers'
26   - 'tsc'
27
28 properties:
29   project:
30     type: 'string'
31   version:
32     type: 'string'
33   project_creation_date:
34     type: 'string'
35   project_category:
36     type: 'string'
37   lifecycle_state:
38     type: 'string'
39     enum: ['Incubation', 'Proposal', 'Mature', 'Core', 'Top Level', 'Archived', 'Null', 'Integration']
40   project_lead: &user_object
41     type: 'object'
42     properties:
43       name:
44         type: 'string'
45       email:
46         type: 'string'
47         format: 'email'
48       id:
49         type: 'string'
50       company:
51         type: 'string'
52       timezone:
53         type: 'string'
54         pattern: '([A-Z][a-z]*\s*)+\/([A-Za-z_-])+'
55     additionalProperties: false
56   primary_contact: *user_object
57   issue_tracking:
58     type: 'object'
59     properties:
60       type:
61         type: 'string'
62       url:
63         type: 'string'
64         format: 'uri'
65       key:
66         type: 'string'
67       required: ['type', 'url']
68   committers:
69     type: 'array'
70     items: *user_object