Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 2.08 KB

enums-properties-enumerated-nested.md

File metadata and controls

48 lines (30 loc) · 2.08 KB

Enumerated (Nested) Schema

https://example.com/schemas/enums#/properties/nested

This is an example schema with examples for properties of nested objects with enum values

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none enums.schema.json*

nested Type

object (Enumerated (Nested))

Enumerated (Nested) Properties

Property Type Required Nullable Defined by
test string Optional cannot be null Enumerated

test

A simple string. Pick a value.

test

  • is optional
  • Type: string
  • cannot be null
  • defined in: Enumerated

test Type

string

test Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"nested"
"object"
"works"