{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-insite-account-web-api-v1-api-models-account-ship-to-collection-model-schema.json", "title": "Insite.Account.WebApi.V1.ApiModels.AccountShipToCollectionModel", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/optimizely-accounts-api-openapi.yml#/components/schemas/Insite.Account.WebApi.V1.ApiModels.AccountShipToCollectionModel", "type": "object", "properties": { "uri": { "type": "string" }, "pagination": { "$ref": "#/$defs/Insite.Core.WebApi.PaginationModel" }, "userShipToCollection": { "type": "array", "items": { "$ref": "#/$defs/Insite.Account.WebApi.V1.ApiModels.AccountShipToModel" } }, "costCodeCollection": { "type": "array", "items": { "$ref": "#/$defs/Insite.Account.Services.Dtos.CustomerCostCodeDto" } }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } }, "$defs": { "Insite.Account.Services.Dtos.CustomerCostCodeDto": { "type": "object", "properties": { "customerCostCodeId": { "format": "uuid", "type": "string" }, "costCode": { "type": "string" }, "description": { "type": "string" }, "isActive": { "type": "boolean" } } }, "Insite.Account.WebApi.V1.ApiModels.AccountShipToModel": { "type": "object", "properties": { "shipToNumber": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "address": { "type": "string" }, "assign": { "type": "boolean" }, "isDefaultShipTo": { "type": "boolean" }, "costCode": { "type": "string" }, "id": { "format": "uuid", "type": "string" } } }, "Insite.Core.WebApi.PaginationModel": { "type": "object", "properties": { "currentPage": { "format": "int32", "type": "integer" }, "page": { "format": "int32", "type": "integer" }, "pageSize": { "format": "int32", "type": "integer" }, "defaultPageSize": { "format": "int32", "type": "integer" }, "totalItemCount": { "format": "int32", "type": "integer" }, "numberOfPages": { "format": "int32", "type": "integer" }, "pageSizeOptions": { "type": "array", "items": { "format": "int32", "type": "integer" } }, "sortOptions": { "type": "array", "items": { "$ref": "#/$defs/Insite.Core.WebApi.SortOptionModel" } }, "sortType": { "type": "string" }, "nextPageUri": { "type": "string" }, "prevPageUri": { "type": "string" }, "nextPageToken": { "type": "string" } } }, "Insite.Core.WebApi.SortOptionModel": { "type": "object", "properties": { "displayName": { "type": "string" }, "sortType": { "type": "string" } } } } }