+infra_controller_profile_create_edit_schema = {
+ "title": "infra profile creation operation input schema",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": name_schema,
+ "description": string_schema,
+ },
+ "additionalProperties": False,
+}
+
+infra_config_profile_create_new_schema = {
+ "title": "infra profile creation operation input schema",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": name_schema,
+ "description": string_schema,
+ },
+ "additionalProperties": False,
+}
+
+infra_config_profile_create_edit_schema = {
+ "title": "infra profile creation operation input schema",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": name_schema,
+ "description": string_schema,
+ },
+ "additionalProperties": False,
+}
+
+app_profile_create_new_schema = {
+ "title": "app profile creation operation input schema",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": name_schema,
+ "description": string_schema,
+ },
+ "additionalProperties": False,
+}
+app_profile_create_edit_schema = {
+ "title": "app profile creation operation input schema",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": name_schema,
+ "description": string_schema,
+ },
+ "additionalProperties": False,
+}
+
+resource_profile_create_new_schema = {
+ "title": "resource profile creation operation input schema",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": name_schema,
+ "description": string_schema,
+ },
+ "additionalProperties": False,
+}
+resource_profile_create_edit_schema = {
+ "title": "resource profile creation operation input schema",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "name": name_schema,
+ "description": string_schema,
+ },
+ "additionalProperties": False,
+}
+
+attach_profile = {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {"id": id_schema},
+ "additionalProperties": False,
+ },
+}
+remove_profile = {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {"id": id_schema},
+ "additionalProperties": False,
+ },
+}
+attach_dettach_profile_schema = {
+ "title": "attach/dettach profiles",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "add_profile": attach_profile,
+ "remove_profile": remove_profile,
+ },
+ "additionalProperties": False,
+}