Class: ElasticGraph::SchemaDefinition::Indexing::JSONSchemaWithMetadata
- Inherits:
-
Object
- Object
- ElasticGraph::SchemaDefinition::Indexing::JSONSchemaWithMetadata
- Defined in:
- lib/elastic_graph/schema_definition/indexing/json_schema_with_metadata.rb
Overview
Represents the result of merging a JSON schema with metadata. The result includes both the merged JSON schema and a list of ‘failed_fields` indicating which fields metadata could not be determined for.
Defined Under Namespace
Classes: Merger
Constant Summary collapse
- MissingNecessaryField =
::Data.define(:field_type, :fully_qualified_path)
Instance Method Summary collapse
Instance Method Details
#json_schema_version ⇒ Object
31 32 33 |
# File 'lib/elastic_graph/schema_definition/indexing/json_schema_with_metadata.rb', line 31 def json_schema_version json_schema.fetch(JSON_SCHEMA_VERSION_KEY) end |