logsdx
Version:
<div align="center"><img alt="logsdx" width="300" src="https://github.com/user-attachments/assets/cc2a3b55-5bfd-44e8-a330-bfa146b50059" /></div>
64 lines • 1.74 kB
JSON
{
"$ref": "$defs/token",
"$defs": {
"token": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The actual text content of the token"
},
"metadata": {
"type": "object",
"properties": {
"style": {
"type": "object",
"properties": {
"color": {
"type": "string",
"minLength": 1
},
"styleCodes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"bold",
"italic",
"underline",
"dim",
"blink",
"reverse",
"strikethrough"
]
}
},
"htmlStyleFormat": {
"type": "string",
"enum": [
"css",
"className"
],
"description": "HTML style format"
}
},
"required": [
"color"
],
"additionalProperties": false,
"description": "Styling information for this token"
}
},
"additionalProperties": {},
"description": "Additional token metadata including style information"
}
},
"required": [
"content"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"version": "0.1.1"
}