# ai.newnal.illi.parent.get

> The parents of a home with their slot names and My Data profiles.

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

## Query (`ai.newnal.illi.parent.get`)

Type: query · GET

### Parameters (query string)

- `homeId` (string · tid, required)

### Output (application/json)

- `parents` (array, required)
  - `items` (ref)
    - Reference: `#parentWithProfile`

### Errors

- `NotMember`: No description in schema.
- `HomeNotFound`: No description in schema.

## #entry (`ai.newnal.illi.parent.get#entry`)

Type: object

### Properties

- `createdAt` (string · datetime)
- `enteredBy` (string · did)
- `note` (string)
- `source` (string)

## #parentWithProfile (`ai.newnal.illi.parent.get#parentWithProfile`)

Type: object

### Properties

- `delegation` (string)
  - Constraints: knownValues: ok | unavailable | none
- `honorific` (string)
- `linked` (boolean, required)
- `linkedDid` (string · did)
- `linkedHandle` (string · handle)
- `name` (string)
- `photoUrl` (string)
- `profile` (ref)
  - Reference: `#profile`
- `slot` (integer, required)

## #profile (`ai.newnal.illi.parent.get#profile`)

Type: object

The parent's basic profile from the platform's profileIdentity, profileBirth and profileRepresentation records in the parent's repo; absent until one exists.

### Properties

- `birthCalendar` (string)
- `birthDate` (string)
- `entry` (ref)
  - Reference: `#entry`
- `name` (string)
- `photoUrl` (string)
- `updatedAt` (string · datetime)
- `uri` (string · at-uri): The parent's profileIdentity record.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "enteredBy": {
          "format": "did",
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "The parents of a home with their slot names and My Data profiles.",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "HomeNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "parents": {
              "items": {
                "ref": "#parentWithProfile",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "parents"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "homeId": {
            "format": "tid",
            "type": "string"
          }
        },
        "required": [
          "homeId"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "parentWithProfile": {
      "properties": {
        "delegation": {
          "knownValues": [
            "ok",
            "unavailable",
            "none"
          ],
          "type": "string"
        },
        "honorific": {
          "type": "string"
        },
        "linked": {
          "type": "boolean"
        },
        "linkedDid": {
          "format": "did",
          "type": "string"
        },
        "linkedHandle": {
          "format": "handle",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "photoUrl": {
          "type": "string"
        },
        "profile": {
          "ref": "#profile",
          "type": "ref"
        },
        "slot": {
          "type": "integer"
        }
      },
      "required": [
        "slot",
        "linked"
      ],
      "type": "object"
    },
    "profile": {
      "description": "The parent's basic profile from the platform's profileIdentity, profileBirth and profileRepresentation records in the parent's repo; absent until one exists.",
      "properties": {
        "birthCalendar": {
          "type": "string"
        },
        "birthDate": {
          "type": "string"
        },
        "entry": {
          "ref": "#entry",
          "type": "ref"
        },
        "name": {
          "type": "string"
        },
        "photoUrl": {
          "type": "string"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "uri": {
          "description": "The parent's profileIdentity record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.illi.parent.get",
  "lexicon": 1
}
```
