Skip to content

Commit

Permalink
Merge pull request #633 from ergebnis/fix/links
Browse files Browse the repository at this point in the history
Fix: Links to documentation
  • Loading branch information
localheinz committed Jan 21, 2022
2 parents 0214800 + ef8da57 commit 3658b93
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/SchemaNormalizer.php
Expand Up @@ -142,7 +142,7 @@ private function normalizeArray(
$itemSchema = $schema->items;

/**
* @see https://spacetelescope.github.io/understanding-json-schema/reference/array.html#tuple-validation
* @see https://json-schema.org/understanding-json-schema/reference/array.html#tuple-validation
*/
if (\is_array($itemSchema)) {
return \array_map(function ($item, \stdClass $itemSchema) {
Expand All @@ -154,7 +154,7 @@ private function normalizeArray(
}

/**
* @see https://spacetelescope.github.io/understanding-json-schema/reference/array.html#list-validation
* @see https://json-schema.org/understanding-json-schema/reference/array.html#list-validation
*/
return \array_map(function ($item) use ($itemSchema) {
return $this->normalizeData(
Expand Down Expand Up @@ -223,7 +223,7 @@ private function resolveSchema(
\stdClass $schema
): \stdClass {
/**
* @see https://spacetelescope.github.io/understanding-json-schema/reference/combining.html#anyof
* @see https://json-schema.org/understanding-json-schema/reference/combining.html#anyof
*/
if (
\property_exists($schema, 'anyOf')
Expand All @@ -246,7 +246,7 @@ private function resolveSchema(
}

/**
* @see https://spacetelescope.github.io/understanding-json-schema/reference/combining.html#oneof
* @see https://json-schema.org/understanding-json-schema/reference/combining.html#oneof
*/
if (
\property_exists($schema, 'oneOf')
Expand All @@ -269,7 +269,7 @@ private function resolveSchema(
}

/**
* @see https://spacetelescope.github.io/understanding-json-schema/structuring.html#reuse
* @see https://json-schema.org/understanding-json-schema/structuring.html#reuse
*/
if (
\property_exists($schema, '$ref')
Expand Down

0 comments on commit 3658b93

Please sign in to comment.