Welcome to mirror list, hosted at ThFree Co, Russian Federation.

links « draft-04 « json-schema « node_modules - github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6c06d2930f71e6d7a99c0addb871afec8ca084bf (plain)
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
{
	"$schema" : "http://json-schema.org/draft-04/hyper-schema#",
	"id" : "http://json-schema.org/draft-04/links#",
	"type" : "object",
	
	"properties" : {
		"rel" : {
			"type" : "string"
		},

		"href" : {
			"type" : "string"
		},

		"template" : {
			"type" : "string"
		},
		
		"targetSchema" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"},
		
		"method" : {
			"type" : "string",
			"default" : "GET"
		},
		
		"enctype" : {
			"type" : "string"
		},
		
		"properties" : {
			"type" : "object",
			"additionalProperties" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"}
		}
	},
	
	"required" : ["rel", "href"],
	
	"dependencies" : {
		"enctype" : "method"
	}
}