types.artifact.com · Thing › CreativeWork › Palette
Palette
An ordered set of colors, each with a value and an optional name.
Properties
| Property | Expected | Description |
|---|---|---|
| name required | Text | The name of the item. |
| colors required | Color | The palette's colors, in order. The order is part of the palette. |
| description | Text or TextObject | A description of the item. |
| creator | Organization or Person | The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork. |
| keywords | DefinedTerm or Text or URL | Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property. |
| url | URL | URL of the item. |
Every property of CreativeWork, Thing applies too.
Media types
text/vnd.menagerie.colors (former; read, not written)
Example
{
"@context": "https://types.artifact.com/context.jsonld",
"@type": "Palette",
"name": "Herbarium",
"colors": [
{
"@type": "Color",
"colorValue": "#1f5a3f",
"name": "Forest"
},
{
"@type": "Color",
"colorValue": "oklch(94% 0.02 110)",
"name": "Paper"
},
{
"@type": "Color",
"colorValue": "#c2410c",
"name": "Rust"
}
]
}JSON Schema: Palette.schema.json
As JSON-LD: Palette.jsonld