ai.newnal.mydata.lifestyleShopping

The categories bought often and the way buying decisions are made. Each preferred brand is one item of this section, with the product areas in which it is preferred.

Details · record, key any
Kindrecord
Record keyany
Authoritymydata.newnal.ai
Commit rev3n2lk5rjzfw23
Indexed
cid bafyreic5ukf3ec7bpi2q7dnz6tp4gu4cwm6htzpypwqzcvmqpuphjea73y

Checks

Valid
  • field-name-syntax defs.main.record.properties._metaThe field name _meta should be letters and digits, starting with a letter.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One preferred brand and the product areas in which it is preferred. Brand preferences for every product area, clothing included, are kept here. The same brand is kept as one item, with its categories merged.",
      "properties": {
        "brand": {
          "description": "The brand name.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "categories": {
          "description": "List of the product areas in which this brand is preferred (open vocabulary). Omit it when unknown.",
          "items": {
            "description": "One item of the list of the product areas in which this brand is preferred.",
            "knownValues": [
              "electronics",
              "groceries",
              "fashion",
              "home_goods",
              "pet_supplies",
              "sports"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "The categories bought often and the way buying decisions are made. Each preferred brand is one item of this section, with the product areas in which it is preferred.",
      "key": "any",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#section",
              "#entry"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "section": {
      "description": "The categories bought often and the way buying decisions are made. Each preferred brand is one item of this section, with the product areas in which it is preferred.",
      "properties": {
        "shoppingCategories": {
          "description": "List of the product categories bought or browsed often.",
          "items": {
            "description": "One item of the list of the product categories bought or browsed often.",
            "knownValues": [
              "electronics",
              "groceries",
              "fashion",
              "home_goods",
              "pet_supplies",
              "sports"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "shoppingStyle": {
          "description": "The user's general shopping and buying tendency, including planned and impulsive buying.",
          "knownValues": [
            "price_comparison",
            "convenience_first",
            "brand_loyal",
            "quality_first"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.lifestyleShopping",
  "lexicon": 1
}