{
  "formatVersion": 1,
  "experienceId": "daily-space",
  "revision": 1,
  "minHostVersion": "0.1.0",
  "title": "Your Day",
  "subtitle": "A living dashboard, arranged by your agent.",
  "icon": "sparkles",
  "tint": "#C8F279",
  "runtime": "native",
  "tables": [
    {
      "id": "wellness.meals",
      "name": "Meal journal",
      "fields": [
        {
          "name": "title",
          "type": "string",
          "required": true
        },
        {
          "name": "photo",
          "type": "image",
          "required": false
        },
        {
          "name": "calories",
          "type": "number",
          "required": false
        },
        {
          "name": "protein",
          "type": "number",
          "required": false
        },
        {
          "name": "notes",
          "type": "string",
          "required": false
        },
        {
          "name": "date",
          "type": "date",
          "required": false
        }
      ]
    },
    {
      "id": "learning.progress",
      "name": "Learning progress",
      "fields": [
        {
          "name": "wordId",
          "type": "reference",
          "required": true,
          "references": "learning.words"
        },
        {
          "name": "known",
          "type": "boolean",
          "required": false
        },
        {
          "name": "reviews",
          "type": "number",
          "required": false
        },
        {
          "name": "lastReview",
          "type": "date",
          "required": false
        }
      ]
    },
    {
      "id": "travel.trips",
      "name": "Trips",
      "fields": [
        {
          "name": "title",
          "type": "string",
          "required": true
        },
        {
          "name": "destination",
          "type": "string",
          "required": false
        },
        {
          "name": "date",
          "type": "date",
          "required": false
        },
        {
          "name": "notes",
          "type": "string",
          "required": false
        }
      ]
    },
    {
      "id": "travel.entries",
      "name": "Travel journal",
      "fields": [
        {
          "name": "tripId",
          "type": "reference",
          "required": false,
          "references": "travel.trips"
        },
        {
          "name": "title",
          "type": "string",
          "required": false
        },
        {
          "name": "text",
          "type": "string",
          "required": true
        },
        {
          "name": "photo",
          "type": "image",
          "required": false
        },
        {
          "name": "date",
          "type": "date",
          "required": false
        }
      ]
    }
  ],
  "seeds": [],
  "dataBindings": [
    {
      "tableId": "wellness.meals",
      "access": "read"
    },
    {
      "tableId": "learning.progress",
      "access": "read"
    },
    {
      "tableId": "travel.trips",
      "access": "read"
    },
    {
      "tableId": "travel.entries",
      "access": "read"
    }
  ],
  "capabilities": [],
  "connections": [],
  "native": {
    "root": {
      "id": "root",
      "type": "stack",
      "props": {
        "gap": 20
      },
      "children": [
        {
          "id": "intro",
          "type": "stack",
          "props": {},
          "children": [
            {
              "id": "eyebrow",
              "type": "text",
              "props": {
                "text": "MADE FOR YOUR EVERYDAY",
                "variant": "eyebrow"
              }
            },
            {
              "id": "heading",
              "type": "text",
              "props": {
                "text": "A little space for your day",
                "variant": "title"
              }
            },
            {
              "id": "description",
              "type": "text",
              "props": {
                "text": "Your agent can change this layout, add its artwork, and bring the right things together.",
                "variant": "body"
              }
            }
          ]
        },
        {
          "id": "art",
          "type": "image",
          "props": {
            "asset": "assets/daylight.svg",
            "alt": "Original abstract landscape, included with this package"
          }
        },
        {
          "id": "numbers",
          "type": "grid",
          "props": {
            "columns": 2
          },
          "children": [
            {
              "id": "nutrition",
              "type": "metric",
              "props": {
                "label": "Calories logged",
                "tableId": "wellness.meals",
                "field": "calories",
                "operation": "sum",
                "suffix": " kcal"
              }
            },
            {
              "id": "words",
              "type": "metric",
              "props": {
                "label": "Words practiced",
                "tableId": "learning.progress",
                "operation": "count"
              }
            }
          ]
        },
        {
          "id": "trips",
          "type": "list",
          "props": {
            "title": "Something to look forward to",
            "tableId": "travel.trips",
            "titleField": "title",
            "detailField": "destination"
          }
        },
        {
          "id": "journal",
          "type": "list",
          "props": {
            "title": "Recent memories",
            "tableId": "travel.entries",
            "titleField": "title",
            "detailField": "text"
          }
        },
        {
          "id": "updates",
          "type": "inbox",
          "props": {
            "title": "From your agent"
          }
        }
      ]
    }
  },
  "assets": [
    {
      "path": "assets/daylight.svg",
      "mediaType": "image/svg+xml",
      "data": "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5MDAgNDAwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9InNreSIgeDI9IjAiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjYjVjOWJkIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZTBkNWI5Ii8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3Qgd2lkdGg9IjkwMCIgaGVpZ2h0PSI0MDAiIGZpbGw9InVybCgjc2t5KSIvPjxjaXJjbGUgY3g9IjY1MCIgY3k9IjEyMyIgcj0iNjIiIGZpbGw9IiNmNmUxYTQiLz48cGF0aCBkPSJNMCAyNzBRMTUwIDgwIDMxMCAyMjVUNjMwIDIxMFQ5MDAgMTc1VjQwMEgwIiBmaWxsPSIjOGRhNThhIi8+PHBhdGggZD0iTTAgMzQwUTIyMCAxOTAgNDAwIDI5NVQ5MDAgMjY1VjQwMEgwIiBmaWxsPSIjNGM2ZTU1Ii8+PHBhdGggZD0iTTAgNDAwUTIzMCAyODAgNDcwIDM3MFQ5MDAgMzQwVjQwMCIgZmlsbD0iIzJkNGEzYiIvPjxwYXRoIGQ9Ik00NjAgNDAwUTUzMCAzNDUgNDkwIDMwMFQ1NTAgMjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlN2M3OWMiIHN0cm9rZS13aWR0aD0iMTIiIG9wYWNpdHk9Ii43NSIvPjwvc3ZnPg==",
      "sha256": "a935d7e1eaad0845cf7a9cceed8520326c1ca9d8d5352cca5ae2258c6319e53d"
    }
  ],
  "releaseNotes": "First edition. Sample content is labeled; your edits stay on this device."
}
