Skip to content

Commit

Permalink
try simplifying
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Jun 6, 2024
1 parent 0c9ea47 commit a3cd322
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions source.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,7 @@
"query": {
"description": "Query to subset data in source/layer - ECQL for BCGW sources, OGR SQL for files",
"type": "string"
}
},
"required": ["name", "alias", "class_number", "class_name", "source_type", "source", "name_column", "query"],
"if": {
"properties": {
"source_type": {
"const": "FILE"
}
}
},
"then": {
"required": ["layer"]
}
},
"required": ["name", "alias", "class_number", "class_name", "source_type", "source", "name_column", "query"]
}

0 comments on commit a3cd322

Please sign in to comment.