Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
223 changes: 223 additions & 0 deletions common/log_parser/test_categoryDT-schema.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vstehle for adding the schema. The schema should be placed in common/tools directory.

Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/ARM-software/arm-systemready/blob/main/common/log_parser/test_categoryDT-schema.json",
"title": "DT Test Categories",
"description": "The description of ACS-Devicetree test categories",
"$defs": {
"catID": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Suite": {
"enum": [
"BBSR-FWTS",
"BBSR-SCT",
"BBSR-Standalone",
"BSA",
"FWTS",
"PFDI",
"SCT",
"Standalone"
]
},
"Description": {
"type": "array",
"item": { "type": "string" },
"minItems": 1
},
"Test Suite": {
"enum": [
"A/B support",
"Boot sources",
"BootServicesTest",
"Capsule Update",
"Capsule update",
"ConsoleSupportTest",
"DTValidation",
"DevicePathProcotols",
"GIC",
"GenericTest",
"HIITest",
"LinuxInstall",
"LoadedImageProtocolTest",
"MEM_MAP",
"Measured boot log",
"Network boot",
"Network",
"NetworkSupportTest",
"PCIe",
"PE",
"PFDI",
"POWER_WAKEUP",
"PSCI",
"Peripheral",
"Peripherals",
"PlatformResetAttackMitigationPsciTest",
"RuntimeServicesTest",
"SMBIOS",
"SMMU",
"SecureTechTest",
"TCG2ProtocolTest",
"Timer",
"Watchdog",
"dt_base",
"esrt",
"smccc",
"uefibootpath",
"uefirtauthvar",
"uefirtmisc",
"uefirttime",
"uefirtvariable",
"uefivarinfo"
]
},
"specName": {
"enum": [
"BBR",
"BBSR",
"BSA",
"DT",
"EBBR",
"PFDI",
"PSCI",
"SRS",
"UEFI"
]
},
"rel Import. to main readiness": {
"enum": ["Critical", "Minor"]
},
"Waivable": {
"enum": ["no", "yes"]
},
"SRS scope": {
"enum": ["Conditional Required", "Recommended", "Required"]
},
"FunctionID": {
"type": "integer",
"minimum": 1,
"maximum": 9
},
"Main Readiness Grouping": {
"enum": [
"Misc readiness",
"Physical readiness",
"boot readiness",
"maintenance readiness",
"runtime readiness",
"safety readiness",
"security readiness"
]
}
},
"required": [
"Description",
"FunctionID",
"Main Readiness Grouping",
"SRS scope",
"Suite",
"Test Suite",
"Waivable",
"rel Import. to main readiness",
"specName"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 1
}
},
"type": "object",
"properties": {
"catID: 1": { "$ref": "#/$defs/catID" },
"catID: 2": { "$ref": "#/$defs/catID" },
"catID: 3": { "$ref": "#/$defs/catID" },
"catID: 4": { "$ref": "#/$defs/catID" },
"catID: 5": { "$ref": "#/$defs/catID" },
"catID: 6": { "$ref": "#/$defs/catID" },
"catID: 7": { "$ref": "#/$defs/catID" },
"catID: 8": { "$ref": "#/$defs/catID" },
"catID: 9": { "$ref": "#/$defs/catID" },
"catID: 10": { "$ref": "#/$defs/catID" },
"catID: 11": { "$ref": "#/$defs/catID" },
"catID: 12": { "$ref": "#/$defs/catID" },
"catID: 13": { "$ref": "#/$defs/catID" },
"catID: 14": { "$ref": "#/$defs/catID" },
"catID: 15": { "$ref": "#/$defs/catID" },
"catID: 16": { "$ref": "#/$defs/catID" },
"catID: 17": { "$ref": "#/$defs/catID" },
"catID: 18": { "$ref": "#/$defs/catID" },
"catID: 19": { "$ref": "#/$defs/catID" },
"catID: 20": { "$ref": "#/$defs/catID" },
"catID: 21": { "$ref": "#/$defs/catID" },
"catID: 22": { "$ref": "#/$defs/catID" },
"catID: 23": { "$ref": "#/$defs/catID" },
"catID: 24": { "$ref": "#/$defs/catID" },
"catID: 25": { "$ref": "#/$defs/catID" },
"catID: 26": { "$ref": "#/$defs/catID" },
"catID: 27": { "$ref": "#/$defs/catID" },
"catID: 28": { "$ref": "#/$defs/catID" },
"catID: 29": { "$ref": "#/$defs/catID" },
"catID: 30": { "$ref": "#/$defs/catID" },
"catID: 31": { "$ref": "#/$defs/catID" },
"catID: 32": { "$ref": "#/$defs/catID" },
"catID: 33": { "$ref": "#/$defs/catID" },
"catID: 34": { "$ref": "#/$defs/catID" },
"catID: 35": { "$ref": "#/$defs/catID" },
"catID: 36": { "$ref": "#/$defs/catID" },
"catID: 37": { "$ref": "#/$defs/catID" },
"catID: 38": { "$ref": "#/$defs/catID" },
"catID: 39": { "$ref": "#/$defs/catID" },
"catID: 40": { "$ref": "#/$defs/catID" },
"catID: 41": { "$ref": "#/$defs/catID" },
"catID: 42": { "$ref": "#/$defs/catID" },
"catID: 43": { "$ref": "#/$defs/catID" }
},
"required": [
"catID: 1",
"catID: 2",
"catID: 3",
"catID: 4",
"catID: 5",
"catID: 6",
"catID: 7",
"catID: 8",
"catID: 9",
"catID: 10",
"catID: 11",
"catID: 12",
"catID: 13",
"catID: 14",
"catID: 15",
"catID: 16",
"catID: 17",
"catID: 18",
"catID: 19",
"catID: 20",
"catID: 21",
"catID: 22",
"catID: 23",
"catID: 24",
"catID: 25",
"catID: 26",
"catID: 27",
"catID: 28",
"catID: 29",
"catID: 30",
"catID: 31",
"catID: 32",
"catID: 33",
"catID: 34",
"catID: 35",
"catID: 36",
"catID: 37",
"catID: 38",
"catID: 39",
"catID: 40",
"catID: 41",
"catID: 42",
"catID: 43"
],
"additionalProperties": false
}
Loading