Skip to content

Commit a3c219e

Browse files
committed
URI fix
Signed-off-by: Clemens Vasters <clemens@vasters.com>
1 parent e80c12b commit a3c219e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

json-structure-primer.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ Example:
233233

234234
```json
235235
{
236-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
236+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
237237
"$defs" : {
238238
"AddressBase": {
239239
"abstract": true,
@@ -285,7 +285,7 @@ applied to any _StreetAddress_ types in a document:
285285

286286
```json
287287
{
288-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
288+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
289289
"$id": "https://schemas.vasters.com/Addresses",
290290
"$root": "#/$defs/StreetAddress",
291291
"$offers": {
@@ -416,7 +416,7 @@ Here is an example of a simple object type definition:
416416

417417
```json
418418
{
419-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
419+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
420420
"type": "object",
421421
"name": "Person",
422422
"properties": {
@@ -446,7 +446,7 @@ types:
446446

447447
```json
448448
{
449-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
449+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
450450
"type": "object",
451451
"name": "UserProfile",
452452
"properties": {
@@ -475,7 +475,7 @@ type cannot be referenced from other types in the schema.
475475

476476
```json
477477
{
478-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
478+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
479479
"type": "object",
480480
"name": "UserProfile",
481481
"properties": {
@@ -508,7 +508,7 @@ can be referenced by other types in the same document. Here is an example:
508508

509509
```json
510510
{
511-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
511+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
512512
"type": "object",
513513
"name": "UserProfile",
514514
"properties": {
@@ -549,7 +549,7 @@ namespaces to structure your types, with two differing `Address` types:
549549

550550
```json
551551
{
552-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
552+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
553553
"type": "object",
554554
"name": "UserProfile",
555555
"properties": {
@@ -592,7 +592,7 @@ from defining an object:
592592

593593
```json
594594
{
595-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
595+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
596596
"type": "array",
597597
"items": { "type": "string" }
598598
}
@@ -603,7 +603,7 @@ reference the type from elsewhere in the schema:
603603

604604
```json
605605
{
606-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
606+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
607607
"type": "array",
608608
"items": {
609609
"type": "object",
@@ -621,7 +621,7 @@ To declare an array of a reusable type, you can use the `$ref` keyword:
621621

622622
```json
623623
{
624-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
624+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
625625
"type": "array",
626626
"items": { "type" : { "$ref": "#/$defs/Person" } },
627627
"$defs": {
@@ -645,7 +645,7 @@ This example shows how to declare a map of strings to `Color` objects:
645645

646646
```json
647647
{
648-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
648+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
649649
"type": "map",
650650
"values": { "type": { "$ref": "#/$defs/Color" } },
651651
"$defs": {
@@ -682,7 +682,7 @@ This example shows how to declare a set of strings:
682682

683683
```json
684684
{
685-
"$schema": "https://json-structure.github.io/meta/core//v0/#",
685+
"$schema": "https://json-structure.github.io/meta/core/v0/#",
686686
"type": "set",
687687
"items": { "type": "string" }
688688
}
@@ -724,7 +724,7 @@ Here is an example of how to use the `altnames` keyword:
724724

725725
```json
726726
{
727-
"$schema": "https://json-structure.github.io/meta/extended//v0/#",
727+
"$schema": "https://json-structure.github.io/meta/extended/v0/#",
728728
"$uses": ["Altnames"],
729729
"Person": {
730730
"type": "object",
@@ -779,7 +779,7 @@ Here is an example of how to use the `altenums` keyword:
779779

780780
```json
781781
{
782-
"$schema": "https://json-structure.github.io/meta/extended//v0/#",
782+
"$schema": "https://json-structure.github.io/meta/extended/v0/#",
783783
"$uses": ["Altnames"],
784784
"type": "object",
785785
"name": "Color",
@@ -822,7 +822,7 @@ Here is an example of how to use the `unit` keyword:
822822

823823
```json
824824
{
825-
"$schema": "https://json-structure.github.io/meta/extended//v0/#",
825+
"$schema": "https://json-structure.github.io/meta/extended/v0/#",
826826
"$uses": ["Units"],
827827
"type": "object",
828828
"name": "Pressure",
@@ -848,7 +848,7 @@ Here is an example of how to use the `currency` keyword:
848848

849849
```json
850850
{
851-
"$schema": "https://json-structure.github.io/meta/extended//v0/#",
851+
"$schema": "https://json-structure.github.io/meta/extended/v0/#",
852852
"$uses": ["Units"],
853853
"type": "object",
854854
"name": "Price",

0 commit comments

Comments
 (0)