-
Notifications
You must be signed in to change notification settings - Fork 2
/
EntryPoint.json
executable file
·65 lines (65 loc) · 1.68 KB
/
EntryPoint.json
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
59
60
61
62
63
64
65
{
"type": "EntryPoint",
"derivedFrom": "https://schema.org/EntryPoint",
"hasId": false,
"requiredFields": [
"type",
"encodingType",
"httpMethod",
"urlTemplate"
],
"inSpec": [
"type",
"encodingType",
"httpMethod",
"urlTemplate"
],
"fields": {
"encodingType": {
"fieldName": "encodingType",
"sameAs": "https://schema.org/encodingType",
"requiredType": "https://schema.org/Text",
"requiredContent": "application/vnd.openactive.v0.4+json",
"example": "application/vnd.openactive.v0.4+json",
"description": [
"The supported encoding type for an EntryPoint request"
]
},
"httpMethod": {
"fieldName": "httpMethod",
"sameAs": "https://schema.org/httpMethod",
"requiredType": "https://schema.org/Text",
"example": "POST",
"options": [
"GET",
"POST",
"PUT",
"HEAD",
"DELETE",
"PATCH",
"OPTIONS"
],
"description": [
"An HTTP method that specifies the appropriate HTTP method for a request to an HTTP EntryPoint. Values are capitalized strings as used in HTTP."
]
},
"type": {
"fieldName": "type",
"requiredType": "https://schema.org/Text",
"requiredContent": "EntryPoint",
"description": [
"The type of object, in this case EntryPoint"
],
"example": "EntryPoint"
},
"urlTemplate": {
"fieldName": "urlTemplate",
"sameAs": "https://schema.org/urlTemplate",
"requiredType": "https://schema.org/urlTemplate",
"example": "https://example.com/orders{/var}",
"description": [
"URL of the item"
]
}
}
}