X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test_scripts%2FO2IMS_Compliance_Test%2Fo2ims_compliance%2Fschemas%2FresourceType_allfields_properties.json;fp=test_scripts%2FO2IMS_Compliance_Test%2Fo2ims_compliance%2Fschemas%2FresourceType_allfields_properties.json;h=522e8b93a8b6517c92413fa9a0b501b23212af6d;hb=409d070b3bdde3e4676c507a959d245ff246fa9f;hp=0000000000000000000000000000000000000000;hpb=ca6b81bb15b879eff50598350b018946f2e3dced;p=it%2Ftest.git diff --git a/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_allfields_properties.json b/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_allfields_properties.json new file mode 100644 index 0000000..522e8b9 --- /dev/null +++ b/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_allfields_properties.json @@ -0,0 +1,130 @@ +{ + "type": "object", + "properties": { + "resourceTypeId": { + "type": "string", + "default": "60cba7be-e2cd-3b8c-a7ff-16e0f10573f9" + }, + "name": { + "type": "string", + "default": "pserver" + }, + "description": { + "type": "string", + "default": "The Physical Server resource type" + }, + "vendor": { + "type": "string", + "default": "" + }, + "model": { + "type": "string", + "default": "" + }, + "version": { + "type": "string", + "default": "" + }, + "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": [ + "alarmDictionary", + "description", + "extensions", + "model", + "name", + "resourceTypeId", + "vendor", + "version" + ] +}