Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wiki] [Broken-Link] Link to address.schema.json is busted #1576

Open
rmkane opened this issue Dec 1, 2023 · 0 comments
Open

[Wiki] [Broken-Link] Link to address.schema.json is busted #1576

rmkane opened this issue Dec 1, 2023 · 0 comments

Comments

@rmkane
Copy link

rmkane commented Dec 1, 2023

The Getting Started article has a link to:

http://json-schema.org/learn/examples/address.schema.json

This file no longer exists. A capture from 2023-02-27 reveals the contents:

{
  "$id": "https://example.com/address.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "An address similar to http://microformats.org/wiki/h-card",
  "type": "object",
  "properties": {
    "post-office-box": {
      "type": "string"
    },
    "extended-address": {
      "type": "string"
    },
    "street-address": {
      "type": "string"
    },
    "locality": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "postal-code": {
      "type": "string"
    },
    "country-name": {
      "type": "string"
    }
  },
  "required": [ "locality", "region", "country-name" ],
  "dependentRequired": {
    "post-office-box": [ "street-address" ],
    "extended-address": [ "street-address" ]
  }
}

Instead, the schema can be found here:

https://json-schema.org/learn/json-schema-examples#address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant