Commit 97c5e8eb authored by Sven Franck's avatar Sven Franck

data: added reference to portal_catalog so it can be queried

parent c7170eaa
{
"_id": {
"type": "StringField",
"widget": {
"id": "_id",
"title": "Id",
"title_i18n": "portal_type_dict.category_dict.field_dict._id.title",
"description": "The id of this title.",
"description_i18n": "portal_type_dict.category_dict.field_dict._id.description",
"alternate_name": "_id",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": false,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"title": {
"type": "StringField",
"widget": {
"id": "title",
"title": "Title",
"title_i18n": "portal_type_dict.category_dict.field_dict.title.title",
"description": "The title of this category.",
"description_i18n": "portal_type_dict.category_dict.field_dict.title.description",
"alternate_name": "title",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"title_i18n": {
"type": "StringField",
"widget": {
"id": "title_i18n",
"title": "Translation Pointer",
"title_i18n": "portal_type_dict.category_dict.field_dict.translation.title",
"description": "The translation lookup value of this category.",
"description_i18n": "portal_type_dict.category_dict.field_dict.translation.description",
"alternate_name": "title_i18n",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"reference": {
"type": "StringField",
"widget": {
"id": "reference",
"title": "Reference",
"title_i18n": "portal_type_dict.category_dict.field_dict.reference.title",
"description": "The reference (type) of this category.",
"description_i18n": "portal_type_dict.category_dict.field_dict.reference.description",
"alternate_name": "reference",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"sub_category_list": {
"type": "ListField",
"widget": {
"id": "sub_category_list",
"title": "Child Category List",
"title_i18n": "portal_type_dict.computer_dict.field_dict.sub_category_list.title",
"description": "The subcategories associated with this category.",
"description_i18n": "portal_type_dict.computer_dict.field_dict.sub_category_list.description",
"alternate_name": "sub_category_list",
"default_value": null,
"css_class": null,
"hidden": false,
"size": 1,
"items": null,
"select_first_item": true,
"extra_per_item": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"unknown_selection": {
"message":"You selected on option not on the menu",
"i18n": "validation_dict.option_not_available"
}
}
},
"parent_category_list": {
"type": "ListField",
"widget": {
"id": "parent_category_list",
"title": "Parent Category List",
"title_i18n": "portal_type_dict.computer_dict.field_dict.parent_category_list.title",
"description": "The parent categories associated with this category.",
"description_i18n": "portal_type_dict.computer_dict.field_dict.parent_category_list.description",
"alternate_name": "parent_category_list",
"default_value": null,
"css_class": null,
"hidden": false,
"size": 1,
"items": null,
"select_first_item": true,
"extra_per_item": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"preserve_whitespace": null,
"unicode": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"unknown_selection": {
"message":"You selected on option not on the menu",
"i18n": "validation_dict.option_not_available"
}
}
}
}
\ No newline at end of file
[
{
"_id": "cat_001",
"title": "Women",
"title_i18n": "category_dict.text_dict.women",
"reference": "product_section",
"sub_category_list": [
{"_id": "cat_003", "title": "category_2_apparel"},
{"_id": "cat_004", "title": "category_2_accessories"},
{"_id": "cat_005", "title": "category_2_shoes"}
],
"parent_category_list": []
},
{
"_id": "cat_002",
"title": "Men",
"title_i18n": "category_dict.text_dict.men",
"reference": "product_section",
"sub_category_list": [
{"_id": "cat_003", "title": "Apparel"},
{"_id": "cat_004", "title": "Accessories"},
{"_id": "cat_005", "title": "Shoes"}
],
"parent_category_list": []
},
{
"_id": "cat_003",
"title": "Apparel",
"title_i18n": "category_dict.text_dict.apparel",
"reference": "product_group",
"sub_category_list": [
{"_id": "cat_006", "title": "Jumpsuits"},
{"_id": "cat_007", "title": "Sets"},
{"_id": "cat_008", "title": "Swimsuits"},
{"_id": "cat_009", "title": "Dresses"},
{"_id": "cat_010", "title": "Jackets_coats"},
{"_id": "cat_011", "title": "Knitwear"},
{"_id": "cat_012", "title": "Shirts"},
{"_id": "cat_013", "title": "Skirts"},
{"_id": "cat_014", "title": "Tops"},
{"_id": "cat_015", "title": "Trousers"},
{"_id": "cat_016", "title": "Tshirts"}
],
"parent_category_list": [
{"_id":"cat_001", "title":"Women"},
{"_id":"cat_002", "title":"Men"}
]
},
{
"_id": "cat_004",
"title": "Accessories",
"title_i18n": "category_dict.text_dict.accessories",
"reference": "product_group",
"sub_category_list": [
{"_id": "cat_017", "title": "Belts"},
{"_id": "v018", "title": "Scarves"},
{"_id": "v019", "title": "cWallets"},
{"_id": "cat_020", "title": "Handbags"},
{"_id": "cat_021", "title": "Bijoux"}
],
"parent_category_list": [
{"_id":"cat_001", "title":"Women"},
{"_id":"cat_002", "title":"Men"}
]
},
{
"_id": "cat_005",
"title": "Shoes",
"title_i18n": "category_dict.text_dict.shoes",
"reference": "product_group",
"sub_category_list": [
{"_id": "cat_022", "title": "Shoes"}
],
"parent_category_list": [
{"_id":"cat_001", "title":"Women"},
{"_id":"cat_002", "title":"Men"}
]
},
{
"_id": "cat_006",
"title": "Jumpsuits",
"title_i18n": "category_dict.text_dict.jumpsuits",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_007",
"title": "Sets",
"title_i18n": "category_dict.text_dict.sets",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_008",
"title": "Swimsuits",
"title_i18n": "category_dict.text_dict.swimsuits",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_009",
"title": "Dresses",
"title_i18n": "category_dict.text_dict.dresses",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_010",
"title": "Coats",
"title_i18n": "category_dict.text_dict.jackets",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_011",
"title": "Knitwear",
"title_i18n": "category_dict.text_dict.knitwear",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_012",
"title": "Shirts",
"title_i18n": "category_dict.text_dict.shirts",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_013",
"title": "Skirts",
"title_i18n": "category_dict.text_dict.skirts",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_014",
"title": "Tops",
"title_i18n": "category_dict.text_dict.tops",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_015",
"title": "Trousers",
"title_i18n": "category_dict.text_dict.trousers",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_016",
"title": "Tshirts",
"title_i18n": "category_dict.text_dict.tshirts",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_003", "title": "Apparel"}
]
},
{
"_id": "cat_017",
"title": "Belts",
"title_i18n": "category_dict.text_dict.belts",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_004", "title": "Accessories"}
]
},
{
"_id": "cat_018",
"title": "Scarves",
"title_i18n": "category_dict.text_dict.scarves",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_004", "title": "Accessories"}
]
},
{
"_id": "cat_019",
"title": "Wallets",
"title_i18n": "category_dict.text_dict.wallets",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_004", "title": "Accessories"}
]
},
{
"_id": "cat_020",
"title": "Handbags",
"title_i18n": "category_dict.text_dict.handbags",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_004", "title": "Accessories"}
]
},
{
"_id": "cat_021",
"title": "Bijoux",
"title_i18n": "category_dict.text_dict.bijoux",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_004", "title": "Accessories"}
]
},
{
"_id": "cat_022",
"title": "Shoes",
"title_i18n": "category_dict.text_dict.shoes",
"reference": "product_category",
"sub_category_list": [],
"parent_category_list": [
{"_id": "cat_005", "title": "Shoes"}
]
},
{
"_id": "set_023",
"title": "One size",
"title_i18n": "category_dict.text_dict.set_one_size",
"reference": "size_set",
"sub_category_list": [
{"_id": "siz_024", "title": "size_one_size"}
],
"parent_category_list": []
},
{
"_id": "siz_024",
"title": "one size",
"title_i18n": "category_dict.text_dict.size_one_size",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "023", "title": "set_single_size"}
]
},
{
"_id": "set_025",
"title": "set_XS_XL",
"title_i18n": "category_dict.text_dict.set_XS_XXL",
"reference": "size_set",
"sub_category_list": [
{"_id": "siz_026", "title": "size_XS"},
{"_id": "siz_027", "title": "size_S"},
{"_id": "siz_028", "title": "size_M"},
{"_id": "siz_029", "title": "size_L"},
{"_id": "siz_030", "title": "size_XL"},
{"_id": "siz_031", "title": "size_XXL"}
],
"parent_category_list": []
},
{
"_id": "siz_026",
"title": "XS",
"title_i18n": "category_dict.text_dict.size_XS",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_025", "title": "set_XS_XXL"}
]
},
{
"_id": "siz_027",
"title": "S",
"title_i18n": "category_dict.text_dict.size_S",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_025", "title": "set_XS_XXL"}
]
},
{
"_id": "siz_028",
"title": "M",
"title_i18n": "category_dict.text_dict.size_M",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_025", "title": "set_XS_XXL"}
]
},
{
"_id": "siz_029",
"title": "L",
"title_i18n": "category_dict.text_dict.size_L",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_025", "title": "set_XS_XXL"}
]
},
{
"_id": "siz_030",
"title": "XL",
"title_i18n": "category_dict.text_dict.size_XL",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_025", "title": "set_XS_XXL"}
]
},
{
"_id": "siz_031",
"title": "XXL",
"title_i18n": "category_dict.text_dict.size_XXL",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_025", "title": "set_XS_XXL"}
]
},
{
"_id": "set_032",
"title": "set_T0_T4",
"title_i18n": "category_dict.text_dict.t0_t4",
"reference": "size_set",
"sub_category_list": [
{"_id": "siz_033", "title": "size_T0"},
{"_id": "siz_034", "title": "size_T1"},
{"_id": "siz_035", "title": "size_T2"},
{"_id": "siz_036", "title": "size_T3"},
{"_id": "siz_037", "title": "size_T4"}
],
"parent_category_list": []
},
{
"_id": "siz_033",
"title": "T0",
"title_i18n": "category_dict.text_dict.size_t0",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_032", "title": "set_T0_T4"}
]
},
{
"_id": "siz_034",
"title": "T1",
"title_i18n": "category_dict.text_dict.size_t1",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_032", "title": "set_T0_T4"}
]
},
{
"_id": "siz_035",
"title": "T2",
"title_i18n": "category_dict.text_dict.size_t2",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_032", "title": "set_T0_T4"}
]
},
{
"_id": "siz_036",
"title": "T3",
"title_i18n": "category_dict.text_dict.size_t3",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_032", "title": "set_T0_T4"}
]
},
{
"_id": "siz_037",
"title": "T4",
"title_i18n": "category_dict.text_dict.size_t4",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_032", "title": "set_T0_T4"}
]
},
{
"_id": "set_038",
"title": "set_34-42",
"title_i18n": "category_dict.text_dict.set_34_42",
"reference": "size_set",
"sub_category_list": [
{"_id": "siz_34", "title": "size_34"},
{"_id": "siz_36", "title": "size_36"},
{"_id": "siz_38", "title": "size_38"},
{"_id": "siz_40", "title": "size_40"},
{"_id": "siz_42", "title": "size_42"}
],
"parent_category_list": []
},
{
"_id": "siz_039",
"title": "34",
"title_i18n": "category_dict.text_dict.size_34",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_038", "title": "set_34-42"}
]
},
{
"_id": "siz_040",
"title": "36",
"title_i18n": "category_dict.text_dict.size_36",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_038", "title": "set_34-42"}
]
},
{
"_id": "siz_041",
"title": "38",
"title_i18n": "category_dict.text_dict.size_38",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_038", "title": "set_34-42"}
]
},
{
"_id": "siz_042",
"title": "40",
"title_i18n": "category_dict.text_dict.size_40",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_038", "title": "set_34-42"}
]
},
{
"_id": "siz_043",
"title": "42",
"title_i18n": "category_dict.text_dict.size_42",
"reference": "size",
"sub_category_list": [],
"parent_category_list": [
{"_id": "set_038", "title": "set_34-42"}
]
}
]
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment