{
"$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
}