garden.goals.completion

goals.garden

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

Lexicon Garden

@