Skip to content

ObjectProperty

Represents an object property. This extends the base Property model to represent a structured object.

---
title: ObjectProperty
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class Property {
        +string name
        +string kind
        +string description
        +boolean required
        +unknown default
        +unknown example
        +unknown[] enumValues
    }
    Property <|-- ObjectProperty
    class ObjectProperty {
      
        +string kind
        +Property[] properties
    }
    class Property {
        +string name
        +string kind
        +string description
        +boolean required
        +unknown default
        +unknown example
        +unknown[] enumValues
    }
    ObjectProperty *-- Property
properties:
property1:
kind: string
property2:
kind: number
NameTypeDescription
kindstring
propertiesProperty[]The properties contained in the object

The following types are composed within ObjectProperty: