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
| Property | Expected | Description |
|---|---|---|
| name | Text | The name of the item. |
| baseColor required | Text | The marble's color, as a hex value such as #2563eb. |
| secondColor | Text | A second color for the marble's core or swirls, as a hex value. |
| seed required | Integer | A whole number from 0 to 4294967295 that, with the colors and style, fixes the drawing. |
| marbleStyle | MarbleStyle | How the marble was made. One of SwirlMarble, CatseyeMarble, RibbonMarble. |
| swirlCount | Integer | For a swirl, one or two swirls of color. |
| version | Number or Text | The 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