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 required properties. |
||
Line 90: | Line 90: | ||
"additionalProperties": false |
"additionalProperties": false |
||
} |
} |
||
} |
}, |
||
"required": [ |
|||
"id", |
|||
"version", |
|||
"start_time", |
|||
"end_time", |
|||
"countries", |
|||
"platforms", |
|||
"assets" |
|||
] |
|||
} |
} |
||
} |
} |
Revision as of 16:09, 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 |
|