# app.blots.viz.art

> A work of art. The canvas is assumed to be square. The top left corner is coordinate (0,0), and the bottom right is (1,1). If non-square canvases are implemented, the width will be 1, and the height will be measured relative to the width (e.g. 2 if the canvas is twice as tall as it is long).

- Kind: object
- Authority: viz.blots.app
- Lexicon: 1
- Published by [lexicons.blots.app](https://lexicon.garden/identity/did:plc:uhkdxgy6obtjmpow35nfqaoy), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uhkdxgy6obtjmpow35nfqaoy/app.blots.viz.art)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uhkdxgy6obtjmpow35nfqaoy/app.blots.viz.art/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uhkdxgy6obtjmpow35nfqaoy/app.blots.viz.art/analytics)

## Object (`app.blots.viz.art`)

Type: object

### Properties

- `bgFill` (union, required): The background fill.
  - One of: `app.blots.viz.color#srgb8`
- `blots` (array, required): The blots in this art, in order of lowest depth to highest.
  - Constraints: maxLength: 50
  - `items` (ref)
    - Reference: `app.blots.viz.blot`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A work of art. The canvas is assumed to be square. The top left corner is coordinate (0,0), and the bottom right is (1,1). If non-square canvases are implemented, the width will be 1, and the height will be measured relative to the width (e.g. 2 if the canvas is twice as tall as it is long).",
      "properties": {
        "bgFill": {
          "description": "The background fill.",
          "refs": [
            "app.blots.viz.color#srgb8"
          ],
          "type": "union"
        },
        "blots": {
          "description": "The blots in this art, in order of lowest depth to highest.",
          "items": {
            "ref": "app.blots.viz.blot",
            "type": "ref"
          },
          "maxLength": 50,
          "type": "array"
        }
      },
      "required": [
        "blots",
        "bgFill"
      ],
      "type": "object"
    }
  },
  "id": "app.blots.viz.art",
  "lexicon": 1
}
```
