{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SemanticModelObject",
"title": "the semantic model object",
"type": "object",
"description": "Represents a semantic model object",
"properties": {
"semantic_model_file": {
"description": "The path to a file stored in a Snowflake Stage holding the semantic model yaml. Must be a fully qualified stage url",
"type": "string",
"example": "@db.schema.stage/path/to/file.yaml"
},
"semantic_view": {
"description": "The name of the Snowflake native semantic model object",
"type": "string",
"example": "db.schema.semantic_view"
},
"inline_semantic_model": {
"description": "A string containing the entire semantic model yaml",
"type": "string",
"example": "name: my_semantic_model\\ntables:\\n - name: orders\\n..."
}
}
}