~orndorffgrant/ubuntu-motd/aptnews-pkg-selectors

« back to all changes in this revision

Viewing changes to aptnews-schema.json

  • Committer: Grant Orndorff
  • Date: 2024-04-26 20:26:21 UTC
  • Revision ID: grant.orndorff@canonical.com-20240426202621-16d78i978i5mbfl1
add new selectors to apt-news schema

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
                            },
33
33
                            "pro": {
34
34
                                "type": "boolean"
 
35
                            },
 
36
                            "architectures": {
 
37
                                "type": "array",
 
38
                                "items": {
 
39
                                    "type": "string"
 
40
                                }
 
41
                            },
 
42
                            "packages": {
 
43
                                "type": "array",
 
44
                                "items": {
 
45
                                    "type": "array",
 
46
                                    "minItems": 3,
 
47
                                    "maxItems": 3,
 
48
                                    "prefixItems": [
 
49
                                        {
 
50
                                            "type": "string"
 
51
                                        },
 
52
                                        {
 
53
                                            "enum": [
 
54
                                                "<",
 
55
                                                "<=",
 
56
                                                "==",
 
57
                                                ">=",
 
58
                                                ">"
 
59
                                            ]
 
60
                                        },
 
61
                                        {
 
62
                                            "type": "string"
 
63
                                        }
 
64
                                    ]
 
65
                                }
35
66
                            }
36
67
                        },
37
68
                        "additionalProperties": false