generated from vecorel/extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.yaml
More file actions
33 lines (33 loc) · 713 Bytes
/
schema.yaml
File metadata and controls
33 lines (33 loc) · 713 Bytes
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
$schema: https://vecorel.org/sdl/v0.2.0/schema.json
# extensions:
# - https://fiboa.org/specification/v0.3.0/schema.yaml
# - https://vecorel.org/administrative-division-extension/v0.1.0/schema.yaml
required:
- category
- determination:method
- determination:datetime
- admin:country_code
- admin:subdivision_code
- ml:boundary_type
- ml:creation_date
- ml:verified_from
- ml:author
properties:
ml:boundary_type:
type: string
enum:
- field
- parcel
- hedge
- other
ml:creation_date:
type: date
ml:verified_from:
type: date
ml:author:
type: string
ml:admin2:
type: string
minLength: 1
maxLength: 2
pattern: ^[A-Z0-9]{1,2}$