Master Data Reference of GS2-Version

{
  "version": "2019-10-09",
  "versionModels": [
    {
      "name": "[string]Version Model Name",
      "metadata": "[string?]metadata",
      "scope": "[string]Type of version value used for judgment",
      "type": "[string]Type of version value used for judgment",
      "currentVersion": {
        "major": "[int]Major version",
        "minor": "[int]Minor version",
        "micro": "[int]Micro version"
      },
      "warningVersion": {
        "major": "[int]Major version",
        "minor": "[int]Minor version",
        "micro": "[int]Micro version"
      },
      "errorVersion": {
        "major": "[int]Major version",
        "minor": "[int]Minor version",
        "micro": "[int]Micro version"
      },
      "scheduleVersions": [
        {
          "currentVersion": {
            "major": "[int]Major version",
            "minor": "[int]Minor version",
            "micro": "[int]Micro version"
          },
          "warningVersion": {
            "major": "[int]Major version",
            "minor": "[int]Minor version",
            "micro": "[int]Micro version"
          },
          "errorVersion": {
            "major": "[int]Major version",
            "minor": "[int]Minor version",
            "micro": "[int]Micro version"
          },
          "scheduleEventId": "[string?]GS2-Schedule event that enables version check"
        }
      ],
      "needSignature": "[bool]Whether the version value to be determined requires signature verification",
      "signatureKeyId": "[string]encryption key GRN"
    }
  ]
}
TypeConditionRequireDefaultLimitationDescription
version2019-10-09Format version of master data
versionModelsList<VersionModel>

VersionModel

Version Model

You can set a warning version that accepts login but notifies you that you can upgrade, and an error version that does not accept login.

You can specify whether or not to have the client declare the current version with or without a signature. If you select signed, the client will not be able to declare a false version.

TypeConditionRequireDefaultLimitationDescription
versionModelIdstring~ 1024 charsVersion Model GRN
namestring~ 128 charsVersion Model Name
metadatastring~ 2048 charsmetadata
scopeenum [‘passive’, ‘active’]~ 128 charsType of version value used for judgment
typeenum [‘simple’, ‘schedule’]“simple”~ 128 charsType of version value used for judgment
currentVersionVersion{type} == “simple” and {scope} == “active”Current Version
warningVersionVersion{type} == “simple”Version that prompts for version upgrade
errorVersionVersion{type} == “simple”Version that kicks version check
scheduleVersionsList<ScheduleVersion>{type} == “schedule”~ 10 itemsList of Version check content that switches over time series
needSignaturebool{scope} == “passive”Whether the version value to be determined requires signature verification
signatureKeyIdstring{needSignature} != none and {needSignature}~ 1024 charsencryption key GRN

Status

TypeConditionRequireDefaultLimitationDescription
versionModelVersionModelVersion Model
currentVersionVersionCurrent Version

TargetVersion

TypeConditionRequireDefaultLimitationDescription
versionNamestring~ 128 charsVersion Name
bodystring~ 1048576 charsBody
signaturestring~ 256 charsSignature
versionVersion{signature} == ""Version

SignTargetVersion

TypeConditionRequireDefaultLimitationDescription
regionstring~ 128 charsRegion
namespaceNamestring~ 128 charsNamespace name
versionNamestring~ 128 charsVersion Model Name
versionVersionVersion

Version

TypeConditionRequireDefaultLimitationDescription
majorint~ 2147483646Major version
minorint~ 2147483646Minor version
microint~ 2147483646Micro version

ScheduleVersion

TypeConditionRequireDefaultLimitationDescription
currentVersionVersionCurrent Version
warningVersionVersionVersion that prompts for version upgrade
errorVersionVersionVersion that kicks version check
scheduleEventIdstring~ 1024 charsGS2-Schedule event that enables version check