Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
376 changes: 376 additions & 0 deletions PLAN.md

Large diffs are not rendered by default.

26,639 changes: 26,639 additions & 0 deletions public/schema/pathwayMetadata.v2.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions public/schema/scopeGeography.v2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,357 @@
<!doctype html>
<html lang="en">
<head>
<link
rel="stylesheet"
type="text/css"
href="https://fonts.googleapis.com/css?family=Overpass:300,400,600,800"
/>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"
></script>
<link
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"
></script>
<link
rel="stylesheet"
type="text/css"
href="schema_doc.css"
/>
<script src="https://use.fontawesome.com/facf9fa52c.js"></script>
<script src="schema_doc.min.js"></script>
<meta charset="utf-8" />

<title>Scope Geography</title>
</head>
<body
onload="anchorOnLoad()"
id="root"
>
<div class="text-right">
<button
class="btn btn-primary"
type="button"
data-toggle="collapse"
data-target=".collapse:not(.show)"
aria-expanded="false"
>
Expand all
</button>
<button
class="btn btn-primary"
type="button"
data-toggle="collapse"
data-target=".collapse.show"
aria-expanded="false"
>
Collapse all
</button>
</div>

<div class="breadcrumbs"></div>
<h1>Scope Geography</h1>
<br />
<span class="description"
><p>
The geography axis of a scoped keyFeatures entry: 'Global',
'cross-region', an ISO-3166-1 alpha-2 country code, or an author-defined
region label.
</p>
</span>
<div
class="all-of-value"
id="allOf"
>
<h2 class="handle">
<label>All of</label>
</h2>
<ul
class="nav nav-tabs"
id="tabsallOf_allOf"
role="tablist"
>
<li class="nav-item">
<a
class="nav-link active allOf-option"
id="allOf_i0"
data-toggle="tab"
href="#tab-pane_allOf_i0"
role="tab"
onclick="setAnchor('#allOf_i0')"
>Requirement 1</a
>
</li>
<li class="nav-item">
<a
class="nav-link allOf-option"
id="allOf_i1"
data-toggle="tab"
href="#tab-pane_allOf_i1"
role="tab"
onclick="setAnchor('#allOf_i1')"
>Requirement 2</a
>
</li>
</ul>
<div class="tab-content card">
<div
class="tab-pane fade card-body active show"
id="tab-pane_allOf_i0"
role="tabpanel"
>
<div class="breadcrumbs">
root
<svg
width="1em"
height="1em"
viewBox="0 0 16 16"
class="bi bi-arrow-right-short"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a
href="#allOf"
onclick="anchorLink('allOf')"
>allOf</a
>
<svg
width="1em"
height="1em"
viewBox="0 0 16 16"
class="bi bi-arrow-right-short"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a
href="#allOf_i0"
onclick="anchorLink('allOf_i0')"
>item 0</a
>
</div>
<span class="badge badge-dark value-type">Type: object</span><br />
<span
class="pattern-value"
id="allOf_i0_pattern"
>Must match regular expression: <code>^(?!\s*$).+</code></span
>
</div>
<div
class="tab-pane fade card-body"
id="tab-pane_allOf_i1"
role="tabpanel"
>
<div class="breadcrumbs">
root
<svg
width="1em"
height="1em"
viewBox="0 0 16 16"
class="bi bi-arrow-right-short"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a
href="#allOf"
onclick="anchorLink('allOf')"
>allOf</a
>
<svg
width="1em"
height="1em"
viewBox="0 0 16 16"
class="bi bi-arrow-right-short"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a
href="#allOf_i1"
onclick="anchorLink('allOf_i1')"
>item 1</a
>
</div>
<br />
<div class="not-value">
<h4>Must <strong>not</strong> be:</h4>
<div class="card">
<div
class="card-body"
id=""
>
<div class="breadcrumbs">
root
<svg
width="1em"
height="1em"
viewBox="0 0 16 16"
class="bi bi-arrow-right-short"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a
href="#allOf"
onclick="anchorLink('allOf')"
>allOf</a
>
<svg
width="1em"
height="1em"
viewBox="0 0 16 16"
class="bi bi-arrow-right-short"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a
href="#allOf_i1"
onclick="anchorLink('allOf_i1')"
>item 1</a
>
<svg
width="1em"
height="1em"
viewBox="0 0 16 16"
class="bi bi-arrow-right-short"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a
href="#allOf_i1_not"
onclick="anchorLink('allOf_i1_not')"
>not</a
>
</div>
<span class="badge badge-dark value-type">Type: object</span
><br />
<span
class="pattern-value"
id="allOf_i1_not_pattern"
>Must match regular expression:
<code>^[A-Za-z]{3}$</code></span
>
</div>
</div>
</div>
</div>
</div>
</div>

<p>
<span
class="badge badge-light restriction min-length-restriction"
id="minLength"
>Must be at least <code>1</code> characters long</span
>
</p>

<br />
<div class="badge badge-secondary">Examples:</div>
<br />
<div
id="root_ex1"
class="jumbotron examples"
>
<div class="highlight">
<pre><span></span><span class="s2">&quot;Global&quot;</span>
</pre>
</div>
</div>
<div
id="root_ex2"
class="jumbotron examples"
>
<div class="highlight">
<pre><span></span><span class="s2">&quot;cross-region&quot;</span>
</pre>
</div>
</div>
<div
id="root_ex3"
class="jumbotron examples"
>
<div class="highlight">
<pre><span></span><span class="s2">&quot;South East Asia&quot;</span>
</pre>
</div>
</div>
<div
id="root_ex4"
class="jumbotron examples"
>
<div class="highlight">
<pre><span></span><span class="s2">&quot;Asia Pacific&quot;</span>
</pre>
</div>
</div>
<div
id="root_ex5"
class="jumbotron examples"
>
<div class="highlight">
<pre><span></span><span class="s2">&quot;TH&quot;</span>
</pre>
</div>
</div>
<div
id="root_ex6"
class="jumbotron examples"
>
<div class="highlight">
<pre><span></span><span class="s2">&quot;US&quot;</span>
</pre>
</div>
</div>

<footer>
<p class="generated-by-footer">
Generated using
<a href="https://github.com/coveooss/json-schema-for-humans"
>json-schema-for-humans</a
>
</p>
</footer>
</body>
</html>
Loading