Fix API breakage caused by OS Plugin version scan
[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   - 'version'
17   - 'project_creation_date'
18   - 'project_category'
19   - 'lifecycle_state'
20   - 'project_lead'
21   - 'primary_contact'
22   - 'issue_tracking'
23   - 'mailing_list'
24   - 'realtime_discussion'
25   - 'repositories'
26   - 'committers'
27   - 'tsc'
28
29 properties:
30   project:
31     type: 'string'
32   version:
33     type: 'string'
34   project_creation_date:
35     type: 'string'
36   project_category:
37     type: 'string'
38   lifecycle_state:
39     type: 'string'
40     enum: ['Incubation', 'Proposal', 'Mature', 'Core', 'Top Level', 'Archived', 'Null', 'Integration']
41   project_lead: &user_object
42     type: 'object'
43     properties:
44       name:
45         type: 'string'
46       email:
47         type: 'string'
48         format: 'email'
49       id:
50         type: 'string'
51       company:
52         type: 'string'
53       timezone:
54         type: 'string'
55         pattern: '([A-Z][a-z]*\s*)+\/([A-Za-z_-])+'
56     additionalProperties: false
57   primary_contact: *user_object
58   issue_tracking:
59     type: 'object'
60     properties:
61       type:
62         type: 'string'
63       url:
64         type: 'string'
65         format: 'uri'
66       key:
67         type: 'string'
68       required: ['type', 'url']
69   committers:
70     type: 'array'
71     items: *user_object