json_schema v0.1.0 JsonSchema.Types.ArrayType View Source
Represents a custom ‘array’ type definition in a JSON schema.
JSON Schema:
"rectangles": {
"type": "array",
"items": {
"$ref": "#/rectangle"
}
}
Resulting Elixir intermediate representation:
%ArrayType{name: "rectangles",
path: ["#", "rectangles"],
items: ["#", "rectangles", "items"]}
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %JsonSchema.Types.ArrayType{ items: JsonSchema.TypePath.t(), name: String.t(), path: JsonSchema.TypePath.t() }
Link to this section Functions
Link to this function
new(name, path, items)
View Source
new(String.t(), JsonSchema.TypePath.t(), JsonSchema.TypePath.t()) :: t()