X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test_scripts%2FO2IMS_Compliance_Test%2Fo2ims_compliance%2Fschemas%2FresourceType_properties.json;fp=test_scripts%2FO2IMS_Compliance_Test%2Fo2ims_compliance%2Fschemas%2FresourceType_properties.json;h=7ed366e9878f6ac29f7e3c24970fa97093de155a;hb=323e652696ceb2746ea571cf9854b1b4cfb56ce5;hp=0000000000000000000000000000000000000000;hpb=41edb24f29769f7ba8a083666e3858edc56ee1ef;p=it%2Ftest.git diff --git a/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_properties.json b/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_properties.json new file mode 100644 index 0000000..7ed366e --- /dev/null +++ b/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_properties.json @@ -0,0 +1,134 @@ +{ + "type": "object", + "properties": { + "resourceTypeId": { + "type": "string", + "default": "0769ceee-ed27-40fa-92cc-98bb4eac1f02" + }, + "name": { + "type": "string", + "default": "pserver_cpu" + }, + "vendor": { + "type": "string", + "default": "" + }, + "version": { + "type": "string", + "default": "" + }, + "description": { + "type": "string", + "default": "" + }, + "model": { + "type": "string" + }, + "resourceKind": { + "type": "string" + }, + "resourceClass": { + "type": "string" + }, + "alarmDictionary": { + "type": ["null", "object"], + "properties": { + "alarmDictionarySchemaVersion": { + "type": "string" + }, + "alarmDictionaryVersion": { + "type": "string" + }, + "entityType": { + "type": "string" + }, + "vendor": { + "type": "string" + }, + "managementInterfaceId": { + "type": "string" + }, + "pkNotificationField": { + "type": "string" + }, + "alarmDefinition": { + "type": "array", + "items": { + "type": "object", + "properties": { + "alarmDefinitionId": { + "type": "string" + }, + "alarmName": { + "type": "string" + }, + "alarmLastChange": { + "type": "string" + }, + "alarmChangeType": { + "type": "string" + }, + "alarmDescription": { + "type": "string" + }, + "proposedRepairActions": { + "type": "string" + }, + "clearingType": { + "type": "string" + }, + "managementInterfaceId": { + "type": "string" + }, + "pkNotificationField": { + "type": "string" + }, + "alarmAdditionalFields": { + "type": [ + "null", + "object" + ] + } + }, + "required": [ + "alarmDefinitionId", + "alarmName", + "alarmLastChange", + "alarmChangeType", + "alarmDescription", + "proposedRepairActions", + "clearingType", + "managementInterfaceId", + "pkNotificationField", + "alarmAdditionalFields" + ] + } + } + }, + "required": [ + "alarmDictionaryVersion", + "alarmDictionarySchemaVersion", + "entityType", + "vendor", + "managementInterfaceId", + "pkNotificationField", + "alarmDefinition" + ] + }, + "extensions": { + "type": [ + "null", + "object" + ] + } + }, + "required": [ + "description", + "name", + "resourceTypeId", + "vendor", + "version", + "model" + ], + "examples": [] +}