Skip to content

Commit

Permalink
Fix hyper-schema syntax error.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurie71 committed Mar 2, 2011
1 parent b1d463a commit 7000235
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions draft-03/hyper-schema
@@ -1,60 +1,60 @@
{
"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
"extends" : {"$ref" : "http://json-schema.org/draft-03/schema#"}
"extends" : {"$ref" : "http://json-schema.org/draft-03/schema#"},
"id" : "http://json-schema.org/draft-03/hyper-schema#",

"properties" : {
"links" : {
"type" : "array",
"items" : {"$ref" : "http://json-schema.org/draft-03/links#"}
},

"fragmentResolution" : {
"type" : "string",
"default" : "slash-delimited"
},

"root" : {
"type" : "boolean",
"default" : false
},

"readonly" : {
"type" : "boolean",
"default" : false
},

"contentEncoding" : {
"type" : "string"
},

"pathStart" : {
"type" : "string",
"format" : "uri"
},

"mediaType" : {
"type" : "string",
"format" : "media-type"
}
},

"links" : [
{
"href" : "{id}",
"rel" : "self"
},

{
"href" : "{$ref}",
"rel" : "full"
},

{
"href" : "{$schema}",
"rel" : "describedby"
}
],

"fragmentResolution" : "slash-delimited"
}
}

0 comments on commit 7000235

Please sign in to comment.