https://example.com/schemas/enums
This is an example schema with examples for properties 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 )
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
hello | string |
Required | cannot be null | Enumerated |
nested | object |
Optional | cannot be null | Enumerated |
A simple string. Pick a value.
hello
- is required
- 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 |
---|---|
"World" |
|
"Welt" |
This is an example schema with examples for properties of nested objects with enum values
nested
- is optional
- Type:
object
(Enumerated (Nested)) - cannot be null
- defined in: Enumerated
object
(Enumerated (Nested))