3b24a8039c
Change-Id: I3d17336d26ed14970c6d9f96c10b65468da12f1f
22 lines
510 B
Python
22 lines
510 B
Python
SCHEMA = {
|
|
'sources': {
|
|
'type': 'object',
|
|
'additionalProperties': {
|
|
'additionalProperties': False,
|
|
'properties': {
|
|
'git_url': {'type': 'string'},
|
|
'git_ref': {'type': 'string'},
|
|
'source_dir': {'type': 'string'},
|
|
},
|
|
'oneOf': [
|
|
{'required': ['git_url', 'git_ref']},
|
|
{'required': ['source_dir']},
|
|
],
|
|
},
|
|
}
|
|
}
|
|
|
|
DEFAULTS = {
|
|
'sources': {},
|
|
}
|