Ubuntu Pastebin

Paste from csmith at Fri, 22 Sep 2017 19:13:02 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  "id": "zypper",
  "type": "object",
  "properties": {
        "zypper": {
            "type": "object"
            'properties': {
                'repos': {
                    'type': 'array',
                    'items': {
                        'type': 'object',
                        'properties': {
                            'id': {
                                'type': 'string',
                                'description': dedent("""\
                                    The unique id of the repo, used when writing
                                    /etc/zypp/repos.d/<id>.repo.""")
                            },
                            'baseurl': {
                                'type': 'string',
                                'format': 'uri'   # built-in format type
                                'description': 'The base repositoy URL'
                            }
                        },
                        'required': ['id', 'baseurl'],
                        'additionalProperties': True
                    },
                    'minItems': 1
                },
                'config': {
                    'type': 'object',
                    'description': 'Any supported zypo.conf key is written to /etc/zypp/zypp.conf'
                }
            }
            'required': [],
            'minProperties': 1,  # Either config or repo must be provided
            'additionalProperties': False, # only repos and config allowed
        }
    }
}
Download as text