# family.pardy.familytime.starClaim

> Published by [pardy.at](https://lexicon.garden/identity/did:plc:dp7v5b5kejmmzzpwmqyf5wj6)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.starClaim)
- [Documentation](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.starClaim/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.starClaim/examples)

## Definitions

### `family.pardy.familytime.starClaim`

**Type**: `record`

A star claimed for a goal on a day: by a kid ("I did it!") or given by a parent (with for). It counts once a parent's decision approves it.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `date` | `string` | Yes |  |
| `for` | `string` (did) | No |  |
| `goal` | `string` | Yes | The goal's id. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A star claimed for a goal on a day: by a kid (\"I did it!\") or given by a parent (with for). It counts once a parent's decision approves it.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "date": {
            "maxLength": 10,
            "type": "string"
          },
          "for": {
            "format": "did",
            "type": "string"
          },
          "goal": {
            "description": "The goal's id.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "goal",
          "date",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "family.pardy.familytime.starClaim",
  "lexicon": 1
}
```
