/
info-schema
70 lines (68 loc) · 1.77 KB
/
info-schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2018 The Linux Foundation and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
---
$schema: 'http://json-schema.org/schema#'
$id: 'https://github.com/lfit/releng-global-jjb/blob/master/info-schema'
required:
- 'project'
- 'project_creation_date'
- 'project_category'
- 'lifecycle_state'
- 'project_lead'
- 'primary_contact'
- 'issue_tracking'
- 'mailing_list'
- 'realtime_discussion'
- 'repositories'
- 'committers'
- 'tsc'
properties:
project:
type: 'string'
version:
type: 'string'
project_creation_date:
type: 'string'
project_category:
type: 'string'
lifecycle_state:
type: 'string'
enum: ['Incubation', 'Proposal', 'Mature', 'Core', 'Top Level', 'Archived', 'Null', 'Integration']
project_lead: &user_object
type: 'object'
properties:
name:
type: 'string'
email:
type: 'string'
format: 'email'
id:
type: 'string'
company:
type: 'string'
timezone:
type: 'string'
pattern: '([A-Z][a-z]*\s*)+\/([A-Za-z_-])+'
additionalProperties: false
primary_contact: *user_object
issue_tracking:
type: 'object'
properties:
type:
type: 'string'
url:
type: 'string'
format: 'uri'
key:
type: 'string'
required: ['type', 'url']
committers:
type: 'array'
items: *user_object