Skip to content

Commit

Permalink
Add json schema for template dropdown config
Browse files Browse the repository at this point in the history
  • Loading branch information
afwillia committed Nov 2, 2023
1 parent 587f767 commit 590bb91
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions schemas/dca_template_config.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"type": "object",
"properties": {
"manifest_schemas": {
"type": "array",
"items": {"$ref": "#/$defs/manifest" }
},
"service_version": {
"type": "string"
},
"schema_version": {
"type": "string"
}
},
"required": [ "manifest_schemas" ],
"$defs": {
"manifest": {
"type": "object",
"required": [ "display_name", "schema_name", "type" ],
"properties": {
"display_name": {
"type": "string"
},
"schema_name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [ "file", "record" ]
}
}
}
}
}

0 comments on commit 590bb91

Please sign in to comment.