Skip to content

Commit 7d148ae

Browse files
committed
Fix spelling and markup.
1 parent 7d154dc commit 7d148ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/latest/json-ld-api-best-practices/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<body>
3333
<section id='abstract'>
3434
<p>
35-
Developers share a common problem: they want a simple, but extensible way to create an API for a web service that gets the job done, doesn't design them into a corner, and allows developers to easily interact with their service without reinventing the wheel. JSON-LD [[JSON-LD]] has become an important solution, as it bridges the gap between formally data and more coloquial JSON interfaces used in APIs from numerous providers. This guide attempts to define certain best practices for publishing data using JSON-LD, and interacting with such services.
35+
Developers share a common problem: they want a simple, but extensible way to create an API for a web service that gets the job done, doesn't design them into a corner, and allows developers to easily interact with their service without reinventing the wheel. JSON-LD [[JSON-LD]] has become an important solution, as it bridges the gap between formally data and more colloquial JSON interfaces used in APIs from numerous providers. This guide attempts to define certain best practices for publishing data using JSON-LD, and interacting with such services.
3636
</p>
3737
</section>
3838

@@ -126,7 +126,7 @@ <h2>Resource Representation</h2>
126126
}
127127
]
128128
</pre>
129-
<p>Expanded form is not useful as is, but is necessary for performing further algorithmic transformaions of JSON-LD data and is useful when validating that JSON-LD entity descriptions say what the publisher means.</p>
129+
<p>Expanded form is not useful as is, but is necessary for performing further algorithmic transformations of JSON-LD data and is useful when validating that JSON-LD entity descriptions say what the publisher means.</p>
130130
</div>
131131
</div>
132132

@@ -137,7 +137,7 @@ <h2>Resource Representation</h2>
137137

138138
<div class="practice">
139139
<p><span id="top-level-object" class="practicelab">Use a top-level object</span></p>
140-
<p class="practicedesc">JSON documents may be in the form of a object, or an array of objects. For most purposes, develpers need a single entrypoint, so the JSON SHOULD be in the form of a single top-level object</p>
140+
<p class="practicedesc">JSON documents may be in the form of a object, or an array of objects. For most purposes, developers need a single entry point, so the JSON SHOULD be in the form of a single top-level object</p>
141141
</div>
142142

143143
<div class="practice">
@@ -153,7 +153,7 @@ <h2>Resource Representation</h2>
153153
<div class="practice">
154154
<p><span id="typed-objects" class="practicelab">Provide one or more types for JSON objects</span></p>
155155
<p class="practicedesc">Principles of <a>Linked Data</a> dictate that messages SHOULD be self describing, which includes adding a <code>type</code> to such messages.</p>
156-
<p>Many APIs use JSON messages where the type of information being conveyed is inferred from the retreaval endpoint. For example, when retrieving information about a Github Commit, you might see the following response:</p>
156+
<p>Many APIs use JSON messages where the type of information being conveyed is inferred from the retrieval endpoint. For example, when retrieving information about a Github Commit, you might see the following response:</p>
157157
<pre class="example" title="Github Commit message">
158158
{
159159
"sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
@@ -292,7 +292,7 @@ <h2>Resource Representation</h2>
292292
<pre class="example" title="Example enumerated value">
293293
{
294294
"@context": ["http://schema.org", <strong>{
295-
<strong>"gender": {"@id": "schema:gender", "@type": "@vocab"}</strong>
295+
"gender": {"@id": "schema:gender", "@type": "@vocab"}
296296
}</strong>],
297297
"id": "https://www.wikidata.org/wiki/Q76",
298298
"type": "Person",

0 commit comments

Comments
 (0)