# `JsonSchema.Types.TupleType`
[🔗](https://github.com/dragonwasrobot/json_schema/blob/0.6.0/lib/types/tuple_type.ex#L1)

Represents a custom `tuple` type definition in a JSON schema.

JSON Schema:

    "shapePair": {
      "description": "A choice of shape",
      "type": "array",
      "items": [
        { "$ref": "#/rectangle" },
        { "$ref": "#/circle" }
      ]
    }

Resulting in the Elixir representation:

    %TupleType{name: "shapePair",
               description: "A choice of shape",
               path: URI.parse("#/rectangles"),
               items: [URI.parse("#/shapePair/items/0"],
                       URI.parse("#/shapePair/items/1"]}

# `t`

```elixir
@type t() :: %JsonSchema.Types.TupleType{
  default: JsonSchema.Types.json_value(),
  description: String.t() | nil,
  items: [URI.t()],
  name: String.t() | :anonymous,
  path: URI.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
