diff --git a/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument.xml b/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument.xml new file mode 100644 index 0000000000000000000000000000000000000000..e519df5d64087b2a0d1520de099d3b665c2adaa7 --- /dev/null +++ b/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument.xml @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Property Sheet" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>JSONDocument</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Property Sheet</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument/json_content_property.xml b/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument/json_content_property.xml new file mode 100644 index 0000000000000000000000000000000000000000..5bb5523a643ebbbab54dc46ef36566df0d6115a5 --- /dev/null +++ b/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument/json_content_property.xml @@ -0,0 +1,53 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Standard Property" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>mode</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>elementary_type/text</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The content of the document considered as a json string</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>json_content_property</string> </value> + </item> + <item> + <key> <string>mode</string> </key> + <value> <string>w</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Standard Property</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument/json_content_substitution_mapping_method_id_property.xml b/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument/json_content_substitution_mapping_method_id_property.xml new file mode 100644 index 0000000000000000000000000000000000000000..12d48f171f0ed275960f7bcfcb2584eda12d5dcb --- /dev/null +++ b/bt5/erp5_json_type/PropertySheetTemplateItem/portal_property_sheets/JSONDocument/json_content_substitution_mapping_method_id_property.xml @@ -0,0 +1,53 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Standard Property" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>mode</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>elementary_type/string</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The method ID which returns a mapping for substitutions of a json content</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>json_content_substitution_mapping_method_id_property</string> </value> + </item> + <item> + <key> <string>mode</string> </key> + <value> <string>w</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Standard Property</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_json_type/bt/template_property_sheet_id_list b/bt5/erp5_json_type/bt/template_property_sheet_id_list index f72eb52d3d155f6f13c4c57d2fbb4108cd4819a0..bf3606224e819c1c4e7b37a8a98db772ec44efa8 100644 --- a/bt5/erp5_json_type/bt/template_property_sheet_id_list +++ b/bt5/erp5_json_type/bt/template_property_sheet_id_list @@ -1 +1,2 @@ -JSONTypeConstraint \ No newline at end of file +JSONTypeConstraint +JSONDocument \ No newline at end of file