@o3r/rules-engine
Version:
This module provides a rule engine that can be executed on your Otter application to customize your application (translations, placeholders and configs) based on a json file generated by your CMS.
41 lines (40 loc) • 979 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "NgGenerateFactsServiceSchematicsSchema",
"title": "Generate a facts service",
"description": "Generate a facts service",
"properties": {
"projectName": {
"type": "string",
"description": "Project name",
"$default": {
"$source": "projectName"
},
"alias": "project"
},
"path": {
"type": "string",
"description": "Directory containing the facts services"
},
"name": {
"type": "string",
"description": "Fact service name",
"x-prompt": "Your fact service name",
"minLength": 1,
"$default": {
"$source": "argv",
"index": 0
}
},
"skipLinter": {
"type": "boolean",
"description": "Skip the linter process which includes EsLint and EditorConfig rules applying",
"default": false
}
},
"additionalProperties": true,
"required": [
"name",
"path"
]
}