MediaWiki:AppsCampaignConfig/schema.json: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
DBrant (WMF) (talk | contribs) Initial attempt at a Json Schema. |
DBrant (WMF) (talk | contribs) m Add format annotations. |
||
(One intermediate revision by the same user not shown) | |||
Line 15:
"version": {
"description": "Version number of this structure, to be incremented when a significant change to the schema is made.",
"type": "
},
"start_time": {
"type": "string",
"format": "date-time"
},
"end_time": {
"type": "string",
"format": "date-time"
},
"countries": {
Line 90 ⟶ 92:
"additionalProperties": false
}
},
"required": [
"id",
"version",
"start_time",
"end_time",
"countries",
"platforms",
"assets"
]
}
}
|
Latest revision as of 17:45, 4 January 2024
$schema | "https://json-schema.org/draft/2020-12/schema" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
$id | "https://donate.wikimedia.org/wiki/MediaWiki:AppsCampaignConfig/schema.json" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | "Apps Campaign Configuration" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | "List of campaign announcements to be shown in apps." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "array" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
items |
|