Master Data Reference of GS2-Distributor

Reference of the format of master data and various models to be imported

Master Data Format

{
  "version": "2019-03-01",
  "distributorModels": [
    {
      "name": "[string]Delivery setting name",
      "metadata": "[string?]Metadata",
      "inboxNamespaceId": "[string?]GS2-Inbox namespace GRN to transfer overflow resources",
      "whiteListTargetIds": [
        "[string]Target resources GRNs that can be processed through the distributor"
      ]
    }
  ]
}
TypeConditionRequiredDefaultValue LimitsDescription
versionstring
2019-03-01Format version of master data
distributorModelsList<DistributorModel>~ 100 itemsDelivery Setting Model
A delivery setting is an entity that sets the policy when an entity’s acquisition exceeds its possession quota.
By processing acquisitions through GS2-Distributor, overflow resources can be forwarded as GS2-Inbox messages.

Model

DistributorModel

Delivery Setting Model

A delivery setting is an entity that sets the policy when an entity’s acquisition exceeds its possession quota. By processing acquisitions through GS2-Distributor, overflow resources can be forwarded as GS2-Inbox messages.

TypeConditionRequiredDefaultValue LimitsDescription
distributorModelIdstring
~ 1024 charsDelivery Setting GRN
namestring
~ 128 charsDelivery setting name
metadatastring~ 2048 charsMetadata
inboxNamespaceIdstring~ 1024 charsGS2-Inbox namespace GRN to transfer overflow resources
whiteListTargetIdsList<string>[]0 ~ 1000 itemsWhitelist of target resource GRNs that can be processed through the distributor