5 #include "CesiumGltf/Class.h"
6 #include "CesiumGltf/Enum.h"
7 #include "CesiumGltf/Library.h"
9 #include <CesiumUtility/ExtensibleObject.h>
13 #include <unordered_map>
20 static inline constexpr
const char* TypeName =
"Schema";
31 std::optional<std::string>
name;
48 std::unordered_map<std::string, CesiumGltf::Class>
classes;
55 std::unordered_map<std::string, CesiumGltf::Enum>
enums;
Classes for working with glTF models.
An object defining classes and enums.
std::string id
Unique identifier for the schema. Schema IDs must be alphanumeric identifiers matching the regular ex...
std::optional< std::string > description
The description of the schema.
std::unordered_map< std::string, CesiumGltf::Enum > enums
A dictionary, where each key is an enum ID and each value is an object defining the values for the en...
std::unordered_map< std::string, CesiumGltf::Class > classes
A dictionary, where each key is a class ID and each value is an object defining the class....
std::optional< std::string > version
Application-specific version of the schema.
std::optional< std::string > name
The name of the schema, e.g. for display purposes.
The base class for objects that have extensions and extras.