At this level
ai.newnal · 1- ai.newnal.illi.account.exchangeCode procedure Exchange the one-time code from a client=native sign-in (delivered to the app at …/native/callback?code=…, 60 s, single use) for a session token, sent afterwards as Authorization: Bearer on every call and on /events. The code is bound to the code_challenge the app sent when it started the sign-in; codeVerifier proves it is the same app (PKCE-style S256), which stops a code obtained for another account from being injected into the app.
- ai.newnal.illi.account.family.signIn procedure Sign a family member in to ILLI from the native family app without the PDN's OAuth sign-in and consent screen: the app presents the member's scoped familyApp app password (which it keeps) and its platform attestation; the Service Agent Node opens the session, joins the account to the service sphere on first use and returns the family session. Used at first connection and at every re-login. Web clients use the OAuth BFF (/oauth/login) instead.
- ai.newnal.illi.account.getAttestationNonce procedure Issue a server nonce (5 minutes) that a client binds into its attestation before calling account.requestPDNCreationGrant, account.parent.signIn, account.family.signIn or device.requestOnboardingCode. The nonce is an attestation session: the attestation bound to it may be presented again for the same client kind and subject until it expires; a failed verification ends the session. Devices put it in the Android key-attestation challenge of a key provisioned through Newnal's RKP; family apps pass i
- ai.newnal.illi.account.getSession query Describe the signed-in ILLI session: the account behind the illi_session cookie, which app it belongs to, and when the account joined the ILLI service. Served by the ILLI Service Agent Node.
- ai.newnal.illi.account.parent.signIn procedure Sign a parent account in to ILLI from the device without the PDN's OAuth sign-in and consent screen: the device presents the parent's scoped deviceApp app password (which it keeps) and its attestation; the Service Agent Node opens the delegated session, joins the account to the service sphere on first use and returns the device-app session. Used at first connection and at every re-login.
- ai.newnal.illi.account.parent.startOAuth procedure Start a parent's OAuth sign-in on the device through the PDN's own page (BFF), for an existing Newnal ID whose credentials are typed on the PDN page. Device-created accounts, and existing ones whose credentials the device app takes itself, sign in with account.parent.signIn instead. client=native ends with a one-time code on the device app's App Link for account.exchangeCode instead of a cookie.
- ai.newnal.illi.account.registerPushToken procedure Register this installation's push token for user-visible notifications only: one token per session, replaced on rotation, removed on logout. Pushes carry generic text and { homeId, kind } only; events travel over SSE.
- ai.newnal.illi.account.requestPDNCreationGrant procedure Issue a 60-second creation grant (a service-auth JWT for the PDN's ai.newnal.pdn.server.createAttestedAccount) to an attested ILLI client. In the PoC a device needs no attestation; in production the manufacturing-key or platform attestation is mandatory.
- ai.newnal.illi.account.unregisterPushToken procedure Remove a push token of the signed-in account.
- ai.newnal.illi.artwork.ackDelivery procedure Device app. Acknowledges one delivery: outcome received after the whole file was downloaded, its CID, size and sha256 matched the manifest and a decoder frame was prepared without starting playback (playbackReady true); outcome failed with the failure stage otherwise. received is final and counts the work's originals as used; a failure consumes nothing. The same requestKey replays the first answer.
- ai.newnal.illi.artwork.defs defs Delivery counts of one occurrence. Delivered means downloaded and acknowledged, not played.
- ai.newnal.illi.artwork.excludeOccurrence procedure Root/main admin cancels an unsent occurrence before the one-hour lock. No automatic substitute.
- ai.newnal.illi.artwork.getArtwork query Family app (active guardians; parents excluded). One work with its versions, sources, occurrences and deliveries. Stored versions can be previewed before delivery (getPreview).
- ai.newnal.illi.artwork.getFamilyWork query Device app. One received work by its delivery: the card and whether its manifest can still be read. Works outside today's recommendations included.
- ai.newnal.illi.artwork.getManifest query Device app. The fixed composition version, CID, size, sha256 and download URL of one delivery. Cancelled or expired unreceived deliveries have no manifest; received versions remain accessible after retry expiry. The file and a new acknowledgement follow the same access rule.
- ai.newnal.illi.artwork.getPreview query Exact stored-version product preview for active guardians, including before delivery.
- ai.newnal.illi.artwork.listArchive query Family app (active guardians; parents excluded). History cards of the home's generated works, newest first, with the stored preview when there is one.
- ai.newnal.illi.artwork.listDeliveries query Device app. Deliveries to download, oldest first: offered or failed deliveries before expiry. state=all also lists received, cancelled and expired deliveries. A delivery whose version can no longer be sent is left out of the open list (its manifest, file and acknowledgement would answer DeliveryWithdrawn). Read on reconnect and on artworkDelivery events; the events are hints, kept 30 days.
- ai.newnal.illi.artwork.listFamilyWorks query Device-local daily recommendation membership/order snapshot. Stored version introductions are reused; a missing sentence may fill on a later read. An explicit snapshotId retains that device's published history across midnight.
- ai.newnal.illi.artwork.listScheduled query Family app (active guardians; parents excluded). The occurrences of a local-date interval (default: today) with their revision, lock time and preview, the four slot outcomes of every planned day in the interval, and changesUntil, the deadline for changing tomorrow's draft.
- ai.newnal.illi.artwork.recordPlayback procedure Device app. Records a playback event of a delivered work: started (clears the unplayed state), paused (with the position the viewer can resume from) and completed. Playback is independent of delivery and is never an acknowledgement. Events are idempotent by eventKey within the delivery; the server keeps the latest paused position.
- ai.newnal.illi.artwork.updateSubtitle procedure Root/main admin accepts a photo-only supplied subtitle render before the one-hour lock. Completion is asynchronous.
- ai.newnal.illi.device.getState query Everything the device needs to render: status, onboarding code while waiting, home, parents, members, pending requests and the acknowledged event cursor.
- ai.newnal.illi.device.link procedure The caller enters the device's onboarding code and becomes the root admin: creates the home and the family sphere on the caller's PDN with parent 1 and the caller as first members.
- ai.newnal.illi.device.reportStatus procedure Device heartbeat (every 60 s): updates lastSeenAt, the online flag and the OS image version (firmwareVersion).
- ai.newnal.illi.device.requestOnboardingCode procedure Register the device (device id, model) under parent 1's device-app session and issue a one-time onboarding code shown on the device.
- ai.newnal.illi.device.unlink procedure Unlink the home's device (root admin). The home keeps its data; the device shows set-up again.
- ai.newnal.illi.deviceApp permission-set
- ai.newnal.illi.deviceAppPrivate permission-set
- ai.newnal.illi.events.ack procedure The device records the last event id it has shown to the parents, so one-shot notices appear exactly once.
- ai.newnal.illi.events.defs defs
- ai.newnal.illi.events.list query Events of a home after a cursor (polling and native catch-up; the SSE stream at GET /events serves the same log).
- ai.newnal.illi.family space Shared data of one ILLI device and the family around it: parent slots, members, photos and videos, the finished family works, the parents' My Data records (ai.newnal.mydata.*, in each parent's own repo) and ILLI's state of that data.
- ai.newnal.illi.family.artworkVersion record One finished version of a family work: the video the media service made, stored as a blob on the root admin's PDN and referenced from the family sphere (root admin repo, written by the Service Agent Node with the root admin's session). The record key is deterministic, "v1-" plus the first 32 hex characters of sha256 over homeId, artworkKey, mediaArtworkId and compositionVersion joined with newlines, so a retried write replaces the same record with the same content and other content under the sam
- ai.newnal.illi.family.credentialEnvelope record A parent's credentials (Newnal ID handle and password, scoped app passwords, parent 1's Private Phone key) sealed by the ILLI device to the root admin's custody public key (crypto_box_seal: ephemeral X25519 + HKDF + AES-256-GCM). Written by the device in the parent's repo; only the root admin can open it. Deleted by the device once a custodyReceipt is seen.
- ai.newnal.illi.family.custodyReceipt record Written by the root admin after opening a credentialEnvelope and storing its contents in their Private Sphere; tells the device it may delete the envelope.
- ai.newnal.illi.family.dataEntry 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.
- ai.newnal.illi.family.dataSharing record 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).
- ai.newnal.illi.family.mediaItem record One original photo or video in the home's content bank. The original and its sidecar are blobs on the author's PDN; the thumbnail, display rendition, poster, dimensions and capture time are produced by the media service and uploaded by the Service Agent Node to the same PDN after the item was created, so a freshly created item may carry only the original and its upload-time content hash for exact deduplication.
- ai.newnal.illi.family.member record Human-facing membership of one account in this home (rkey = the member DID), written by the root admin as a portable mirror of the Service Agent Node's role table.
- ai.newnal.illi.family.parentData record ILLI's own state of one parent's E04 data: how far each category has been entered, which questions were skipped or answered 'not sure', and the family's story answers. Record key = the parent slot (1 or 2). Written by the root admin's session into the root admin's repo of the family sphere; the parent's data itself are ai.newnal.mydata.* records in the parent's own repo (dev-spec 21 §4.2).
- ai.newnal.illi.family.parentSlot record One of the two parent slots of a home. Written by an admin into the admin's own repo; the Service Agent Node resolves one record per slot by the newest updatedAt.
- ai.newnal.illi.family.phoneIdentity record The author's Private Phone account, identified by its Matrix ID (the server name is part of the MXID). One account per person: a family member's appears in every family sphere the member belongs to, and parent 1's is the account the ILLI device calls with (parent 2 has none). Written by the Service Agent Node after phone.registerIdentity.
- ai.newnal.illi.family.phoneRoom record Registry entry for a Private Phone room of this home, written by the ILLI Service Agent Node with the root admin's session after it created the room through the Messaging Node's Admin API: the home's group room or a direct room between a member and parent 1.
- ai.newnal.illi.family.scheduleExtra record ILLI's additions to one schedule entry of a parent (ai.newnal.mydata.profileScheduleActivities): the alarm grade, the image shown on the device's alarm card, the sentence template the guardian filled, and the group that ties the two records of an entry made for both parents. Record key = the schedule entry's record key, a dot, and the parent slot (3n2…abc.1): one record per parent record of a grouped entry. Written by the root admin's session into the root admin's repo of the family sphere (dev-
- ai.newnal.illi.familyApp permission-set
- ai.newnal.illi.familyAppPrivate permission-set
- ai.newnal.illi.home.createInvite procedure Create an invite link (root admin). The token is shown once and delivered by hand.
- ai.newnal.illi.home.defs defs
- ai.newnal.illi.home.get query One home: device, parents, members; for the root admin also open invites, limits and sync status.
- ai.newnal.mydata.capabilitiesCertificationRecords record Evidence and original records for education, qualifications and licences (graduation, degree and grade certificates, original certificates and licences, and the like). recordType tells the subtypes apart, for example education_certificate (proof of a degree, graduation or completion), transcript (a grade transcript), certification (proof of a qualification or certification), license (proof of a licence). The structured education history is in capabilities.education and the structured information
- ai.newnal.mydata.capabilitiesCredentials record Structured information about held qualifications, licences and certifications (name, issuer, status, validity period). It is not a structure for keeping the originals of verifiable proofs (DID/VC and the like): original evidence and related material are referenced from the content of a capabilities.certificationRecords record. The same fact being in this information and in that evidence record is not duplication, and this information can be kept without an evidence record. Education history is n
- ai.newnal.mydata.capabilitiesEducation record An education summary and the structured education history. The summary (highestLevel, mainField) and the history (items) coexist as different expressions of the same facts; that does not mean they should be written to disagree, and judging an actual mismatch belongs to data quality management. Education history without evidence is kept here too. Evidence and original documents such as graduation, degree and grade certificates are kept in capabilities.certificationRecords, and the same fact being
- ai.newnal.mydata.capabilitiesProjects record The history of personal, professional and learning projects.
- ai.newnal.mydata.capabilitiesSkillsAndKnowledge record Proficiency in skills and knowledge and the context they are used in.
- ai.newnal.mydata.capabilitiesWork record A summary of the current occupation and the work history.
- ai.newnal.mydata.characterCommunicationStyle record The tone of speaking and writing and the communication tendencies the user actually shows day to day. The way the user wants services to communicate is kept in interactionPreferences.communication.
- ai.newnal.mydata.characterEmotionalPatterns record Usual mood, emotional and stress triggers, ways of regulating and coping, and preferences for non-medical support. These are general emotional traits and hold no medical information: diagnoses, health conditions and symptoms are kept in health.healthStatus, test and measurement results in health.observationActivities (bodySystem mental_health), medical care and treatment events in health.medicalEvents, medical documents in health.medicalRecords, and medications in health.medications.
- ai.newnal.mydata.characterPersonalTraits record The user's relatively lasting personal traits: personality, way of thinking, learning and planning tendencies, and behavioural traits. These are tendencies, not objective assessments of ability. Service-specific personality test frameworks and scores are not given structured fields; the user may record the analysis results of an external service as a self-description.
- ai.newnal.mydata.defs defs The shared defs of the mydata-core Lexicons.
- ai.newnal.mydata.dev.profile record Development stand-in for the Newnal platform's My Data profile record: generic personal data only, with no service-specific fields. One record per person per space, authored by the person it describes. Who entered or changed it on their behalf is recorded by the service that did so, in its own records (for ILLI: ai.newnal.illi.family.dataEntry). Replaced by the platform's ai.newnal.mydata.* schema when published.
- ai.newnal.mydata.healthAllergies record Allergies and intolerances the user has, with their allergens, reactions and severity. They are kept apart from health.healthStatus so that they can be shared on their own, for example with a food, medication or care service. Other health conditions and symptoms are kept in health.healthStatus, and food preferences and dislikes in interestsAndTastes.food.
- ai.newnal.mydata.healthBodyProfile record Body measurements and basic physical characteristics.
- ai.newnal.mydata.healthFunctionalAbilities record The general ability to perform bodily functions and everyday movements. It is not the same as a diagnosis or an official disability determination: health conditions and symptoms are kept in health.healthStatus, medical documents in health.medicalRecords, and accessibility preferences when using services in interactionPreferences.accessibility.
- ai.newnal.mydata.healthHealthStatus record A summary of current health and the health conditions and symptoms the user has. Each health condition or symptom is one item, so that one can be shared without the others. Allergies and intolerances are kept in health.allergies, and the medications taken in health.medications. Medical documents such as medical certificates and test result reports are kept in health.medicalRecords; the same fact being in both places is not duplication, and this summary can be kept without a medical record.
- ai.newnal.mydata.healthMedicalEvents record The history of medical events such as checkups and procedures.
- ai.newnal.mydata.healthMedicalRecords record Archived medical documents and health records. Structured health information such as the current health status is kept in health.healthStatus and the like, not here instead, and the same fact being in both places is not duplication. Item: one medical archive record.
- ai.newnal.mydata.healthMedications record Medications taken, with their purpose, dosage and status. The health conditions and symptoms treated with the medications are kept in health.healthStatus, and allergies in health.allergies.
- ai.newnal.mydata.healthObservationActivities record Health observation results obtained by tests and measurements.
- ai.newnal.mydata.interactionPreferencesAccessibility record Assistive devices and accessibility needs.
- ai.newnal.mydata.interactionPreferencesCommunication record The channels, languages, tone and way of conveying information the user wants when talking with services.
- ai.newnal.mydata.interactionPreferencesLocalization record The locale, units, currency and time zone to use for presentation.
- ai.newnal.mydata.interactionPreferencesNotifications record Notification preferences and service settings from the user's point of view: the time window in which the user wants to receive notifications, and the notification preferences by purpose, each of which is one item of this section. Actually sending notifications and applying these preferences is up to each service; this is not a security or access control policy enforced on every service.
- ai.newnal.mydata.interestsAndTastesFashion record Clothing style and fit preferences and dislikes. Each size worn, for clothing, shoes and the like, is one item of this section. Brand preferences are the items of lifestyle.shopping.
- ai.newnal.mydata.interestsAndTastesFavoriteCreators record The creators and content providers the user prefers, such as actors, singers, influencers and channels. Each one is one item, so one can be added, changed or removed without touching the others. Preferred works are kept in interestsAndTastes.favoriteWorks.
- ai.newnal.mydata.interestsAndTastesFavoriteWorks record The works the user prefers, such as films, music, albums and series. Each one is one item, so one can be added, changed or removed without touching the others. Preferred creators are kept in interestsAndTastes.favoriteCreators.
- ai.newnal.mydata.interestsAndTastesFood record Dietary rules and food preferences. Recurring eating habits are kept in lifestyle.habits, and food allergies and intolerances in health.allergies.
- ai.newnal.mydata.interestsAndTastesGeneral record General likes and dislikes about things that are hard to express in the other interestsAndTastes sections, such as animals and objects. Things that fit another interestsAndTastes section, such as hobbies, media, food, travel and fashion, are kept in that section.
- ai.newnal.mydata.interestsAndTastesHobbies record The frequency of and proficiency in hobby activities, and dislikes.
- ai.newnal.mydata.interestsAndTastesMedia record Preferred media genres and themes, and what is avoided. Preferred creators are kept in interestsAndTastes.favoriteCreators and preferred works in interestsAndTastes.favoriteWorks.
- ai.newnal.mydata.interestsAndTastesNews record The news the user wants to follow: how wide (local, national, international), which regions and countries, and which topics. An interest in a topic is not a view on it: political views are kept in valuesAndGoals.politics. Other media tastes are kept in interestsAndTastes.media.
- ai.newnal.mydata.interestsAndTastesTravel record Travel planning, budget and style, and dislikes.
- ai.newnal.mydata.lifestyleFrequentPlaces record Frequently visited places and their location information.
- ai.newnal.mydata.lifestyleHabits record Recurring lifestyle habits such as sleep, exercise, meals, consumption of indulgences and daily routines. They are lasting behaviour patterns, not exact schedules, and are written with a frequency and an approximate time of day. Schedules with a set date and time are kept in profile.scheduleActivities.
- ai.newnal.mydata.lifestyleHousehold record The home the user lives in and who they live with: the type of home, how it is held and the make-up of the household. The address is kept in profile.addresses and the people in relationships.people.
- ai.newnal.mydata.lifestyleMobility record Commuting and travel routes and modes of transport.
- ai.newnal.mydata.lifestyleShopping record The categories bought often and the way buying decisions are made. Each preferred brand is one item of this section, with the product areas in which it is preferred.
- ai.newnal.mydata.permissions permission-set
- ai.newnal.mydata.permissionsWriteProfile permission-set
- ai.newnal.mydata.permissionsWriteSensitive permission-set
- ai.newnal.mydata.permissionsWriteSpecial permission-set
- ai.newnal.mydata.permissionsWriteStandard permission-set
- ai.newnal.mydata.profileAddresses record Postal addresses for purposes such as delivery and residence. Item: one address.
- ai.newnal.mydata.profileBirth record When the user was born and the birthday they keep: the date of birth, or only the year when that is all that is known, and the birthday kept every year, which may be on a lunar calendar. It is apart from legal identity so that an age or a birthday can be shared without the legal name and nationality; the date registered on official documents is kept in profile.legalIdentity.
- ai.newnal.mydata.profileContactPoints record Contact points such as email addresses, phone numbers and accounts. Item: one contact point.
- ai.newnal.mydata.profileGenderIdentity record The gender identity the user states for themselves. Pronouns are kept in profile.identity, and legal identity in profile.legalIdentity.
- ai.newnal.mydata.profileHeritage record The cultural identity and the family and cultural roots the user states for themselves. Nationality is kept in profile.legalIdentity.
- ai.newnal.mydata.profileIdentity record The name, form of address, languages and pronouns the user expresses themselves with. The profile image is kept in profile.representation, birth and birthday in profile.birth, gender identity in profile.genderIdentity, relationship status in profile.relationshipStatus, and cultural identity and heritage in profile.heritage.
- ai.newnal.mydata.profileLegalIdentity record Structured facts about legal identity, as official documents state them: legal name, nationality and registered date of birth. The name the user goes by is kept in profile.identity and the actual birth in profile.birth. Archive records such as contracts and legal evidence are kept in profile.legalRecords; the same fact being in both places is not duplication, and these facts can be kept without an evidence record.
- ai.newnal.mydata.profileLegalRecords record Archive records for contracts, legal evidence and other legal matters. The structured facts of legal identity (legal name, nationality, date of birth) are kept in profile.legalIdentity, not here instead, and the same fact being in both places is not duplication. Item: one legal archive record.
- ai.newnal.pdn.server.createAppPassword procedure Create an App Password bound to an OAuth scope. Sessions created from it through com.atproto.server.createSession carry exactly the permissions of that scope, as an OAuth session would. Requires a full-access session.
- ai.newnal.pdn.server.createAttestedAccount procedure Create an account on behalf of a client attested by a trusted issuer. Authenticated with a service-auth JWT (iss = trusted issuer DID, aud = this PDN, lxm = this method, exp - iat <= 60 s, unique jti). No invite code, no captcha. Without handle the server generates a memorable one; without email the server stores the placeholder <label>@newnal.id. Returns a full session, like createAccount; clients that need a scoped session create a scoped app password with it.
- ai.newnal.pdn.server.listAppPasswords query List all App Passwords with their OAuth scope. An entry without scope is an unscoped app password created through com.atproto.server.createAppPassword.
- ai.newnal.pdn.server.suggestHandle query Suggest free, memorable English two-word handles under this PDN's service domain. A suggestion is not a reservation. Fewer handles than count may be returned; HandleGenerationFailed when none could be found.
- ai.newnal.trustsquare.chatMessage record not from the namespace authority A live-chat message in a Trust Square whose subject is a live stream.
- ai.newnal.trustsquare.comment record not from the namespace authority A comment in a Trust Square. Written only by identity-verified accounts.
- ai.newnal.trustsquare.defs defs What the account holder chose to reveal, signed by the verifier. `ageBand` and `gender` are derived from the verified identity and are therefore attested; `occupation` and `affiliation` are self-declared. With nothing disclosed, `displayName` is the masked form of the verified name.
- ai.newnal.trustsquare.getActorHistory query Everything an account wrote on Trust Square, newest first.
- ai.newnal.trustsquare.getActorProfile query Verification summary and stats for an account.
- ai.newnal.trustsquare.getChatMessages query Page through chat messages of a live Square (newest first by default).
- ai.newnal.trustsquare.getCommentThread query Fetch a comment with all of its replies.
- ai.newnal.trustsquare.getComments query List root comments of a Square with a few inline replies each.
- ai.newnal.trustsquare.getRecordProof query Fetch and verify the repository proof for a record: DID document, commit signature, MST inclusion.
- ai.newnal.trustsquare.getReplies query Page through replies under a root comment.
- ai.newnal.trustsquare.getSocialAccounts query Social accounts an actor has linked, in a stable platform order.
- ai.newnal.trustsquare.getSquare query Fetch one Square by AT-URI or short id.
- ai.newnal.trustsquare.getSquares query Squares across the service, most recently active first. Used to suggest other conversations to a reader; while few Squares exist this is the whole list rather than a ranked selection.
- ai.newnal.trustsquare.getSquaresByVideo query List Squares attached to a YouTube video.
- ai.newnal.trustsquare.getVerificationStatus query Current verification status of an account as known to the AppView.
- ai.newnal.trustsquare.moderationAction record not from the namespace authority A moderation action by a Square owner on content in their Square.
- ai.newnal.trustsquare.reaction record A like or dislike on a comment or chat message. One active reaction per author per subject; the AppView keeps the newest.
- ai.newnal.trustsquare.socialAccount record A social account the holder claims as theirs. The record key is the platform id, so a repository can hold at most one account per platform. `method` records how the claim was established: `mock` means it was auto-accepted by the mocked flow and proves nothing, so consumers must not present it as ownership-checked once real methods exist.
- ai.newnal.trustsquare.square record not from the namespace authority A Trust Square: a verified-only comment/chat space attached to one piece of external content.
- ai.newnal.trustsquare.verification record Public, PII-free proof that this account passed identity verification with the Newnal verifier. The attestation is a compact JWS signed by the issuer; the AppView rejects records whose signature or payload does not match.