# family.pardy.familytime.decision

> 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.decision)
- [Documentation](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.decision/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:dp7v5b5kejmmzzpwmqyf5wj6/family.pardy.familytime.decision/examples)

## Definitions

### `family.pardy.familytime.decision`

**Type**: `record`

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`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `note` | `string` | No |  |
| `status` | `string` | Yes |  |
| `subject` | `ref` → `#subjectRef` | Yes |  |

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

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` | Yes |  |

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