Skip to content

Commit

Permalink
fix: edit pushupgrade list schema file
Browse files Browse the repository at this point in the history
  • Loading branch information
btrn11 committed Dec 12, 2024
1 parent 137bfdd commit 38dcf0c
Showing 1 changed file with 38 additions and 90 deletions.
128 changes: 38 additions & 90 deletions schemas/package-pushupgrade-list.json
Original file line number Diff line number Diff line change
@@ -1,100 +1,48 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/CreateListCommandResult",
"$ref": "#/definitions/PackagePushUpgradeListResultArr",
"definitions": {
"CreateListCommandResult": {
"PackagePushUpgradeListResultArr": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"VersionName": {
"type": "string"
},
"VersionNumber": {
"type": ["string", "null"]
},
"Id": {
"type": "string"
},
"Status": {
"$ref": "#/definitions/PackagingSObjects.Package2VersionStatus"
},
"Package2Id": {
"type": "string"
},
"Package2Name": {
"type": ["string", "null"]
},
"Package2VersionId": {
"type": "string"
},
"SubscriberPackageVersionId": {
"type": ["string", "null"]
},
"Tag": {
"type": "string"
},
"Branch": {
"type": "string"
},
"Error": {
"type": "array",
"items": {}
},
"CreatedDate": {
"type": "string"
},
"HasMetadataRemoved": {
"type": ["boolean", "null"]
},
"HasPassedCodeCoverageCheck": {
"type": ["boolean", "null"]
},
"CodeCoverage": {
"type": ["number", "null"]
},
"CreatedBy": {
"type": "string"
},
"ConvertedFromVersionId": {
"type": ["string", "null"]
}
},
"required": [
"Branch",
"CodeCoverage",
"ConvertedFromVersionId",
"CreatedBy",
"CreatedDate",
"Error",
"HasMetadataRemoved",
"HasPassedCodeCoverageCheck",
"Id",
"Package2Id",
"Package2Name",
"Package2VersionId",
"Status",
"SubscriberPackageVersionId",
"Tag",
"VersionNumber"
]
"$ref": "#/definitions/PackagePushUpgradeListResult"
}
},
"PackagingSObjects.Package2VersionStatus": {
"type": "string",
"enum": [
"Queued",
"InProgress",
"Success",
"Error",
"Initializing",
"VerifyingFeaturesAndSettings",
"VerifyingDependencies",
"VerifyingMetadata",
"FinalizingPackageVersion",
"PerformingValidations"
]
"PackagePushUpgradeListResult": {
"type": "object",
"properties": {
"PushRequestId": {
"type": "string"
},
"PackageVersionId": {
"type": "string"
},
"PushRequestStatus": {
"type": "string"
},
"PushRequestScheduledDateTime": {
"type": "string"
},
"NumOrgsScheduled": {
"type": "number"
},
"NumOrgsUpgradedFail": {
"type": "number"
},
"NumOrgsUpgradedSuccess": {
"type": "number"
}
},
"required": [
"PushRequestId",
"PackageVersionId",
"PushRequestStatus",
"PushRequestScheduledDateTime",
"NumOrgsScheduled",
"NumOrgsUpgradedSuccess",
"NumOrgsUpgradedFail"
],
"additionalProperties": false
}
}
}

0 comments on commit 38dcf0c

Please sign in to comment.