json_schema v0.3.0 JsonSchema.Types.ArrayType View Source
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")}