# app.cosmosis.galaxyMember

> A single account inside the owner's Galaxy. Lives inside the Galaxy's Space; the parent Galaxy is implied, since each account has exactly one Galaxy and each Galaxy Space holds exactly one Galaxy record. Delete this record to remove the account from the Galaxy. The record key SHOULD be the subject's DID when that DID is a valid record key (true for all did:plc and most did:web identifiers); otherwise use a tid. There must be at most one galaxyMember per subject, and readers must still de-duplicate by `subject`.

- Kind: record
- Record key: any
- Authority: cosmosis.app
- Lexicon: 1
- Published by [cosmosis.app](https://lexicon.garden/identity/did:plc:ahyfb4aosesmcpkc34kmc6mo), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ahyfb4aosesmcpkc34kmc6mo/app.cosmosis.galaxyMember)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ahyfb4aosesmcpkc34kmc6mo/app.cosmosis.galaxyMember/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ahyfb4aosesmcpkc34kmc6mo/app.cosmosis.galaxyMember/analytics)

## Record (`app.cosmosis.galaxyMember`)

Type: record · key any

### Properties

- `createdAt` (string · datetime, required)
- `source` (string): How the account entered the Galaxy: `inferred` means the user accepted a suggestion from Galaxy inference; `manual` means the user added it directly. Lets re-inference avoid clobbering manual edits.
  - Constraints: knownValues: inferred | manual
- `subject` (string · did, required): The DID of the account in the Galaxy.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single account inside the owner's Galaxy. Lives inside the Galaxy's Space; the parent Galaxy is implied, since each account has exactly one Galaxy and each Galaxy Space holds exactly one Galaxy record. Delete this record to remove the account from the Galaxy. The record key SHOULD be the subject's DID when that DID is a valid record key (true for all did:plc and most did:web identifiers); otherwise use a tid. There must be at most one galaxyMember per subject, and readers must still de-duplicate by `subject`.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "source": {
            "description": "How the account entered the Galaxy: `inferred` means the user accepted a suggestion from Galaxy inference; `manual` means the user added it directly. Lets re-inference avoid clobbering manual edits.",
            "knownValues": [
              "inferred",
              "manual"
            ],
            "type": "string"
          },
          "subject": {
            "description": "The DID of the account in the Galaxy.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.cosmosis.galaxyMember",
  "lexicon": 1
}
```
