github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/decoderx/stub/person.json (about)

     1  {
     2    "$id": "https://example.com/person.schema.json",
     3    "$schema": "http://json-schema.org/draft-07/schema#",
     4    "title": "Person",
     5    "type": "object",
     6    "properties": {
     7      "name": {
     8        "type": "object",
     9        "properties": {
    10          "first": {
    11            "type": "string"
    12          },
    13          "last": {
    14            "type": "string"
    15          }
    16        }
    17      },
    18      "age": {
    19        "type": "integer"
    20      },
    21      "ratio": {
    22        "type": "number"
    23      },
    24      "consent": {
    25        "type": "boolean"
    26      },
    27      "newsletter": {
    28        "type": "boolean"
    29      }
    30    }
    31  }