# ai.newnal.illi.family.dataSharing

> Which categories of the parents' E04 data a general manager of this home may read. Root and main admins read and write every category whatever this says; general managers never write. One record per home, written by the root admin's session into the root admin's repo of the family sphere (dev-spec 21 §4.4).

- Kind: record
- Record key: literal:self
- Authority: family.illi.newnal.ai
- Lexicon: 1
- Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.dataSharing)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.dataSharing/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.dataSharing/analytics)

## Record (`ai.newnal.illi.family.dataSharing`)

Type: record · key literal:self

### Properties

- `generalManagers` (ref, required)
  - Reference: `#categories`
- `updatedAt` (string · datetime, required)
- `updatedBy` (string · did, required)

## #categories (`ai.newnal.illi.family.dataSharing#categories`)

Type: object

### Properties

- `contentTaste` (boolean, required)
- `health` (boolean, required)
- `interests` (boolean, required)
- `mobility` (boolean, required)
- `schedule` (boolean, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "categories": {
      "properties": {
        "contentTaste": {
          "type": "boolean"
        },
        "health": {
          "type": "boolean"
        },
        "interests": {
          "type": "boolean"
        },
        "mobility": {
          "type": "boolean"
        },
        "schedule": {
          "type": "boolean"
        }
      },
      "required": [
        "mobility",
        "health",
        "interests",
        "contentTaste",
        "schedule"
      ],
      "type": "object"
    },
    "main": {
      "description": "Which categories of the parents' E04 data a general manager of this home may read. Root and main admins read and write every category whatever this says; general managers never write. One record per home, written by the root admin's session into the root admin's repo of the family sphere (dev-spec 21 §4.4).",
      "key": "literal:self",
      "record": {
        "properties": {
          "generalManagers": {
            "ref": "#categories",
            "type": "ref"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "updatedBy": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "generalManagers",
          "updatedAt",
          "updatedBy"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.illi.family.dataSharing",
  "lexicon": 1
}
```
