-
Notifications
You must be signed in to change notification settings - Fork 4
/
cdn_maps.schema.yaml
50 lines (50 loc) · 1.01 KB
/
cdn_maps.schema.yaml
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
41
42
43
44
45
46
47
48
49
50
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://maps-metadata.beyondallreason.dev/latest/cdn_maps.schema.json
title: CDNMaps
description: Map download info from springfiles API.
type: array
items:
type: array
items:
title: MapCDNInfo
type: object
properties:
springname:
type: string
filename:
type: string
pattern: '^[^ ]+\.(sd7|sdz)$'
md5:
type: string
pattern: '^[0-9a-f]{32}$'
category:
const: 'map'
tags:
type: array
items:
type: string
uniqueItems: true
size:
type: integer
timestamp:
type: string
format: date-time
mirrors:
type: array
items:
type: string
format: uri
minItems: 1
required:
- springname
- filename
- md5
- category
- tags
- size
- timestamp
- mirrors
additionalProperties: true
minItems: 1
maxItems: 1
minItems: 1