github.com/alecthomas/jsonschema@v0.0.0-20220216202328-9eeeec9d044b/fixtures/custom_additional.json (about)

     1  {
     2    "$schema": "http:\/\/json-schema.org\/draft-04\/schema#",
     3    "$ref": "#\/definitions\/GrandfatherType",
     4    "definitions": {
     5      "GrandfatherType": {
     6        "required": [
     7          "family_name",
     8          "ip_addr"
     9        ],
    10        "properties": {
    11          "family_name": {
    12            "type": "string"
    13          },
    14          "ip_addr": {
    15            "type": "string",
    16            "format": "ipv4"
    17          }
    18        },
    19        "additionalProperties": false,
    20        "type": "object"
    21      }
    22    }
    23  }