workstations and light theme
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"$id": "https://scuroneko.dev/schemas/links.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"key": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"tone": {
|
||||
"$ref": "./shared.schema.json#/$defs/tone"
|
||||
},
|
||||
"url": {
|
||||
"format": "uri",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["key", "name", "label", "url", "tone"],
|
||||
"type": "object"
|
||||
},
|
||||
"title": "Links",
|
||||
"type": "array"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$id": "https://scuroneko.dev/schemas/projects.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"description": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"links": {
|
||||
"additionalProperties": {
|
||||
"format": "uri",
|
||||
"type": "string"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"stack": {
|
||||
"items": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array",
|
||||
"uniqueItems": true
|
||||
},
|
||||
"status": {
|
||||
"enum": ["active", "archive", "wip", "paused"],
|
||||
"type": "string"
|
||||
},
|
||||
"tone": {
|
||||
"$ref": "./shared.schema.json#/$defs/tone"
|
||||
}
|
||||
},
|
||||
"required": ["key", "name", "description", "stack", "status", "tone"],
|
||||
"type": "object"
|
||||
},
|
||||
"title": "Projects",
|
||||
"type": "array"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$defs": {
|
||||
"tone": {
|
||||
"enum": [
|
||||
"blue",
|
||||
"gold",
|
||||
"mint",
|
||||
"purple",
|
||||
"red",
|
||||
"cyan",
|
||||
"green",
|
||||
"pink",
|
||||
"teal",
|
||||
"lime",
|
||||
"rose"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"$id": "https://scuroneko.dev/schemas/shared.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Shared schema definitions"
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$id": "https://scuroneko.dev/schemas/stack.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"hide": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"key": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"tags": {
|
||||
"items": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array",
|
||||
"uniqueItems": true
|
||||
},
|
||||
"tone": {
|
||||
"$ref": "./shared.schema.json#/$defs/tone"
|
||||
},
|
||||
"years": {
|
||||
"minimum": 0,
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": ["key", "name", "tone", "years"],
|
||||
"type": "object"
|
||||
},
|
||||
"title": "Stack",
|
||||
"type": "array"
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"$id": "https://scuroneko.dev/schemas/workstations.schema.json",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"actual": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"devices": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"key": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["key", "name"],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"key": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"specs": {
|
||||
"properties": {
|
||||
"cpu": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"gpu": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"os": {
|
||||
"type": "string"
|
||||
},
|
||||
"ram": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"storage": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"capacity": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["name", "capacity"],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"tone": {
|
||||
"$ref": "./shared.schema.json#/$defs/tone"
|
||||
}
|
||||
},
|
||||
"required": ["key", "name", "tone"],
|
||||
"type": "object"
|
||||
},
|
||||
"title": "Workstations",
|
||||
"type": "array"
|
||||
}
|
||||
Reference in New Issue
Block a user