net.wireservice.component.photo

wireservice.net

Documentation

Photo component. Semantically distinct from image: used for photographs rather than illustrations or graphics. Same properties as image.

main object

Photo component. Semantically distinct from image: used for photographs rather than illustrations or graphics. Same properties as image.

Properties

accessibilityCaption string Optional

Accessibility description for screen readers.

maxLength: 20000 bytesmaxGraphemes: 2000 graphemes
explicitContent boolean Optional

No description available.

hidden boolean Optional

No description available.

identifier string Optional

No description available.

maxLength: 256 bytes
image blob Optional

No description available.

maxSize: 5.0 MB
layout string Optional

No description available.

maxLength: 256 bytes
style string Optional

No description available.

maxLength: 256 bytes
url string uri Optional

External URL for the photo.

View raw schema
{
  "description": "Photo component. Semantically distinct from image: used for photographs rather than illustrations or graphics. Same properties as image.",
  "properties": {
    "accessibilityCaption": {
      "description": "Accessibility description for screen readers.",
      "maxGraphemes": 2000,
      "maxLength": 20000,
      "type": "string"
    },
    "aspectRatio": {
      "ref": "net.wireservice.defs#aspectRatio",
      "type": "ref"
    },
    "caption": {
      "description": "Visible caption as an array of text runs with optional formatting marks.",
      "items": {
        "ref": "net.wireservice.defs#textRun",
        "type": "ref"
      },
      "type": "array"
    },
    "explicitContent": {
      "type": "boolean"
    },
    "hidden": {
      "type": "boolean"
    },
    "identifier": {
      "maxLength": 256,
      "type": "string"
    },
    "image": {
      "accept": [
        "image/jpeg",
        "image/png",
        "image/webp",
        "image/gif"
      ],
      "maxSize": 5000000,
      "type": "blob"
    },
    "layout": {
      "maxLength": 256,
      "type": "string"
    },
    "style": {
      "maxLength": 256,
      "type": "string"
    },
    "url": {
      "description": "External URL for the photo.",
      "format": "uri",
      "type": "string"
    }
  },
  "required": [
    "aspectRatio"
  ],
  "type": "object"
}

Lexicon Garden

@