# app.brightblur.face.shares

> Every share one manager adopted for one photo in this profile space (decision 17). The record key is the photo's payload context in hex.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.face.shares)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.face.shares/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.face.shares/analytics)

## Record (`app.brightblur.face.shares`)

Type: record · key any

### Properties

- `photographer` (string · did): Who took the photo, as the adopting manager learned it, so a later re-issue can keep the photographer's access (decision 7).
- `shares` (array, required)
  - Constraints: minLength: 1, maxLength: 512
  - `items` (ref)
    - Reference: `#adoptedShare`

## #adoptedShare (`app.brightblur.face.shares#adoptedShare`)

Type: object

### Properties

- `circleWrap` (bytes, required)
  - Constraints: minLength: 1, maxLength: 1280
- `faceIndex` (integer, required)
  - Constraints: minimum: 0, maximum: 1
- `faces` (array, required)
  - Constraints: minLength: 1, maxLength: 2
  - `items` (ref)
    - Reference: `app.brightblur.face.defs#setHeaderFace`
- `managerId` (string · did, required)
- `photographerWrap` (bytes, required)
  - Constraints: minLength: 1, maxLength: 1280
- `shareIndex` (integer, required)
  - Constraints: minimum: 0, maximum: 4294967295
- `signature` (bytes, required)
  - Constraints: minLength: 64, maxLength: 64
- `sliceBinding` (bytes, required): The slice binding: entity id (16) ‖ payload context (16) ‖ SHA-256 of the plaintext base (32).
  - Constraints: minLength: 64, maxLength: 64

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "adoptedShare": {
      "properties": {
        "circleWrap": {
          "maxLength": 1280,
          "minLength": 1,
          "type": "bytes"
        },
        "faceIndex": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "faces": {
          "items": {
            "ref": "app.brightblur.face.defs#setHeaderFace",
            "type": "ref"
          },
          "maxLength": 2,
          "minLength": 1,
          "type": "array"
        },
        "managerId": {
          "format": "did",
          "type": "string"
        },
        "photographerWrap": {
          "maxLength": 1280,
          "minLength": 1,
          "type": "bytes"
        },
        "shareIndex": {
          "maximum": 4294967295,
          "minimum": 0,
          "type": "integer"
        },
        "signature": {
          "maxLength": 64,
          "minLength": 64,
          "type": "bytes"
        },
        "sliceBinding": {
          "description": "The slice binding: entity id (16) ‖ payload context (16) ‖ SHA-256 of the plaintext base (32).",
          "maxLength": 64,
          "minLength": 64,
          "type": "bytes"
        }
      },
      "required": [
        "sliceBinding",
        "faces",
        "faceIndex",
        "shareIndex",
        "managerId",
        "circleWrap",
        "photographerWrap",
        "signature"
      ],
      "type": "object"
    },
    "main": {
      "description": "Every share one manager adopted for one photo in this profile space (decision 17). The record key is the photo's payload context in hex.",
      "key": "any",
      "record": {
        "properties": {
          "photographer": {
            "description": "Who took the photo, as the adopting manager learned it, so a later re-issue can keep the photographer's access (decision 7).",
            "format": "did",
            "type": "string"
          },
          "shares": {
            "items": {
              "ref": "#adoptedShare",
              "type": "ref"
            },
            "maxLength": 512,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "shares"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.face.shares",
  "lexicon": 1
}
```
