forked from unicode-org/conformance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add schema for verification files (unicode-org#195)
- Loading branch information
Showing
4 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/unicode/conformance/collation_short_verify_schema.json'", | ||
"title": "ICU Collation verify data description", | ||
"description": "This documents format of collation short verify data", | ||
"type": "object", | ||
"properties": { | ||
"additionalProperties": false, | ||
"verifications": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"label": { | ||
"description": "A numeric ID, unique for the set of tests", | ||
"type": "string" | ||
}, | ||
"verify": { | ||
"description": "The expected value for the test result", | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"label", | ||
"verify" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/unicode/conformance/language_name_verify_schema.json'", | ||
"title": "ICU Language Name verify data description", | ||
"description": "This documents format of language name verify data", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"verifications": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"label": { | ||
"description": "A numeric ID, unique for the set of tests", | ||
"type": "string" | ||
}, | ||
"verify": { | ||
"description": "The expected value for the test result", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"label", | ||
"verify" | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/unicode/conformance/likely_subtags_verify_schema.json'", | ||
"title": "ICU Likely subtags verify data description", | ||
"description": "This documents format of likely subtags verify data", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"verifications": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"label": { | ||
"description": "A numeric ID, unique for the set of tests", | ||
"type": "string" | ||
}, | ||
"verify": { | ||
"description": "The expected value for the test result", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"label", | ||
"verify" | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/unicode/conformance/number_format__verify_schema.json'", | ||
"title": "ICU Number format verify data description", | ||
"description": "This documents format of number format verify data", | ||
"type": "object", | ||
"properties": { | ||
"additionalProperties": false, | ||
"verifications": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"label": { | ||
"description": "A numeric ID, unique for the set of tests", | ||
"type": "string" | ||
}, | ||
"verify": { | ||
"description": "The expected value for the test result", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"label", | ||
"verify" | ||
] | ||
} | ||
} | ||
} | ||
} |