# garden.goals.completionDetails

> Published by [goals.garden](https://lexicon.garden/identity/did:plc:r4suwlt5zl7sexnfgmi3jctw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:r4suwlt5zl7sexnfgmi3jctw/garden.goals.completionDetails)
- [Documentation](https://lexicon.garden/lexicon/did:plc:r4suwlt5zl7sexnfgmi3jctw/garden.goals.completionDetails/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:r4suwlt5zl7sexnfgmi3jctw/garden.goals.completionDetails/examples)

## Definitions

### `garden.goals.completionDetails`

**Type**: `record`

Additional details (notes, photo) for a goal completion day.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `day` | `integer` | Yes | Day of the completion (1-31) |
| `year` | `integer` | Yes | Year of the completion |
| `month` | `integer` | Yes | Month of the completion (1-12) |
| `notes` | `string` | No | Optional notes for this day |
| `goalId` | `string` | Yes | UUID of the goal this details record belongs to |
| `goalUri` | `string` (at-uri) | No | AT Protocol URI reference to the goal record |
| `photoAlt` | `string` | No | Alt text for the photo |
| `photoBlob` | `blob` | No | Optional photo for this day |
| `updatedAt` | `string` (datetime) | Yes | Timestamp when this details record was last updated |

## Raw Schema

```json
{
  "id": "garden.goals.completionDetails",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "goalId",
          "year",
          "month",
          "day",
          "updatedAt"
        ],
        "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 day"
          },
          "goalId": {
            "type": "string",
            "maxLength": 64,
            "description": "UUID of the goal this details record belongs to"
          },
          "goalUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT Protocol URI reference to the goal record"
          },
          "photoAlt": {
            "type": "string",
            "maxLength": 1000,
            "description": "Alt text for the photo"
          },
          "photoBlob": {
            "type": "blob",
            "accept": [
              "image/*"
            ],
            "maxSize": 1000000,
            "description": "Optional photo for this day"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when this details record was last updated"
          }
        }
      },
      "description": "Additional details (notes, photo) for a goal completion day."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
