ObjectType Class Reference

#include <Pt/Mcp/Type.h>

Object type with named properties. More...

Inherits Type.

Public Member Functions

ObjectTypesetStrict ()
 Disallow properties not listed in the schema.
 
void toSchema (std::ostream &os, const std::string &description="") const override
 Writes the JSON Schema representation to the stream.
 

Detailed Description

Describes a JSON object schema with properties, each having a name, type, and required flag.