# ai.newnal.illi.familyAppPrivate

- Kind: permission-set
- Authority: 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.familyAppPrivate)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.familyAppPrivate/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.familyAppPrivate/analytics)

## Permission set (`ai.newnal.illi.familyAppPrivate`)

Type: permission-set

### Shown at sign-in

- `title` (string): ILLI family app: your private data
- `detail` (string): Keep your ILLI secrets (your Private Phone key, and, for a root admin, your parents' account credentials) in your own Private Sphere. Used only by the app on your phone.

### Permissions

- `space` (permission): Not granted: ai.newnal.private is outside ai.newnal.illi, and a permission set can only grant its own group.
  - Constraints: authority: self, skey: self, collection: ai.newnal.illi.private.parentCredential, ai.newnal.illi.private.phoneKey, ai.newnal.illi.private.custodyKey, action: read, create, update, delete, manage: create, update, delete
  - Space type: `ai.newnal.private`

### Asking for it (OAuth scope)

- `include:ai.newnal.illi.familyAppPrivate` (scope): A client asks for this permission set with this scope. The scope builder lists what the set grants.
  - Scope builder: `Open in the scope builder`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "detail": "Keep your ILLI secrets (your Private Phone key, and, for a root admin, your parents' account credentials) in your own Private Sphere. Used only by the app on your phone.",
      "permissions": [
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "authority": "self",
          "collection": [
            "ai.newnal.illi.private.parentCredential",
            "ai.newnal.illi.private.phoneKey",
            "ai.newnal.illi.private.custodyKey"
          ],
          "manage": [
            "create",
            "update",
            "delete"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "ai.newnal.private",
          "type": "permission"
        }
      ],
      "title": "ILLI family app: your private data",
      "type": "permission-set"
    }
  },
  "id": "ai.newnal.illi.familyAppPrivate",
  "lexicon": 1
}
```
