garden.goals.completion

lexicon.store View official

Documentation

A record of completing a goal on a specific day.

main record

A record of completing a goal on a specific day.

Record Key tid Timestamp-based ID

Properties

completedAt string datetime Required

Timestamp when the completion was recorded

day integer Required

Day of the completion (1-31)

minimum: 1maximum: 31
goalId string Required

UUID of the goal this completion belongs to

maxLength: 64 bytes
goalUri string at-uri Optional

AT Protocol URI reference to the goal record

month integer Required

Month of the completion (1-12)

minimum: 1maximum: 12
notes string Optional

Optional notes for this completion

maxLength: 99 bytes
photoBlob blob Optional

Optional photo for this completion

maxSize: 1.0 MB
sequenceNum integer Optional

Sequence number for countable goals

minimum: 1
year integer Required

Year of the completion

minimum: 1970
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "goalId",
      "year",
      "month",
      "day",
      "completedAt"
    ],
    "properties": {
      "day": {
        "type": "integer",
        "maximum": 31,
        "minimum": 1,
        "description": "Day of the completion (1-31)"
      },
      "year": {
        "type": "integer",
        "minimum": 1970,
        "description": "Year of the completion"
      },
      "month": {
        "type": "integer",
        "maximum": 12,
        "minimum": 1,
        "description": "Month of the completion (1-12)"
      },
      "notes": {
        "type": "string",
        "maxLength": 99,
        "description": "Optional notes for this completion"
      },
      "goalId": {
        "type": "string",
        "maxLength": 64,
        "description": "UUID of the goal this completion belongs to"
      },
      "goalUri": {
        "type": "string",
        "format": "at-uri",
        "description": "AT Protocol URI reference to the goal record"
      },
      "photoBlob": {
        "type": "blob",
        "accept": [
          "image/*"
        ],
        "maxSize": 1000000,
        "description": "Optional photo for this completion"
      },
      "completedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when the completion was recorded"
      },
      "sequenceNum": {
        "type": "integer",
        "minimum": 1,
        "description": "Sequence number for countable goals"
      }
    }
  },
  "description": "A record of completing a goal on a specific day."
}

Lexicon Garden

@