View Source JsonSchema.Types.TupleType (json_schema v0.5.0)
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"]}
  Link to this section Summary
Link to this section Types
@type t() :: %JsonSchema.Types.TupleType{ default: JsonSchema.Types.json_value(), description: String.t() | nil, items: [URI.t()], name: String.t() | :anonymous, path: URI.t() }