# family.pardy.familytime.decision

> A parent's decision about an exact version of a record in the family space: a suggestion, event or activity. Lives in the approvals space, which only parents can write. The newest decision wins.

- 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.decision)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.decision/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.decision/analytics)

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

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `note` (string)
  - Constraints: maxLength: 1000
- `status` (string, required)
  - Constraints: knownValues: approved | declined
- `subject` (ref, required)
  - Reference: `#subjectRef`

## #subjectRef (`family.pardy.familytime.decision#subjectRef`)

Type: object

Like com.atproto.repo.strongRef, but the URI is a space record URI. Editing the record changes its CID and needs a new decision.

### Properties

- `cid` (string · cid, required)
- `uri` (string, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A parent's decision about an exact version of a record in the family space: a suggestion, event or activity. Lives in the approvals space, which only parents can write. The newest decision wins.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "note": {
            "maxLength": 1000,
            "type": "string"
          },
          "status": {
            "knownValues": [
              "approved",
              "declined"
            ],
            "type": "string"
          },
          "subject": {
            "ref": "#subjectRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "status",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "subjectRef": {
      "description": "Like com.atproto.repo.strongRef, but the URI is a space record URI. Editing the record changes its CID and needs a new decision.",
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "family.pardy.familytime.decision",
  "lexicon": 1
}
```
