Skip to content

Array of arbitrary types #163

Open
Open
@sangel10

Description

@sangel10

Is there any way to have an object with an ordered list of arbitrary types? I'm thinking of something like this:

blocks: {
  type: "object",
  items:[
    first:   { type: 'string' }
    second:  { type: 'number' }
    third:   { type: 'boolean' }
  ]
}

Where the each of the objects in items will get the appropriate form when you do

form: ['*']

If not how could I go about extending the schema to include this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions