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

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

JSON Schema:

    "rectangles": {
      "description": "A list of rectangles",
      "type": "array",
      "items": {
        "$ref": "#/rectangle"
      }
    }

Resulting in the Elixir representation:

    %ArrayType{name: "rectangles",
               description: "A list of rectangles",
               path: URI.parse("#/rectangles"),
               items: URI.parse("#/rectangles/items")}

# `t`

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

---

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