Skip to content

Commit

Permalink
schema fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Oct 23, 2024
1 parent b76f07d commit 78daae6
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions samples/efcpt-config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@
"code-generation": {
"$ref": "#/definitions/CodeGeneration"
},
"file-layout": {
"$ref": "#/definitions/FileLayout"
},
"names": {
"$ref": "#/definitions/Names"
},
"replacements": {
"$ref": "#/definitions/Replacements"
},
"type-mappings": {
"$ref": "#/definitions/TypeMappings"
},
"tables": {
"type": "array",
"items": {
Expand All @@ -43,8 +31,19 @@
"items": {
"$ref": "#/definitions/Function"
}
},
"names": {
"$ref": "#/definitions/Names"
},
"file-layout": {
"$ref": "#/definitions/FileLayout"
},
"replacements": {
"$ref": "#/definitions/Replacements"
},
"type-mappings": {
"$ref": "#/definitions/TypeMappings"
}

},
"definitions": {
"Table": {
Expand Down Expand Up @@ -95,15 +94,9 @@
"type": "boolean"
},
"type": {
"type": "object",
"default": "all",
"required": [ "values" ],
"properties": {
"values": {
"type": "string",
"enum": [ "all", "dbcontext", "entities" ]
}
}
"enum": [ "all", "dbcontext", "entities" ],
"type": "string"
},
"use-database-names": {
"type": "boolean"
Expand Down Expand Up @@ -140,7 +133,7 @@
"type": "boolean"
},
"t4-template-path": {
"type": "string"
"type": [ "string", "null" ]
},
"use-no-navigations-preview": {
"type": "boolean"
Expand Down Expand Up @@ -173,8 +166,12 @@
"dbcontext-name": {
"type": "string"
},
"dbcontext-namespace": {},
"model-namespace": {}
"dbcontext-namespace": {
"type": "string"
},
"model-namespace": {
"type": "string"
}
}
},
"FileLayout": {
Expand All @@ -183,7 +180,9 @@
"output-path": {
"type": "string"
},
"output-dbcontext-path": {},
"output-dbcontext-path": {
"type": "string"
},
"split-dbcontext-preview": {
"type": "boolean"
},
Expand Down

0 comments on commit 78daae6

Please sign in to comment.