content: {
    "$defs": {
      "NamedPets": {
        "additionalProperties": {
          "$ref": "#/$defs/Pet"
        },
        "description": "NamedPets is a map of animal names to pets.",
        "type": "object"
      },
      "Pet": {
        "additionalProperties": false,
        "description": "Pet defines the user's fury friend.",
        "properties": {
          "name": {
            "description": "Name of the animal.",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Pets": {
        "description": "Pets is a collection of Pet objects.",
        "items": {
          "$ref": "#/$defs/Pet"
        },
        "type": "array"
      },
      "Plant": {
        "additionalProperties": false,
        "description": "Plant represents the plants the user might have and serves as a test of structs inside a `type` set.",
        "properties": {
          "multicellular": {
            "description": "Multicellular is true if the plant is multicellular",
            "title": "Multicellular",
            "type": "boolean"
          },
          "variant": {
            "description": "This comment will be used",
            "title": "Variant",
            "type": "string"
          }
        },
        "required": [
          "variant"
        ],
        "type": "object"
      },
      "User": {
        "additionalProperties": false,
        "description": "User is used as a base to provide tests for comments.",
        "properties": {
          "friends": {
            "description": "list of IDs, omitted when empty",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "id": {
            "description": "Unique sequential identifier.",
            "type": "integer"
          },
          "name": {
            "default": "alex",
            "description": "this is a property",
            "examples": [
              "joe",
              "lucy"
            ],
            "maxLength": 20,
            "minLength": 1,
            "pattern": ".*",
            "title": "the name",
            "type": "string"
          },
          "named_pets": {
            "$ref": "#/$defs/NamedPets",
            "description": "Set of animal names to pets"
          },
          "pets": {
            "$ref": "#/$defs/Pets",
            "description": "An array of pets the user cares for."
          },
          "plants": {
            "description": "Set of plants that the user likes",
            "items": {
              "$ref": "#/$defs/Plant"
            },
            "title": "Plants",
            "type": "array"
          },
          "tags": {
            "type": "object"
          }
        },
        "required": [
          "id",
          "name",
          "pets",
          "named_pets",
          "plants"
        ],
        "type": "object"
      }
    },
    "$id": "https://github.com/invopop/jsonschema/examples/user",
    "$ref": "#/$defs/User",
    "$schema": "https://json-schema.org/draft/2020-12/schema"
  }