so.sprk.embed.defs

sprk.so

Documentation

embeds array

No description available.

View raw schema
{
  "type": "array",
  "items": {
    "refs": [
      "so.sprk.embed.mention",
      "so.sprk.embed.record"
    ],
    "type": "union"
  }
}
frame object

Bounding box in 10,000-based normalized coordinates relative to media canvas dimensions.

Properties

h integer Required

No description available.

minimum: 1maximum: 10000
w integer Required

No description available.

minimum: 1maximum: 10000
x integer Required

No description available.

minimum: 0maximum: 10000
y integer Required

No description available.

minimum: 0maximum: 10000
View raw schema
{
  "type": "object",
  "required": [
    "x",
    "y",
    "w",
    "h"
  ],
  "properties": {
    "h": {
      "type": "integer",
      "maximum": 10000,
      "minimum": 1
    },
    "w": {
      "type": "integer",
      "maximum": 10000,
      "minimum": 1
    },
    "x": {
      "type": "integer",
      "maximum": 10000,
      "minimum": 0
    },
    "y": {
      "type": "integer",
      "maximum": 10000,
      "minimum": 0
    }
  },
  "description": "Bounding box in 10,000-based normalized coordinates relative to media canvas dimensions."
}
mediaRef object

Optional media locator for records containing multiple media items.

Properties

index integer Required

No description available.

minimum: 0
View raw schema
{
  "type": "object",
  "required": [
    "index"
  ],
  "properties": {
    "index": {
      "type": "integer",
      "minimum": 0
    }
  },
  "description": "Optional media locator for records containing multiple media items."
}
placement object

Placement and layer metadata for an embed on a media canvas.

Properties

frame ref #frame Required

No description available.

mediaRef ref #mediaRef Optional

No description available.

rotation integer Optional

No description available.

minimum: 0maximum: 359
zIndex integer Optional

No description available.

minimum: 0
View raw schema
{
  "type": "object",
  "required": [
    "frame"
  ],
  "properties": {
    "frame": {
      "ref": "#frame",
      "type": "ref"
    },
    "zIndex": {
      "type": "integer",
      "minimum": 0
    },
    "mediaRef": {
      "ref": "#mediaRef",
      "type": "ref"
    },
    "rotation": {
      "type": "integer",
      "maximum": 359,
      "minimum": 0
    }
  },
  "description": "Placement and layer metadata for an embed on a media canvas."
}
views array

No description available.

View raw schema
{
  "type": "array",
  "items": {
    "refs": [
      "so.sprk.embed.mention#view",
      "so.sprk.embed.record#view"
    ],
    "type": "union"
  }
}

Lexicon Garden

@