Skip to content

Instantly share code, notes, and snippets.

@Wintus
Last active August 27, 2023 08:02
Show Gist options
  • Save Wintus/88a68d8b0421e9ff192ab7285845e79f to your computer and use it in GitHub Desktop.
Save Wintus/88a68d8b0421e9ff192ab7285845e79f to your computer and use it in GitHub Desktop.
SKK dictionary
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SKK-dict",
"required": ["name", "version", "license", "entries"],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"license": {
"type": "string"
},
"entries": {
"type": "array",
"items": {
"required": ["source", "okuri", "candidates"],
"properties": {
"source": {
"type": "string",
"description": "変換元"
},
"okuri": {
"type": "boolean",
"description": "送り仮名の有無"
},
"candidates": {
"type": "array",
"description": "変換候補",
"items": {
"required": ["candidate"],
"properties": {
"candidate": {
"type": "string"
},
"annotation": {
"type": "string"
},
"annotation_category": {
"type": "string"
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment