{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kibo-commerce/main/json-schema/kibo-commerce-location-group-configuration-schema.json",
  "title": "LocationGroupConfiguration",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kibo-commerce-location-openapi.yml#/components/schemas/LocationGroupConfiguration",
  "properties": {
    "allowReturns": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "attributes": {
      "items": {
        "$ref": "#/$defs/LocationAttribute"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "auditInfo": {
      "$ref": "#/$defs/ApiContractsAuditInfo"
    },
    "autoPackingListPopup": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "blockPartialCancel": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "blockPartialStock": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "boxTypes": {
      "items": {
        "$ref": "#/$defs/BoxType"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "bpmConfigurations": {
      "items": {
        "$ref": "#/$defs/BpmConfiguration"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "carriers": {
      "items": {
        "$ref": "#/$defs/Carrier"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "closePickWavePermissions": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "customerFailedToPickupAfterAction": {
      "type": [
        "string",
        "null"
      ]
    },
    "customerFailedToPickupDeadline": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "defaultCarrier": {
      "type": [
        "string",
        "null"
      ]
    },
    "defaultMaxNumberOfShipmentsInPickWave": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "defaultNumberOfOrdersInPickWave": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "defaultPrinterType": {
      "type": [
        "string",
        "null"
      ]
    },
    "defaultReturnCarrier": {
      "type": [
        "string",
        "null"
      ]
    },
    "defaultReturnRefundReductionAmount": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "displayProductImagesInPickWaveDetails": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "enableAdvancedOptionForPickWaveCreation": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "enableForISPU": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "enableForSTH": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "enablePnp": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "enablePnpForBOPIS": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "enablePnpForDelivery": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "enablePnpForSTH": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "enableScanningOfUpcForShipToHome": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "locationGroupCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "locationGroupId": {
      "format": "int32",
      "type": "integer"
    },
    "maxNumberOfPackingSlipsByGroup": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "maximumNumberOfOrdersInPickWave": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "maximumReturnRefundReductionAmount": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "packageSettings": {
      "$ref": "#/$defs/PackageSettings"
    },
    "pickWavePrintFormat": {
      "type": [
        "string",
        "null"
      ]
    },
    "printReturnLabel": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "returnRefundReduction": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "sendCustomerPickupReminder": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "siteId": {
      "format": "int32",
      "type": "integer"
    },
    "slaConfigurations": {
      "items": {
        "$ref": "#/$defs/SlaConfiguration"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "tenantId": {
      "format": "int32",
      "type": "integer"
    },
    "wmsEnabled": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "ApiContractsAuditInfo": {
      "properties": {
        "createBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "createDate": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "updateBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "updateDate": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "AttributeEntityConfig": {
      "properties": {
        "auditInfo": {
          "$ref": "#/$defs/CoreAuditInfo"
        },
        "editable": {
          "type": "boolean"
        },
        "entityType": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "AttributeInheritanceRule": {
      "properties": {
        "auditInfo": {
          "$ref": "#/$defs/CoreAuditInfo"
        },
        "id": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "inheritanceMode": {
          "type": [
            "string",
            "null"
          ]
        },
        "sourceEntityType": {
          "type": [
            "string",
            "null"
          ]
        },
        "targetEntityType": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "AttributeLocalizedContent": {
      "properties": {
        "localeCode": {
          "maxLength": 8,
          "type": [
            "string",
            "null"
          ]
        },
        "value": {
          "maxLength": 100,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "AttributeMetadataItem": {
      "properties": {
        "key": {
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "value": {
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "key",
        "value"
      ],
      "type": "object"
    },
    "AttributeValidation": {
      "properties": {
        "maxDateTime": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "maxNumericValue": {
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "maxStringLength": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "minDateTime": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "minNumericValue": {
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "minStringLength": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "regularExpression": {
          "maxLength": 200,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "AttributeValueLocalizedContent": {
      "properties": {
        "localeCode": {
          "minLength": 1,
          "type": "string"
        },
        "value": {
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "localeCode",
        "value"
      ],
      "type": "object"
    },
    "AttributeVocabularyValue": {
      "properties": {
        "content": {
          "$ref": "#/$defs/AttributeValueLocalizedContent"
        },
        "isHidden": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "sequence": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "value": {
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "value"
      ],
      "type": "object"
    },
    "BoxType": {
      "properties": {
        "height": {
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "length": {
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "maxWeight": {
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "width": {
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "BpmConfiguration": {
      "properties": {
        "shipmentType": {
          "type": [
            "string",
            "null"
          ]
        },
        "workflowContainerId": {
          "type": [
            "string",
            "null"
          ]
        },
        "workflowProcessId": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "Carrier": {
      "properties": {
        "carrierType": {
          "type": [
            "string",
            "null"
          ]
        },
        "enableMultiPieceShipment": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "features": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "isEnabled": {
          "type": "boolean"
        },
        "shippingMethodMappings": {
          "$ref": "#/$defs/ShippingMethodMappings"
        }
      },
      "type": "object"
    },
    "CoreAuditInfo": {
      "properties": {
        "createBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "createDate": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "updateBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "updateDate": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "LocationAttribute": {
      "properties": {
        "attributeDefinition": {
          "$ref": "#/$defs/LocationAttribute2"
        },
        "attributeDefinitionId": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "auditInfo": {
          "$ref": "#/$defs/ApiContractsAuditInfo"
        },
        "fullyQualifiedName": {
          "type": [
            "string",
            "null"
          ]
        },
        "values": {
          "items": {},
          "type": [
            "array",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "LocationAttribute2": {
      "properties": {
        "adminName": {
          "maxLength": 50,
          "type": [
            "string",
            "null"
          ]
        },
        "attributeCode": {
          "maxLength": 50,
          "minLength": 1,
          "type": "string"
        },
        "attributeFQN": {
          "type": [
            "string",
            "null"
          ]
        },
        "attributeMetadata": {
          "items": {
            "$ref": "#/$defs/AttributeMetadataItem"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "auditInfo": {
          "$ref": "#/$defs/ApiContractsAuditInfo"
        },
        "availableForDiscounts": {
          "type": "boolean"
        },
        "availableForOrderRouting": {
          "type": "boolean"
        },
        "availableInRules": {
          "type": "boolean"
        },
        "content": {
          "$ref": "#/$defs/AttributeLocalizedContent"
        },
        "dataType": {
          "type": [
            "string",
            "null"
          ]
        },
        "displayGroup": {
          "minLength": 1,
          "type": "string"
        },
        "entityConfigs": {
          "items": {
            "$ref": "#/$defs/AttributeEntityConfig"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "id": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "inheritanceRules": {
          "items": {
            "$ref": "#/$defs/AttributeInheritanceRule"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "inputType": {
          "type": [
            "string",
            "null"
          ]
        },
        "isActive": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isMultiValued": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isReadOnly": {
          "type": "boolean"
        },
        "isRequired": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isVisible": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "namespace": {
          "maxLength": 200,
          "type": [
            "string",
            "null"
          ]
        },
        "order": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "validation": {
          "$ref": "#/$defs/AttributeValidation"
        },
        "valueType": {
          "minLength": 1,
          "type": "string"
        },
        "vocabularyValues": {
          "items": {
            "$ref": "#/$defs/AttributeVocabularyValue"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "attributeCode",
        "displayGroup",
        "valueType"
      ],
      "type": "object"
    },
    "PackageSettings": {
      "properties": {
        "unitType": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "ShippingMethodMappings": {
      "properties": {
        "enableSmartPost": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "express1DayDefault": {
          "type": [
            "string",
            "null"
          ]
        },
        "express2DayDefault": {
          "type": [
            "string",
            "null"
          ]
        },
        "express3DayDefault": {
          "type": [
            "string",
            "null"
          ]
        },
        "internationalUsReturnLabelShippingMethod": {
          "type": [
            "string",
            "null"
          ]
        },
        "requireSignatureAmount": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "returnLabelShippingMethod": {
          "type": [
            "string",
            "null"
          ]
        },
        "shippingMethods": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "signatureOption": {
          "type": [
            "string",
            "null"
          ]
        },
        "standardDefault": {
          "type": [
            "string",
            "null"
          ]
        },
        "useDeclaredValue": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "SlaConfiguration": {
      "properties": {
        "isEnabled": {
          "type": "boolean"
        },
        "slaId": {
          "format": "int32",
          "type": "integer"
        },
        "targetServiceLevelPercentage": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}