Update some JSON schemas to be more compliant to the spec (#2136)
This commit is contained in:
parent
8b206e4d04
commit
84c9231a5e
@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "array",
|
||||
"description": "Data file containing kanji information.",
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "Information about a single kanji character.",
|
||||
"minItems": 4,
|
||||
|
@ -2,10 +2,11 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "array",
|
||||
"description": "Data file containing kanji information.",
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "Information about a single kanji character.",
|
||||
"minItems": 6,
|
||||
"additionalItems": false,
|
||||
"items": [
|
||||
{
|
||||
"type": "string",
|
||||
|
@ -26,10 +26,11 @@
|
||||
},
|
||||
"type": "array",
|
||||
"description": "Custom metadata for kanji characters.",
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "Metadata about a single kanji character.",
|
||||
"minItems": 3,
|
||||
"additionalItems": false,
|
||||
"items": [
|
||||
{
|
||||
"type": "string",
|
||||
|
@ -2,10 +2,11 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "array",
|
||||
"description": "Data file containing tag information for terms and kanji.",
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "Information about a single tag.",
|
||||
"minItems": 5,
|
||||
"additionalItems": false,
|
||||
"items": [
|
||||
{
|
||||
"type": "string",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "array",
|
||||
"description": "Data file containing term information.",
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "Information about a single term.",
|
||||
"minItems": 5,
|
||||
|
@ -302,10 +302,11 @@
|
||||
},
|
||||
"type": "array",
|
||||
"description": "Data file containing term information.",
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "Information about a single term.",
|
||||
"minItems": 8,
|
||||
"additionalItems": false,
|
||||
"items": [
|
||||
{
|
||||
"type": "string",
|
||||
|
@ -26,10 +26,11 @@
|
||||
},
|
||||
"type": "array",
|
||||
"description": "Custom metadata for terms.",
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "Metadata about a single term.",
|
||||
"minItems": 3,
|
||||
"additionalItems": false,
|
||||
"items": [
|
||||
{
|
||||
"type": "string",
|
||||
@ -97,7 +98,7 @@
|
||||
"pitches": {
|
||||
"type": "array",
|
||||
"description": "List of different pitch accent information for the term and reading combination.",
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"position"
|
||||
|
Loading…
Reference in New Issue
Block a user