{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Category",
  "title": "Category",
  "required": [
    "Id",
    "Name",
    "FatherCategoryId",
    "Title",
    "Description",
    "Keywords",
    "IsActive",
    "LomadeeCampaignCode",
    "AdWordsRemarketingCode",
    "ShowInStoreFront",
    "ShowBrandFilter",
    "ActiveStoreFrontLink",
    "GlobalCategoryId",
    "StockKeepingUnitSelectionMode",
    "Score",
    "LinkId",
    "HasChildren"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "integer",
      "description": "Category ID."
    },
    "Name": {
      "type": "string",
      "description": "Category name."
    },
    "FatherCategoryId": {
      "type": "integer",
      "description": "ID of the father category, apply in case of category and subcategory.",
      "nullable": true
    },
    "Title": {
      "type": "string",
      "description": "Category page title."
    },
    "Description": {
      "type": "string",
      "description": "Describes details about the category."
    },
    "Keywords": {
      "type": "string",
      "description": "Substitutes words for the category."
    },
    "IsActive": {
      "type": "boolean",
      "description": "Shows if the category is active (`true`) or not (`false`)."
    },
    "LomadeeCampaignCode": {
      "type": "string",
      "description": "This is a legacy field. Do not take this information into consideration.",
      "deprecated": true
    },
    "AdWordsRemarketingCode": {
      "type": "string",
      "description": "This is a legacy field. Do not take this information into consideration.",
      "deprecated": true
    },
    "ShowInStoreFront": {
      "type": "boolean",
      "description": "Defines if the category is shown on side and upper menu (`true`) or not (`false`)."
    },
    "ShowBrandFilter": {
      "type": "boolean",
      "description": "Defines if the category has brand filter (`true`) or not (`false`)."
    },
    "ActiveStoreFrontLink": {
      "type": "boolean",
      "description": "Defines if the category has an active link on the website (`true`) or not (`false`)."
    },
    "GlobalCategoryId": {
      "type": "integer",
      "description": "Google global category ID."
    },
    "StockKeepingUnitSelectionMode": {
      "type": "string",
      "description": "Defines how the SKU will be exhibited."
    },
    "Score": {
      "type": "integer",
      "description": "Score for search ordination.",
      "nullable": true
    },
    "LinkId": {
      "type": "string",
      "description": "Text link.",
      "nullable": true
    },
    "HasChildren": {
      "type": "boolean",
      "description": "Defines if the category has child categories (`true`) or not (`false`)."
    }
  },
  "example": {
    "Id": 1,
    "Name": "Home Appliances",
    "FatherCategoryId": null,
    "Title": "Home Appliances",
    "Description": "Discover our range of home appliances. Find smart vacuums, kitchen and laundry appliances to suit your needs. Order online now.",
    "Keywords": "Kitchen, Laundry, Appliances",
    "IsActive": true,
    "LomadeeCampaignCode": "",
    "AdWordsRemarketingCode": "",
    "ShowInStoreFront": true,
    "ShowBrandFilter": true,
    "ActiveStoreFrontLink": true,
    "GlobalCategoryId": 3367,
    "StockKeepingUnitSelectionMode": "LIST",
    "Score": null,
    "LinkId": "Alimentacao",
    "HasChildren": true
  }
}