# ai.newnal.illi.family.dataEntry

> Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.dataEntry)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.dataEntry/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.dataEntry/examples)

## Definitions

### `ai.newnal.illi.family.dataEntry`

**Type**: `record`

ILLI's provenance note for a My Data record written in a parent's name: who entered it, from which source, and why. Written by the acting admin into their own repo in the family sphere; the My Data record itself stays generic.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `enteredBy` | `string` (did) | No | The account that entered the data. Defaults to the record's author; set explicitly when the Service Node wrote this entry on an admin's behalf. |
| `note` | `string` | No | Free text for the family, e.g. why a value was changed. |
| `source` | `string` | Yes | spec: where the information came from. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | The My Data record (URI and CID) this entry describes. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "ILLI's provenance note for a My Data record written in a parent's name: who entered it, from which source, and why. Written by the acting admin into their own repo in the family sphere; the My Data record itself stays generic.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "enteredBy": {
            "description": "The account that entered the data. Defaults to the record's author; set explicitly when the Service Node wrote this entry on an admin's behalf.",
            "format": "did",
            "type": "string"
          },
          "note": {
            "description": "Free text for the family, e.g. why a value was changed.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "source": {
            "description": "spec: where the information came from.",
            "knownValues": [
              "parentReported",
              "familyEntered",
              "imported"
            ],
            "type": "string"
          },
          "subject": {
            "description": "The My Data record (URI and CID) this entry describes.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "source",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.illi.family.dataEntry",
  "lexicon": 1
}
```
