{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DeliveryServiceResponse_v1_1",
  "title": "Delivery Service Response body _v1_1",
  "type": "object",
  "properties": {
    "pictures": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": ""
    },
    "idDeliveryService": {
      "type": "integer",
      "format": "int32"
    },
    "deliveryServiceType": {
      "$ref": "#/components/schemas/DeliveryServiceTypeResponse"
    },
    "deliveryServiceStatus": {
      "$ref": "#/components/schemas/DeliveryServiceStatusResponse"
    },
    "shipper": {
      "$ref": "#/components/schemas/ShipperResponse"
    },
    "shipperCustomer": {
      "$ref": "#/components/schemas/ShipperCustomerResponse"
    },
    "carrier": {
      "$ref": "#/components/schemas/CarrierResponse"
    },
    "displacementType": {
      "$ref": "#/components/schemas/DisplacementTypeResponse"
    },
    "state": {
      "$ref": "#/components/schemas/StateResponse"
    },
    "country": {
      "$ref": "#/components/schemas/CountryResponse"
    },
    "nonDeliveryReason": {
      "$ref": "#/components/schemas/NonDeliveryReasonResponse"
    },
    "shipperPartner": {
      "$ref": "#/components/schemas/ShipperPartnerResponse"
    },
    "shipperBranch": {
      "$ref": "#/components/schemas/ShipperBranchResponse"
    },
    "freightPrice": {
      "$ref": "#/components/schemas/FreightPriceResponse"
    },
    "shippingCompany": {
      "$ref": "#/components/schemas/ShippingCompanyResponse"
    },
    "invoiceOrderOfService": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "addressStreet": {
      "type": "string"
    },
    "addressNumber": {
      "type": "string"
    },
    "addressComplement": {
      "type": "string"
    },
    "addressNeighborhood": {
      "type": "string"
    },
    "addressCity": {
      "type": "string"
    },
    "postalCode": {
      "type": "string"
    },
    "estimateDeliveryHour": {
      "type": "string",
      "format": "date-time"
    },
    "created": {
      "type": "string",
      "format": "date-time"
    },
    "initialEstimateDeliveryHour": {
      "type": "string",
      "format": "date-time"
    },
    "deliveryDateTime": {
      "type": "string",
      "format": "date-time"
    },
    "estimateDeliveryDistance": {
      "type": "integer",
      "format": "int32"
    },
    "travelledDeliveryDistance": {
      "type": "integer",
      "format": "int32"
    },
    "orderNumber": {
      "type": "string"
    },
    "cteNumber": {
      "type": "string"
    },
    "cteDate": {
      "type": "string",
      "format": "date-time"
    },
    "sender": {
      "type": "string"
    },
    "senderCity": {
      "type": "string"
    },
    "senderState": {
      "type": "integer",
      "format": "int32"
    },
    "weight": {
      "type": "number"
    },
    "cubicMeter": {
      "type": "number"
    },
    "cubicMeterWeight": {
      "type": "number"
    },
    "value": {
      "type": "number"
    },
    "freightPriceReceived": {
      "type": "number"
    },
    "deliveryAttempts": {
      "type": "integer",
      "format": "int32"
    },
    "serviceTime": {
      "type": "integer",
      "format": "int32"
    },
    "invoiceOrderOfServiceSerie": {
      "type": "string"
    },
    "leadTime": {
      "type": "string",
      "format": "date-time"
    },
    "cnpjcarrier": {
      "type": "string"
    },
    "cnpjbranch": {
      "type": "string"
    },
    "idExternal": {
      "type": "string"
    },
    "billingInfo": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/BillingInfoResponse"
      },
      "description": ""
    },
    "deliveryServiceRouteItem": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DeliveryServiceRouteItemResponse"
      },
      "description": ""
    }
  }
}