{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-android/json-schema/google-android-store-cluster-schema.json",
  "title": "StoreCluster",
  "description": "Definition of a managed Google Play store cluster, a list of products displayed as part of a store page.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-android-androidenterprise-storelayoutclusters-api-openapi.yml#/components/schemas/StoreCluster",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique ID of this cluster. Assigned by the server. Immutable once assigned."
    },
    "name": {
      "description": "Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.",
      "items": {
        "$ref": "#/$defs/LocalizedText"
      },
      "type": "array"
    },
    "productId": {
      "description": "List of products in the order they are displayed in the cluster. There should not be duplicates within a cluster.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "orderInPage": {
      "type": "string",
      "description": "String (US-ASCII only) used to determine order of this cluster within the parent page's elements. Page elements are sorted in lexicographic order of this field. Duplicated values are allowed, but ordering between elements with duplicate order is undefined. The value of this field is never visible to a user, it is used solely for the purpose of defining an ordering. Maximum length is 256 characters."
    }
  },
  "type": "object",
  "$defs": {
    "LocalizedText": {
      "type": "object",
      "properties": {
        "locale": {
          "description": "The BCP47 tag for a locale. (e.g. \"en-US\", \"de\").",
          "type": "string"
        },
        "text": {
          "type": "string",
          "description": "The text localized in the associated locale."
        }
      },
      "description": "A localized string with its locale."
    }
  }
}