-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.schema
More file actions
58 lines (55 loc) · 1.3 KB
/
metadata.schema
File metadata and controls
58 lines (55 loc) · 1.3 KB
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
51
52
53
54
55
56
57
58
/*
* A JSON Schema DSL for the metadata objects produced by LAPPS services
* to describe themselves.
*
* Version: 1.1.0
*/
title "LAPPS Service Metadata"
description "Metadata about LAPPS services"
type object
definitions {
encoding {
type string
}
uri {
type string
format 'uri'
}
arrayOfStrings {
type array
items { type string }
}
map {
type object
additionalProperties true
}
// The input/output requirements of the service.
io {
type object
properties {
annotations { $ref '#/definitions/arrayOfStrings' }
encoding { $ref '#/definitions/encoding' }
format { $ref '#/definitions/arrayOfStrings' }
language { $ref '#/definitions/arrayOfStrings' }
tagSets { $ref '#/definitions/map'}
}
additionalProperties true
}
}
additionalProperties false
properties {
'@context' { $ref '#/definitions/uri' }
'@vocab' { $ref '#/definitions/uri' }
allow { $ref '#/definitions/uri' }
'$schema' { $ref '#/definitions/uri' }
license { $ref '#/definitions/uri' }
licenseDesc { type string }
description { type string }
name { type string }
produces { $ref "#/definitions/io" }
requires { $ref "#/definitions/io" }
vendor { $ref '#/definitions/uri' }
version { type string }
toolVersion { type string }
}
required '$schema', "name", "produces", "requires", "version"