Skip to content

Commit

Permalink
chore: jsonfmt databox (#7356)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored and Juliehzl committed Sep 29, 2019
1 parent dce1ac7 commit 629ccfd
Show file tree
Hide file tree
Showing 22 changed files with 288 additions and 293 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
"$ref": "#/definitions/ValidationResponse"
}
},
"default": {
"default": {
"description": "Error response describing reason for operation failure.",
"schema": {
"$ref": "#/definitions/CloudError"
Expand Down Expand Up @@ -488,7 +488,7 @@
"$ref": "#/definitions/JobResource"
}
},
"default": {
"default": {
"description": "Error response describing reason for operation failure.",
"schema": {
"$ref": "#/definitions/CloudError"
Expand All @@ -513,7 +513,7 @@
},
"JobsGet5": {
"$ref": "./examples/JobsGet5.json"
}
}
}
},
"put": {
Expand Down Expand Up @@ -967,7 +967,7 @@
},
"AddressValidationProperties": {
"description": "The address validation output.",
"required": [
"required": [
"validationType"
],
"type": "object",
Expand Down Expand Up @@ -1596,7 +1596,7 @@
},
"DataBoxDiskJobSecrets": {
"description": "The secrets related to disk job.",
"required": [
"required": [
"jobSecretsType"
],
"type": "object",
Expand Down Expand Up @@ -1925,8 +1925,8 @@
"type": "object",
"properties": {
"forwardDcAccessCode": {
"description": "Dc Access Code for dispatching from DC.",
"type": "string"
"description": "Dc Access Code for dispatching from DC.",
"type": "string"
},
"reverseDcAccessCode": {
"description": "Dc Access code for dropping off at DC.",
Expand Down Expand Up @@ -2517,12 +2517,12 @@
}
]
}
},
"dcAccessSecurityCode": {
"$ref": "#/definitions/DcAccessSecurityCode",
"description": "Dc Access Security Code for Customer Managed Shipping"
}
},
},
"dcAccessSecurityCode": {
"$ref": "#/definitions/DcAccessSecurityCode",
"description": "Dc Access Security Code for Customer Managed Shipping"
}
},
"discriminator": "jobSecretsType"
},
"JobStages": {
Expand Down Expand Up @@ -2876,7 +2876,7 @@
],
"properties": {
"preference": {
"description":"Preference requested with respect to transport type and data center",
"description": "Preference requested with respect to transport type and data center",
"$ref": "#/definitions/Preferences"
},
"deviceType": {
Expand Down Expand Up @@ -2974,14 +2974,14 @@
"$ref": "#/definitions/ScheduleAvailabilityResponse",
"description": "Schedule availability for given sku in a region.",
"readOnly": true
},
},
"transportAvailabilityResponse": {
"$ref": "#/definitions/TransportAvailabilityResponse",
"description": "Transport options available for given sku in a region.",
"readOnly": true
}
}
}
},
},
"Resource": {
"description": "Model of the Resource.",
"required": [
Expand Down Expand Up @@ -3011,7 +3011,7 @@
}
},
"x-ms-azure-resource": true
},
},
"ScheduleAvailabilityRequest": {
"description": "Request body to get the availability for scheduling orders.",
"required": [
Expand Down Expand Up @@ -3068,7 +3068,7 @@
"readOnly": true
}
}
},
},
"ShareCredentialDetails": {
"description": "Credential details of the shares in account.",
"type": "object",
Expand Down Expand Up @@ -3631,7 +3631,7 @@
}
},
"x-ms-discriminator-value": "ValidateSubscriptionIsAllowedToCreateJob"
},
},
"TransportAvailabilityRequest": {
"description": "Request body to get the transport availability for given sku.",
"type": "object",
Expand All @@ -3645,39 +3645,39 @@
],
"type": "string",
"x-ms-enum": {
"name": "SkuName",
"modelAsExtensible": true,
"values": [
{
"value": "DataBox",
"description": "Data Box."
},
{
"value": "DataBoxDisk",
"description": "Data Box Disk."
},
{
"value": "DataBoxHeavy",
"description": "Data Box Heavy."
"name": "SkuName",
"modelAsExtensible": true,
"values": [
{
"value": "DataBox",
"description": "Data Box."
},
{
"value": "DataBoxDisk",
"description": "Data Box Disk."
},
{
"value": "DataBoxHeavy",
"description": "Data Box Heavy."
}
]
}
]
}
}
}
},
"TransportAvailabilityResponse": {
"description": "Transport options available for given sku in a region.",
"type": "object",
"properties": {
"transportAvailabilityDetails": {
"description": "List of transport availability details for given region",
"type": "array",
"items": {
"$ref": "#/definitions/TransportAvailabilityDetails"
},
"readOnly": true
"transportAvailabilityDetails": {
"description": "List of transport availability details for given region",
"type": "array",
"items": {
"$ref": "#/definitions/TransportAvailabilityDetails"
},
"readOnly": true
}
}
}
},
"TransportAvailabilityDetails": {
"description": "Transport options availability details for given region.",
Expand All @@ -3686,15 +3686,15 @@
"shipmentType": {
"description": "Transport Shipment Type supported for given region.",
"enum": [
"CustomerManaged",
"MicrosoftManaged"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "TransportShipmentTypes",
"modelAsExtensible": true,
"values": [
"CustomerManaged",
"MicrosoftManaged"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "TransportShipmentTypes",
"modelAsExtensible": true,
"values": [
{
"value": "CustomerManaged",
"description": "Shipment Logistics is handled by the customer."
Expand Down Expand Up @@ -3863,7 +3863,7 @@
"type": "object",
"properties": {
"validationType": {
"description": "Identifies the type of validation request.",
"description": "Identifies the type of validation request.",
"enum": [
"ValidateAddress",
"ValidateDataDestinationDetails",
Expand Down Expand Up @@ -3904,7 +3904,7 @@
]
}
}
},
},
"discriminator": "validationType"
},
"ValidationInputResponse": {
Expand Down Expand Up @@ -3982,22 +3982,22 @@
"validationCategory": {
"description": "Identify the nature of validation.",
"enum": [
"JobCreationValidation"
"JobCreationValidation"
],
"type": "string",
"x-ms-enum": {
"name": "ValidationCategory",
"modelAsExtensible": true,
"values": [
{
"value": "JobCreationValidation",
"description": "Identify request of pre-job creation validations."
}
]
{
"value": "JobCreationValidation",
"description": "Identify request of pre-job creation validations."
}
]
}
}
}
},
"discriminator": "validationCategory"
},
"discriminator": "validationCategory"
},
"CreateJobValidations": {
"description": "It does all pre-job creation validations.",
Expand Down Expand Up @@ -4068,7 +4068,7 @@
}
}
},
"CloudError": {
"CloudError": {
"description": "The error information object.",
"x-ms-external": true,
"properties": {
Expand Down Expand Up @@ -4157,4 +4157,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
}
},
"responses": {
"204": {
}
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
}
},
"responses": {
"202": {
},
"202": {},
"200": {
"body": {
"properties": {
Expand Down Expand Up @@ -186,4 +185,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
]
},
"responses": {
"202": {
},
"204": {
}
"202": {},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"contactDetails": {
"contactName": " ",
"emailList": [],
"phone": "1234567890",
"phone": "1234567890",
"notificationPreference": []
},
"shippingAddress": {
Expand Down Expand Up @@ -104,4 +104,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@
}
}
}
}
}
Loading

0 comments on commit 629ccfd

Please sign in to comment.