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* |
object
(Enumerated (Nested))
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
test | string |
Optional | cannot be null | Enumerated |
A simple string. Pick a value.
test
- is optional
- Type:
string
- cannot be null
- defined in: Enumerated
string
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"nested" |
|
"object" |
|
"works" |