types.artifact.com · Thing › CreativeWork › VisualArtwork › Marble

Marble

A glass marble drawn from a color and a seed (plans/12). The same record always draws the same marble.

Properties

PropertyExpectedDescription
nameTextThe name of the item.
baseColor requiredTextThe marble's color, as a hex value such as #2563eb.
secondColorTextA second color for the marble's core or swirls, as a hex value.
seed requiredIntegerA whole number from 0 to 4294967295 that, with the colors and style, fixes the drawing.
marbleStyleMarbleStyleHow the marble was made. One of SwirlMarble, CatseyeMarble, RibbonMarble.
swirlCountIntegerFor a swirl, one or two swirls of color.
versionNumber or TextThe version of the CreativeWork embodied by a specified resource.

Every property of VisualArtwork, CreativeWork, Thing applies too.

Media types

application/vnd.menagerie.marble+json (former; read, not written)

Example

{
  "@context": "https://types.artifact.com/context.jsonld",
  "@type": "Marble",
  "name": "Blue swirl",
  "baseColor": "#2563eb",
  "seed": 1934117,
  "marbleStyle": "SwirlMarble",
  "swirlCount": 2,
  "version": "1"
}

JSON Schema: Marble.schema.json

As JSON-LD: Marble.jsonld