@ui5/project
Version:
UI5 Tooling - Project
41 lines (38 loc) • 1.18 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "http://ui5.sap/schema/ui5.json",
"title": "ui5.yaml",
"description": "Schema for UI5 Tooling Configuration File (ui5.yaml)",
"$comment": "See https://sap.github.io/ui5-tooling/",
"type": "object",
"required": ["specVersion"],
"properties": {
"specVersion": {
"enum": [
"4.0",
"3.2", "3.1", "3.0",
"2.6", "2.5", "2.4", "2.3", "2.2", "2.1", "2.0",
"1.1", "1.0", "0.1"
],
"errorMessage": "Unsupported \"specVersion\"\nYour UI5 CLI installation might be outdated.\nSupported specification versions: \"4.0\", \"3.2\", \"3.1\", \"3.0\", \"2.6\", \"2.5\", \"2.4\", \"2.3\", \"2.2\", \"2.1\", \"2.0\", \"1.1\", \"1.0\", \"0.1\"\nFor details, see: https://sap.github.io/ui5-tooling/pages/Configuration/#specification-versions"
}
},
"if": {
"properties": {
"specVersion": { "enum": ["4.0", "3.2", "3.1", "3.0", "2.6", "2.5", "2.4", "2.3", "2.2", "2.1", "2.0"] }
}
},
"then": {
"$ref": "specVersion/specVersion.json"
},
"else": {
"if": {
"properties": {
"specVersion": { "enum": ["1.1", "1.0", "0.1"] }
}
},
"then": {
"additionalProperties": true
}
}
}