# PhotographyRenditionPreviewDto

Source: https://frameleaf.app/docs/api/schema/PhotographyRenditionPreviewDto/

```json
{
  "additionalProperties": false,
  "properties": {
    "background": {
      "default": "dark",
      "enum": [
        "light",
        "dark"
      ],
      "type": "string"
    },
    "orientation": {
      "default": "landscape",
      "enum": [
        "portrait",
        "landscape"
      ],
      "type": "string"
    },
    "watermark": {
      "additionalProperties": false,
      "properties": {
        "alignment": {
          "default": "center",
          "enum": [
            "left",
            "center",
            "right"
          ],
          "type": "string"
        },
        "backing": {
          "default": false,
          "type": "boolean"
        },
        "color": {
          "default": "#ffffff",
          "pattern": "^#[\\da-fA-F]{6}$",
          "type": "string"
        },
        "font": {
          "default": "script",
          "enum": [
            "script",
            "serif",
            "sans"
          ],
          "type": "string"
        },
        "logoAssetId": {
          "default": null,
          "format": "uuid",
          "nullable": true,
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
          "type": "string"
        },
        "logoPosition": {
          "default": "above",
          "enum": [
            "above",
            "below",
            "left",
            "right"
          ],
          "type": "string"
        },
        "logoScale": {
          "default": 1,
          "maximum": 4,
          "minimum": 0.25,
          "type": "number"
        },
        "logoVariant": {
          "default": "original",
          "enum": [
            "original",
            "light",
            "dark"
          ],
          "type": "string"
        },
        "margin": {
          "default": 4,
          "maximum": 25,
          "minimum": 0,
          "type": "number"
        },
        "opacity": {
          "default": 45,
          "maximum": 100,
          "minimum": 1,
          "type": "number"
        },
        "outline": {
          "default": false,
          "type": "boolean"
        },
        "pattern": {
          "default": "signature",
          "enum": [
            "signature",
            "centre",
            "diagonal",
            "tile"
          ],
          "type": "string"
        },
        "position": {
          "default": "bottom-right",
          "enum": [
            "top-left",
            "top-right",
            "bottom-left",
            "bottom-right",
            "center"
          ],
          "type": "string"
        },
        "rotation": {
          "default": 0,
          "maximum": 180,
          "minimum": -180,
          "type": "number"
        },
        "secondLine": {
          "default": "",
          "maxLength": 200,
          "type": "string"
        },
        "size": {
          "default": 6,
          "maximum": 30,
          "minimum": 1,
          "type": "number"
        },
        "spacing": {
          "default": 6,
          "maximum": 100,
          "minimum": 0,
          "type": "number"
        },
        "text": {
          "maxLength": 200,
          "minLength": 1,
          "type": "string"
        },
        "type": {
          "default": "text",
          "enum": [
            "text",
            "logo",
            "both"
          ],
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    }
  },
  "required": [
    "watermark"
  ],
  "type": "object"
}
```
