github.com/kaptinlin/jsonschema@v0.4.6/testdata/JSON-Schema-Test-Suite/tests/draft2020-12/anchor.json (about)

     1  [
     2      {
     3          "description": "Location-independent identifier",
     4          "schema": {
     5              "$schema": "https://json-schema.org/draft/2020-12/schema",
     6              "$ref": "#foo",
     7              "$defs": {
     8                  "A": {
     9                      "$anchor": "foo",
    10                      "type": "integer"
    11                  }
    12              }
    13          },
    14          "tests": [
    15              {
    16                  "data": "a",
    17                  "description": "mismatch",
    18                  "valid": false
    19              }
    20          ]
    21      }
    22  ]