jef-caferimo-order-drafts

Source

  • Repository: jef-systems/jef-caferimo-backend

  • Table: jef-caferimo-order-drafts

  • Schema path: dynamodb/jef-caferimo-order-drafts/schema.json

  • Commit: b179b84956ef751cb4e824534d01b3766b12fc2f

Attributes

{
  "pk": "string-reference_no",
  "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"
      }
    }
  ],
  "discount": {
    "type": "string-enum-none-sc-pwd-promo-manual",
    "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_no",
    "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"
        }
      }
    ],
    "discount": {
      "type": "string-enum-none-sc-pwd-promo-manual",
      "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"
  }
}