RuntimeSchema(SchemaDef schema, TypeDef type) { schemaDef = schema; typeDef = type; }
public RuntimeSchema(SchemaDef schema) : this(schema, schema.root) { }