87 строки
1.8 KiB
JSON
87 строки
1.8 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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"fullLicenseTextUri"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the dependency"
|
|
},
|
|
"fullLicenseTextUri": {
|
|
"type": "string",
|
|
"description": "The URI to the license text of this repository",
|
|
"format": "uri"
|
|
},
|
|
"prependLicenseText": {
|
|
"type": "array",
|
|
"description": "A piece of text to prepend to the auto-detected license text of the dependency",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|