# ai.newnal.mydata.permissionsWriteSpecial

- Kind: permission-set
- Authority: mydata.newnal.ai
- Lexicon: 1
- Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.permissionsWriteSpecial)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.permissionsWriteSpecial/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.mydata.permissionsWriteSpecial/analytics)

## Permission set (`ai.newnal.mydata.permissionsWriteSpecial`)

Type: permission-set

### Shown at sign-in

- `title` (string): MyData: write special data
- `detail` (string): Create, update and delete the ai.newnal.mydata records of the special sensitivity tier in your private sphere. It does not let the app read what is there.

### Permissions

- `space` (permission): Create, update and delete ai.newnal.mydata.healthAllergies, ai.newnal.mydata.healthBodyProfile, ai.newnal.mydata.healthFunctionalAbilities, ai.newnal.mydata.healthHealthStatus, ai.newnal.mydata.healthMedicalEvents, ai.newnal.mydata.healthMedicalRecords, ai.newnal.mydata.healthMedications, ai.newnal.mydata.healthObservationActivities, ai.newnal.mydata.interactionPreferencesAccessibility, ai.newnal.mydata.profileGenderIdentity, ai.newnal.mydata.profileHeritage, ai.newnal.mydata.profileLegalIdentity, ai.newnal.mydata.profileLegalRecords, ai.newnal.mydata.profileRepresentation, ai.newnal.mydata.profileTravelDocuments, ai.newnal.mydata.valuesAndGoalsPolitics and ai.newnal.mydata.valuesAndGoalsReligion records in the space self among your own ai.newnal.mydata.sphere.private spaces. From the Atproto Spaces proposal (0016); servers without it ignore space permissions.
  - Constraints: skey: self, collection: ai.newnal.mydata.healthAllergies, ai.newnal.mydata.healthBodyProfile, ai.newnal.mydata.healthFunctionalAbilities, ai.newnal.mydata.healthHealthStatus, ai.newnal.mydata.healthMedicalEvents, ai.newnal.mydata.healthMedicalRecords, ai.newnal.mydata.healthMedications, ai.newnal.mydata.healthObservationActivities, ai.newnal.mydata.interactionPreferencesAccessibility, ai.newnal.mydata.profileGenderIdentity, ai.newnal.mydata.profileHeritage, ai.newnal.mydata.profileLegalIdentity, ai.newnal.mydata.profileLegalRecords, ai.newnal.mydata.profileRepresentation, ai.newnal.mydata.profileTravelDocuments, ai.newnal.mydata.valuesAndGoalsPolitics, ai.newnal.mydata.valuesAndGoalsReligion, action: create, update, delete
  - Space type: `ai.newnal.mydata.sphere.private`

### Asking for it (OAuth scope)

- `include:ai.newnal.mydata.permissionsWriteSpecial` (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": "Create, update and delete the ai.newnal.mydata records of the special sensitivity tier in your private sphere. It does not let the app read what is there.",
      "permissions": [
        {
          "action": [
            "create",
            "update",
            "delete"
          ],
          "collection": [
            "ai.newnal.mydata.healthAllergies",
            "ai.newnal.mydata.healthBodyProfile",
            "ai.newnal.mydata.healthFunctionalAbilities",
            "ai.newnal.mydata.healthHealthStatus",
            "ai.newnal.mydata.healthMedicalEvents",
            "ai.newnal.mydata.healthMedicalRecords",
            "ai.newnal.mydata.healthMedications",
            "ai.newnal.mydata.healthObservationActivities",
            "ai.newnal.mydata.interactionPreferencesAccessibility",
            "ai.newnal.mydata.profileGenderIdentity",
            "ai.newnal.mydata.profileHeritage",
            "ai.newnal.mydata.profileLegalIdentity",
            "ai.newnal.mydata.profileLegalRecords",
            "ai.newnal.mydata.profileRepresentation",
            "ai.newnal.mydata.profileTravelDocuments",
            "ai.newnal.mydata.valuesAndGoalsPolitics",
            "ai.newnal.mydata.valuesAndGoalsReligion"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "ai.newnal.mydata.sphere.private",
          "type": "permission"
        }
      ],
      "title": "MyData: write special data",
      "type": "permission-set"
    }
  },
  "id": "ai.newnal.mydata.permissionsWriteSpecial",
  "lexicon": 1
}
```
