51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "MarketplaceUpgradeResponse",
|
|
"type": "object",
|
|
"required": [
|
|
"errors",
|
|
"selectedMarketplaces",
|
|
"upgradedRoots"
|
|
],
|
|
"properties": {
|
|
"errors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/MarketplaceUpgradeErrorInfo"
|
|
}
|
|
},
|
|
"selectedMarketplaces": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"upgradedRoots": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/AbsolutePathBuf"
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"AbsolutePathBuf": {
|
|
"description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.",
|
|
"type": "string"
|
|
},
|
|
"MarketplaceUpgradeErrorInfo": {
|
|
"type": "object",
|
|
"required": [
|
|
"marketplaceName",
|
|
"message"
|
|
],
|
|
"properties": {
|
|
"marketplaceName": {
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |