garden.goals.goal

A goal to track daily completions for a year.

Repository @goals.garden did:plc:r4suwlt5zl7sexnfgmi3jctw namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritygoals.garden
Indexed
cid bafyreicn67xpdhd462lt3vm26abbxvx3mfb5tiwzsag57fsnonbqzefexm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A goal to track daily completions for a year.",
      "key": "tid",
      "record": {
        "properties": {
          "accentColor": {
            "description": "Preset name or hex color for incomplete state",
            "maxLength": 50,
            "type": "string"
          },
          "categories": {
            "description": "Array of category UUIDs this goal belongs to",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "type": "array"
          },
          "completedAccentColor": {
            "description": "Preset name or hex color for complete state",
            "maxLength": 50,
            "type": "string"
          },
          "completedPiece": {
            "description": "Shape name or emoji for complete state",
            "maxLength": 100,
            "type": "string"
          },
          "completedPieceBlob": {
            "accept": [
              "image/*"
            ],
            "description": "Uploaded image for complete state",
            "maxSize": 1000000,
            "type": "blob"
          },
          "completedPieceUrl": {
            "description": "Favicon URL for complete state",
            "format": "uri",
            "type": "string"
          },
          "createdAt": {
            "description": "Timestamp when the goal was created",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Optional description of the goal",
            "maxLength": 500,
            "type": "string"
          },
          "goalId": {
            "description": "Unique identifier for the goal (UUID)",
            "maxLength": 64,
            "type": "string"
          },
          "name": {
            "description": "Display name of the goal",
            "maxLength": 100,
            "type": "string"
          },
          "piece": {
            "description": "Shape name or emoji for incomplete state",
            "maxLength": 100,
            "type": "string"
          },
          "pieceBlob": {
            "accept": [
              "image/*"
            ],
            "description": "Uploaded image for incomplete state",
            "maxSize": 1000000,
            "type": "blob"
          },
          "pieceUrl": {
            "description": "Favicon URL for incomplete state",
            "format": "uri",
            "type": "string"
          },
          "targetCount": {
            "description": "Target count for countable goals",
            "minimum": 1,
            "type": "integer"
          },
          "year": {
            "description": "Year this goal is tracked for",
            "minimum": 1970,
            "type": "integer"
          }
        },
        "required": [
          "goalId",
          "name",
          "year",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "garden.goals.goal",
  "lexicon": 1
}