twitst4tz

twitter statistics web application
Log | Files | Refs | README | LICENSE

hyper-schema (1198B)


      1 {
      2 	"$schema" : "http://json-schema.org/draft-01/hyper-schema#",
      3 	"id" : "http://json-schema.org/draft-01/hyper-schema#",
      4 
      5 	"properties" : {
      6 		"links" : {
      7 			"type" : "array",
      8 			"items" : {"$ref" : "http://json-schema.org/draft-01/links#"},
      9 			"optional" : true
     10 		},
     11 		
     12 		"fragmentResolution" : {
     13 			"type" : "string",
     14 			"optional" : true,
     15 			"default" : "dot-delimited"
     16 		},
     17 		
     18 		"root" : {
     19 			"type" : "boolean",
     20 			"optional" : true,
     21 			"default" : false
     22 		},
     23 		
     24 		"readonly" : {
     25 			"type" : "boolean",
     26 			"optional" : true,
     27 			"default" : false
     28 		},
     29 		
     30 		"pathStart" : {
     31 			"type" : "string",
     32 			"optional" : true,
     33 			"format" : "uri"
     34 		},
     35 		
     36 		"mediaType" : {
     37 			"type" : "string",
     38 			"optional" : true,
     39 			"format" : "media-type"
     40 		},
     41 		
     42 		"alternate" : {
     43 			"type" : "array",
     44 			"items" : {"$ref" : "#"},
     45 			"optional" : true
     46 		}
     47 	},
     48 	
     49 	"links" : [
     50 		{
     51 			"href" : "{$ref}",
     52 			"rel" : "full"
     53 		},
     54 		
     55 		{
     56 			"href" : "{$schema}",
     57 			"rel" : "describedby"
     58 		},
     59 		
     60 		{
     61 			"href" : "{id}",
     62 			"rel" : "self"
     63 		}
     64 	],
     65 	
     66 	"fragmentResolution" : "dot-delimited",
     67 	"extends" : {"$ref" : "http://json-schema.org/draft-01/schema#"}
     68 }