Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4a8708c

Browse files
committed
Example JSON bugfixes
Removing a stray comma, and fixing "imgDataPng" to be "imgData", which is the name by which it is called multiple times in the surrounding text.
1 parent 41fb130 commit 4a8708c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎jsonschema-core.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@
487487
"single": {
488488
"$id": "#item",
489489
"type": "integer"
490-
},
490+
}
491491
}
492492
}
493493
]]>

‎jsonschema-hyperschema.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"authorId": {
140140
"type": "integer"
141141
},
142-
"imgDataPng": {
142+
"imgData": {
143143
"title": "Article Illustration (thumbnail)",
144144
"type": "string",
145145
"media": {
@@ -239,7 +239,7 @@
239239
},
240240
{
241241
"rel": "next",
242-
"href": "{next_id}"
242+
"href": "{nextId}"
243243
}
244244
]
245245
}
@@ -251,8 +251,8 @@
251251
<artwork>
252252
<![CDATA[
253253
{
254-
"id": "41",
255-
"next_id": "42"
254+
"id": 41,
255+
"nextId": 42
256256
}
257257
]]>
258258
</artwork>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /