forked from openkylin/kylin-code
62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"prependLicenseText"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the dependency"
|
|
},
|
|
"fullLicenseText": {
|
|
"type": "array",
|
|
"description": "The complete license text of the dependency",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"prependLicenseText": {
|
|
"type": "array",
|
|
"description": "A piece of text to prepend to the auto-detected license text of the dependency",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"fullLicenseText"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the dependency"
|
|
},
|
|
"fullLicenseText": {
|
|
"type": "array",
|
|
"description": "The complete license text of the dependency",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"prependLicenseText": {
|
|
"type": "array",
|
|
"description": "A piece of text to prepend to the auto-detected license text of the dependency",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|