site.mochott.comic.defs

tokimeki.blue

Documentation

aspectRatio object

No description available.

Properties

height integer Required

No description available.

minimum: 1
width integer Required

No description available.

minimum: 1
View raw schema
{
  "properties": {
    "height": {
      "minimum": 1,
      "type": "integer"
    },
    "width": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "width",
    "height"
  ],
  "type": "object"
}
bounds object

Rectangle on an image in ten-thousandths of its width and height (0-10000), origin top left.

Properties

height integer Required

No description available.

minimum: 1maximum: 10000
width 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
{
  "description": "Rectangle on an image in ten-thousandths of its width and height (0-10000), origin top left.",
  "properties": {
    "height": {
      "maximum": 10000,
      "minimum": 1,
      "type": "integer"
    },
    "width": {
      "maximum": 10000,
      "minimum": 1,
      "type": "integer"
    },
    "x": {
      "maximum": 10000,
      "minimum": 0,
      "type": "integer"
    },
    "y": {
      "maximum": 10000,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "x",
    "y",
    "width",
    "height"
  ],
  "type": "object"
}
category string

Series category, e.g. fantasy or sliceOfLife.

ConstraintsmaxLength: 640 bytes, maxGraphemes: 64 graphemes
View raw schema
{
  "description": "Series category, e.g. fantasy or sliceOfLife.",
  "maxGraphemes": 64,
  "maxLength": 640,
  "type": "string"
}
credit object

A person credited on the work.

Properties

did string did Optional

A decentralized identifier (DID).

displayName string Required

No description available.

maxLength: 1000 bytesmaxGraphemes: 100 graphemes
role string Required

No description available.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
Known values: writer, penciler, inker, colorist, flats, letterer, cover, creator, editor, editorInChief, associateEditor, assistantEditor, designer, artist, translator, painter, backgrounds
View raw schema
{
  "description": "A person credited on the work.",
  "properties": {
    "did": {
      "format": "did",
      "type": "string"
    },
    "displayName": {
      "maxGraphemes": 100,
      "maxLength": 1000,
      "type": "string"
    },
    "role": {
      "knownValues": [
        "writer",
        "penciler",
        "inker",
        "colorist",
        "flats",
        "letterer",
        "cover",
        "creator",
        "editor",
        "editorInChief",
        "associateEditor",
        "assistantEditor",
        "designer",
        "artist",
        "translator",
        "painter",
        "backgrounds"
      ],
      "maxGraphemes": 64,
      "maxLength": 640,
      "type": "string"
    }
  },
  "required": [
    "displayName",
    "role"
  ],
  "type": "object"
}
localizedAlt object

Alt text in one language: describes the art and transcribes dialogue, captions and sound effects.

Properties

lang string language Required

BCP-47 language tag.

text string Required

No description available.

maxLength: 100000 bytesmaxGraphemes: 10000 graphemes
View raw schema
{
  "description": "Alt text in one language: describes the art and transcribes dialogue, captions and sound effects.",
  "properties": {
    "lang": {
      "description": "BCP-47 language tag.",
      "format": "language",
      "type": "string"
    },
    "text": {
      "maxGraphemes": 10000,
      "maxLength": 100000,
      "type": "string"
    }
  },
  "required": [
    "lang",
    "text"
  ],
  "type": "object"
}
localizedDescription object

A description in one language.

Properties

lang string language Required

BCP-47 language tag.

text string Required

No description available.

maxLength: 30000 bytesmaxGraphemes: 3000 graphemes
View raw schema
{
  "description": "A description in one language.",
  "properties": {
    "lang": {
      "description": "BCP-47 language tag.",
      "format": "language",
      "type": "string"
    },
    "text": {
      "maxGraphemes": 3000,
      "maxLength": 30000,
      "type": "string"
    }
  },
  "required": [
    "lang",
    "text"
  ],
  "type": "object"
}
localizedImage object

An image in one language.

Properties

image blob Required

The image.

maxSize: 4.2 MB
lang string language Required

BCP-47 language tag.

View raw schema
{
  "description": "An image in one language.",
  "properties": {
    "image": {
      "accept": [
        "image/jpeg",
        "image/png",
        "image/webp",
        "image/avif"
      ],
      "description": "The image.",
      "maxSize": 4194304,
      "type": "blob"
    },
    "lang": {
      "description": "BCP-47 language tag.",
      "format": "language",
      "type": "string"
    }
  },
  "required": [
    "image",
    "lang"
  ],
  "type": "object"
}
localizedShortDescription object

A short blurb in one language.

Properties

lang string language Required

BCP-47 language tag.

text string Required

No description available.

maxLength: 2550 bytesmaxGraphemes: 255 graphemes
View raw schema
{
  "description": "A short blurb in one language.",
  "properties": {
    "lang": {
      "description": "BCP-47 language tag.",
      "format": "language",
      "type": "string"
    },
    "text": {
      "maxGraphemes": 255,
      "maxLength": 2550,
      "type": "string"
    }
  },
  "required": [
    "lang",
    "text"
  ],
  "type": "object"
}
localizedText object

Text in one language.

Properties

lang string language Required

BCP-47 language tag.

text string Required

No description available.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
View raw schema
{
  "description": "Text in one language.",
  "properties": {
    "lang": {
      "description": "BCP-47 language tag.",
      "format": "language",
      "type": "string"
    },
    "text": {
      "maxGraphemes": 1000,
      "maxLength": 10000,
      "type": "string"
    }
  },
  "required": [
    "lang",
    "text"
  ],
  "type": "object"
}
localizedTitle object

A title in one language.

Properties

lang string language Required

BCP-47 language tag.

text string Required

No description available.

maxLength: 1000 bytesmaxGraphemes: 100 graphemes
View raw schema
{
  "description": "A title in one language.",
  "properties": {
    "lang": {
      "description": "BCP-47 language tag.",
      "format": "language",
      "type": "string"
    },
    "text": {
      "maxGraphemes": 100,
      "maxLength": 1000,
      "type": "string"
    }
  },
  "required": [
    "lang",
    "text"
  ],
  "type": "object"
}
minisiteCategory object

A reference to a category defined in a site.mochott.minisite record.

Properties

minisite string at-uri Required

AT URI of the site.mochott.minisite record.

slug string Required

Slug of a category in that minisite.

maxLength: 64 bytes
View raw schema
{
  "description": "A reference to a category defined in a site.mochott.minisite record.",
  "properties": {
    "minisite": {
      "description": "AT URI of the site.mochott.minisite record.",
      "format": "at-uri",
      "type": "string"
    },
    "slug": {
      "description": "Slug of a category in that minisite.",
      "maxLength": 64,
      "type": "string"
    }
  },
  "required": [
    "minisite",
    "slug"
  ],
  "type": "object"
}
panel object

A panel on a page or strip, in reading order. All fields are optional; a panel without bounds carries alt text for the whole image.

Properties

mask blob Optional

Black and white PNG of the exact panel shape, covering its bounds.

maxSize: 4.2 MB
transition string Optional

How a panel-by-panel reader moves to this panel.

maxLength: 64 bytes
Known values: none, pan, fade, zoom
View raw schema
{
  "description": "A panel on a page or strip, in reading order. All fields are optional; a panel without bounds carries alt text for the whole image.",
  "properties": {
    "alt": {
      "description": "Alt text for the panel.",
      "items": {
        "ref": "site.mochott.comic.defs#localizedAlt",
        "type": "ref"
      },
      "maxLength": 100,
      "type": "array"
    },
    "background": {
      "description": "Fill around the panel when reading panel by panel.",
      "ref": "site.mochott.comic.defs#rgba",
      "type": "ref"
    },
    "bounds": {
      "ref": "site.mochott.comic.defs#bounds",
      "type": "ref"
    },
    "mask": {
      "accept": [
        "image/png"
      ],
      "description": "Black and white PNG of the exact panel shape, covering its bounds.",
      "maxSize": 4194304,
      "type": "blob"
    },
    "transition": {
      "description": "How a panel-by-panel reader moves to this panel.",
      "knownValues": [
        "none",
        "pan",
        "fade",
        "zoom"
      ],
      "maxLength": 64,
      "type": "string"
    }
  },
  "type": "object"
}
rgba object

Color; a is opacity from 0 to 100.

Properties

a integer Required

No description available.

minimum: 0maximum: 100
b integer Required

No description available.

minimum: 0maximum: 255
g integer Required

No description available.

minimum: 0maximum: 255
r integer Required

No description available.

minimum: 0maximum: 255
View raw schema
{
  "description": "Color; a is opacity from 0 to 100.",
  "properties": {
    "a": {
      "maximum": 100,
      "minimum": 0,
      "type": "integer"
    },
    "b": {
      "maximum": 255,
      "minimum": 0,
      "type": "integer"
    },
    "g": {
      "maximum": 255,
      "minimum": 0,
      "type": "integer"
    },
    "r": {
      "maximum": 255,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "r",
    "g",
    "b",
    "a"
  ],
  "type": "object"
}
sequentialWork object

Points a site.standard.document (content union) at the canonical comic it announces.

Properties

series string at-uri Optional

AT URI of the work.sequential.series.

work string at-uri Required

AT URI of the work.sequential.chapter or work.sequential.strip.

View raw schema
{
  "description": "Points a site.standard.document (content union) at the canonical comic it announces.",
  "properties": {
    "series": {
      "description": "AT URI of the work.sequential.series.",
      "format": "at-uri",
      "type": "string"
    },
    "work": {
      "description": "AT URI of the work.sequential.chapter or work.sequential.strip.",
      "format": "at-uri",
      "type": "string"
    }
  },
  "required": [
    "work"
  ],
  "type": "object"
}
tag string

Free-form tag without a leading #.

ConstraintsmaxLength: 640 bytes, maxGraphemes: 64 graphemes
View raw schema
{
  "description": "Free-form tag without a leading #.",
  "maxGraphemes": 64,
  "maxLength": 640,
  "type": "string"
}
version object

Another version of the same artwork.

Properties

image blob Required

The version image.

maxSize: 4.2 MB
kind string Required

Production stage or treatment.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
Known values: thumbnails, layout, roughs, pencils, lineart, inks, flats, colors, letters
View raw schema
{
  "description": "Another version of the same artwork.",
  "properties": {
    "image": {
      "accept": [
        "image/jpeg",
        "image/png",
        "image/webp",
        "image/avif"
      ],
      "description": "The version image.",
      "maxSize": 4194304,
      "type": "blob"
    },
    "kind": {
      "description": "Production stage or treatment.",
      "knownValues": [
        "thumbnails",
        "layout",
        "roughs",
        "pencils",
        "lineart",
        "inks",
        "flats",
        "colors",
        "letters"
      ],
      "maxGraphemes": 64,
      "maxLength": 640,
      "type": "string"
    }
  },
  "required": [
    "image",
    "kind"
  ],
  "type": "object"
}

Lexicon Garden

@