jef-caferimo-order-drafts¶
Source¶
Repository:
jef-systems/jef-caferimo-backendTable:
jef-caferimo-order-draftsSchema path:
dynamodb/jef-caferimo-order-drafts/schema.jsonCommit:
9d5786b1618b1d7760c2c0d55e7cf3b91cfb456dGenerated at:
2026-04-02T13:36:35Z
Attributes¶
{
"pk": "string-reference_number",
"gsi_1_pk": "string-order_type",
"gsi_1_sk": "string-updated_at",
"reference_no": "string",
"created_at": "string-iso8601",
"updated_at": "string-iso8601",
"currency": "string-enum-PHP",
"order_type": "string-enum-dine_in-takeout-to_go",
"table_no": "number-whole-number-or-null",
"items": [
{
"cartKey": "string",
"id": "string",
"name": "string",
"category": "string",
"base_price": "number-decimal",
"price": "number-decimal",
"size": "string-enum-medium-large-or-null",
"quantity": "number-whole-number",
"note": "string",
"customizations": {
"temperature": "string-enum-hot-or-iced",
"sugar_level": "string-enum-0%-25%-50%-75%-100%",
"milk_type": "string-enum-whole-oat-almond-none",
"extra_shots": "number-whole-number",
"extra_shot_unit_price": "number-decimal"
},
"recipe_reference": {
"recipe_number": "string-4-digits-optional",
"recipe_name": "string-optional"
},
"recipe_resolution": {
"binding_mode": "string-enum-none-single_recipe-variant_recipe",
"matched_by": "string-enum-none-default-size-temperature-size_and_temperature",
"selected_output": {
"key": "string-optional",
"value": "string-optional"
}
},
"recipe_snapshot": {
"pk": "string-optional",
"recipe_number": "string-4-digits-optional",
"recipe_name": "string-optional",
"specifications": [
{
"key": "string",
"value": "string"
}
],
"equipments": [
{
"asset_number": "string",
"asset_name": "string"
}
],
"ingredients": [
{
"jsin": "string",
"barcode": "string",
"product_name": "string",
"product_unit": "string"
}
],
"steps": [
{
"step_number": "number-whole-number",
"title": "string",
"description": "string",
"ingredients": [
{
"jsin": "string",
"barcode": "string",
"product_name": "string",
"product_unit": "string",
"quantity": "number-two-decimals",
"quantity_unit": "string"
}
],
"equipments": [
{
"asset_number": "string",
"asset_name": "string",
"quantity": "number-two-decimals",
"quantity_unit": "string"
}
]
}
],
"outputs": [
{
"key": "string",
"value": "string"
}
]
}
}
],
"discount": {
"type": "string-enum-none-sc-pwd-promo-manuals",
"rate": "number-decimal",
"label": "string",
"id_no": "string-optional"
},
"summary": {
"total_items": "number-whole-number",
"unique_items": "number-whole-number",
"subtotal": "number-decimal",
"service_charge": "number-decimal",
"discount_amount": "number-decimal",
"vatable_sales": "number-decimal",
"vat_exempt_sales": "number-decimal",
"vat_amount": "number-decimal",
"grand_total": "number-decimal"
}
}
Main Index¶
{
"pk": "pk"
}
Raw Schema¶
{
"table": "jef-caferimo-order-drafts",
"attributes": {
"pk": "string-reference_number",
"gsi_1_pk": "string-order_type",
"gsi_1_sk": "string-updated_at",
"reference_no": "string",
"created_at": "string-iso8601",
"updated_at": "string-iso8601",
"currency": "string-enum-PHP",
"order_type": "string-enum-dine_in-takeout-to_go",
"table_no": "number-whole-number-or-null",
"items": [
{
"cartKey": "string",
"id": "string",
"name": "string",
"category": "string",
"base_price": "number-decimal",
"price": "number-decimal",
"size": "string-enum-medium-large-or-null",
"quantity": "number-whole-number",
"note": "string",
"customizations": {
"temperature": "string-enum-hot-or-iced",
"sugar_level": "string-enum-0%-25%-50%-75%-100%",
"milk_type": "string-enum-whole-oat-almond-none",
"extra_shots": "number-whole-number",
"extra_shot_unit_price": "number-decimal"
},
"recipe_reference": {
"recipe_number": "string-4-digits-optional",
"recipe_name": "string-optional"
},
"recipe_resolution": {
"binding_mode": "string-enum-none-single_recipe-variant_recipe",
"matched_by": "string-enum-none-default-size-temperature-size_and_temperature",
"selected_output": {
"key": "string-optional",
"value": "string-optional"
}
},
"recipe_snapshot": {
"pk": "string-optional",
"recipe_number": "string-4-digits-optional",
"recipe_name": "string-optional",
"specifications": [
{
"key": "string",
"value": "string"
}
],
"equipments": [
{
"asset_number": "string",
"asset_name": "string"
}
],
"ingredients": [
{
"jsin": "string",
"barcode": "string",
"product_name": "string",
"product_unit": "string"
}
],
"steps": [
{
"step_number": "number-whole-number",
"title": "string",
"description": "string",
"ingredients": [
{
"jsin": "string",
"barcode": "string",
"product_name": "string",
"product_unit": "string",
"quantity": "number-two-decimals",
"quantity_unit": "string"
}
],
"equipments": [
{
"asset_number": "string",
"asset_name": "string",
"quantity": "number-two-decimals",
"quantity_unit": "string"
}
]
}
],
"outputs": [
{
"key": "string",
"value": "string"
}
]
}
}
],
"discount": {
"type": "string-enum-none-sc-pwd-promo-manuals",
"rate": "number-decimal",
"label": "string",
"id_no": "string-optional"
},
"summary": {
"total_items": "number-whole-number",
"unique_items": "number-whole-number",
"subtotal": "number-decimal",
"service_charge": "number-decimal",
"discount_amount": "number-decimal",
"vatable_sales": "number-decimal",
"vat_exempt_sales": "number-decimal",
"vat_amount": "number-decimal",
"grand_total": "number-decimal"
}
},
"main_index": {
"pk": "pk"
},
"gsi_1": {
"pk": "gsi_1_pk",
"sk": "gsi_1_sk"
}
}