ai.newnal.illi.parent.putProfile
Write a linked parent's basic profile into the PARENT's repo in the family sphere, in the parent's name through delegation, as the Newnal platform's profileIdentity (name), profileBirth (birth date, year, a lunar birthday as a dangi yearly date) and profileRepresentation (photo) records, each with its provenance (who entered it). A value left out deletes its record; a photo left out keeps the previous one. Root/main admins, or the parent from the device (07 F-05).
Details · procedure
| Kind | procedure |
|---|---|
| Authority | parent.illi.newnal.ai |
| Commit rev | 3n32qyfsnlq2b |
| Indexed |
Showing version bafyreidhzymeg6allxuewcfj2e66gi4oc4akjwo5vs2ueq4ltocoxcczxu. Show the latest
Checks
Validunlimited-stringdefs.main.input.schema.properties.birthCalendarNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Write a linked parent's basic profile into the PARENT's repo in the family sphere, in the parent's name through delegation, as the Newnal platform's profileIdentity (name), profileBirth (birth date, year, a lunar birthday as a dangi yearly date) and profileRepresentation (photo) records, each with its provenance (who entered it). A value left out deletes its record; a photo left out keeps the previous one. Root/main admins, or the parent from the device (07 F-05).",
"errors": [
{
"name": "NotAdmin"
},
{
"name": "ParentNotLinked"
},
{
"name": "DelegationUnavailable"
},
{
"name": "PdsUnavailable"
},
{
"name": "HomeNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"birthCalendar": {
"knownValues": [
"solar",
"lunar"
],
"type": "string"
},
"birthDate": {
"maxLength": 10,
"type": "string"
},
"homeId": {
"format": "tid",
"type": "string"
},
"name": {
"maxGraphemes": 40,
"maxLength": 400,
"type": "string"
},
"note": {
"maxLength": 200,
"type": "string"
},
"photo": {
"accept": [
"image/jpeg",
"image/png",
"image/webp"
],
"maxSize": 5000000,
"type": "blob"
},
"slot": {
"maximum": 2,
"minimum": 1,
"type": "integer"
}
},
"required": [
"homeId",
"slot",
"name"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"entryUri": {
"format": "at-uri",
"type": "string"
},
"uri": {
"description": "The parent's profileIdentity record.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.parent.putProfile",
"lexicon": 1
}