fyi.opensocial.embed.images

lexicons.opensocial.fyi

Documentation

main object

No description available.

Properties

images array of ref#image Required

No description available.

maxLength: 4 itemsminLength: 1 items
View raw schema
{
  "properties": {
    "images": {
      "items": {
        "ref": "#image",
        "type": "ref"
      },
      "maxLength": 4,
      "minLength": 1,
      "type": "array"
    }
  },
  "required": [
    "images"
  ],
  "type": "object"
}
aspectRatio object

Width to height, so a page can make room for it before it loads.

Properties

height integer Required

No description available.

minimum: 1
width integer Required

No description available.

minimum: 1
View raw schema
{
  "description": "Width to height, so a page can make room for it before it loads.",
  "properties": {
    "height": {
      "minimum": 1,
      "type": "integer"
    },
    "width": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "width",
    "height"
  ],
  "type": "object"
}
image object

No description available.

Properties

alt string Required

What it shows, for anyone who can't see it.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
aspectRatio ref #aspectRatio Optional

No description available.

image blob Required

No description available.

maxSize: 1.0 MB
View raw schema
{
  "properties": {
    "alt": {
      "description": "What it shows, for anyone who can't see it.",
      "maxGraphemes": 1000,
      "maxLength": 10000,
      "type": "string"
    },
    "aspectRatio": {
      "ref": "#aspectRatio",
      "type": "ref"
    },
    "image": {
      "accept": [
        "image/*"
      ],
      "maxSize": 1000000,
      "type": "blob"
    }
  },
  "required": [
    "image",
    "alt"
  ],
  "type": "object"
}

Lexicon Garden

@