Skip to content

Commit 393ec49

Browse files
committed
metaschema: Require additional_columns field for tables
1 parent 4b2c5d3 commit 393ec49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/metaschema.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,15 +650,16 @@
650650
"additionalProperties": false
651651
},
652652
"additional_columns": {
653-
"type": "string"
653+
"type": "string",
654+
"enum": ["allowed", "allowed_if_defined", "not_allowed", "n/a"]
654655
},
655656
"index_columns": { "type": "array", "items": { "type": "string" } },
656657
"initial_columns": {
657658
"type": "array",
658659
"items": { "type": "string" }
659660
}
660661
},
661-
"required": ["selectors", "columns"],
662+
"required": ["selectors", "columns", "additional_columns"],
662663
"additionalProperties": false
663664
}
664665
}

0 commit comments

Comments
 (0)