# family.pardy.familytime.starClaim

> 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.

- Kind: record
- Record key: tid
- Authority: familytime.pardy.family
- Lexicon: 1
- Published by [pardy.at](https://lexicon.garden/identity/did:plc:dp7v5b5kejmmzzpwmqyf5wj6), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.starClaim)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.starClaim/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.starClaim/analytics)

## Record (`family.pardy.familytime.starClaim`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `date` (string, required)
  - Constraints: maxLength: 10
- `for` (string · did)
- `goal` (string, required): The goal's id.
  - Constraints: maxLength: 64

## 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
}
```
