...

Text file src/github.com/ory/x/decoderx/stub/person.json

Documentation: github.com/ory/x/decoderx/stub

     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}

View as plain text