Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Allow for objects to be defined in "items" #21

@cknadler

Description

@cknadler

This should be valid and create the proper classes.

"fastTrack": {
  "type": "array",
  "items": {
    "type": "object",
    "className": "FastTrackText",
    "required": ["text", "style"],
    "additionalProperties": false,

    "properties": {
      "text": {
        "description": "fast track text block",
        "type": "string"
      },

      "style": {
        "description": "style type to be applied to the text block",
        "enum": [
          "PLAIN",
          "DATE_BY",
          "TIME_LEFT"
        ]
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions