Files
jobtrackingapp/docs/i18n/00/LOCALE_SCHEMA.json
T

82 lines
1.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Research-only locale catalogue; no release authority",
"type": "object",
"additionalProperties": false,
"required": [
"baseline",
"status",
"locales"
],
"properties": {
"baseline": {
"const": "5cb903b989742b7a96cb22ddf4c0e24993b18980"
},
"status": {
"const": "research-draft"
},
"locales": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"tag",
"ownerRole",
"reviewer",
"status",
"surfaces"
],
"properties": {
"tag": {
"type": "string",
"pattern": "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$"
},
"ownerRole": {
"const": "localisation-product-owner"
},
"reviewer": {
"type": "null"
},
"status": {
"const": "planned"
},
"surfaces": {
"type": "object",
"additionalProperties": false,
"required": [
"ui",
"backend",
"communications",
"documents",
"jobDiscovery",
"marketing"
],
"properties": {
"ui": {
"const": "planned"
},
"backend": {
"const": "planned"
},
"communications": {
"const": "planned"
},
"documents": {
"const": "planned"
},
"jobDiscovery": {
"const": "planned"
},
"marketing": {
"const": "planned"
}
}
}
}
}
}
}
}