| 621 | } |
| 622 | return ValueSchemaTypeReference(); |
| 623 | } |
| 624 | |
| 625 | const GenericValueSchemaTypeReference* ValueSchema::getGenericTypeReference() const { |
| 626 | return dynamic_cast<const GenericValueSchemaTypeReference*>(_ptr.get()); |
| 627 | } |
| 628 | |
| 629 | ValueSchema ValueSchema::getArrayItemSchema() const { |
| 630 | const auto* araraySchema = getArray(); |
| 631 | if (araraySchema == nullptr) { |
| 632 | return ValueSchema::voidType(); |
| 633 | } |