/******************************************************************************
* Copyright (c) 2000-2025 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
*   Balasko, Jeno
*   Lovassy, Arpad
*   Raduly, Csaba
*   Szabo, Bence Janos
*
******************************************************************************/
//
//  File:          schemas_ericsson_com_upg_bulkprovisioning_1_0.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- Bulk.xsd
//			/* xml version = "1.0" */
//			/* targetnamespace = "http://schemas.ericsson.com/upg/bulkprovisioning/1.0" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module schemas_ericsson_com_upg_bulkprovisioning_1_0_e {


import from XSD all;


const XSD.UnsignedInt c_defaultForEmpty_1 := 1;


const XSD.Boolean c_defaultForEmpty_2 := true;


type record Resources
{
	record of record {
		record {
			record length(1 .. infinity) of record {
				XSD.String name optional,
				XSD.UnsignedInt priority optional,
				XSD.Boolean searchable optional,
				XSD.String value_ optional
			} key_list
		} keys,
		record {
			record length(1 .. infinity) of record {
				XSD.String identifier optional
			} dataSource_list,
			record {
				record of record {
					XSD.String name optional,
					XSD.String value_ optional
				} data_list
			} additionalData optional
		} resourceHomes
	} resource_list
}
with {
  variant "name as uncapitalized";
  variant "element";
  variant (resource_list) "untagged";
  variant (resource_list[-]) "name as 'resource'";
  variant (resource_list[-].keys.key_list) "untagged";
  variant (resource_list[-].keys.key_list[-]) "name as 'key'";
  variant (resource_list[-].keys.key_list[-].name) "attribute";
  variant (resource_list[-].keys.key_list[-].priority) "defaultForEmpty as c_defaultForEmpty_1";
  variant (resource_list[-].keys.key_list[-].priority) "attribute";
  variant (resource_list[-].keys.key_list[-].searchable) "defaultForEmpty as c_defaultForEmpty_2";
  variant (resource_list[-].keys.key_list[-].searchable) "attribute";
  //variant (resource_list[-].keys.key_list[-].searchable) "text 'true' as '1'";
  //variant (resource_list[-].keys.key_list[-].searchable) "text 'false' as '0'";
  variant (resource_list[-].keys.key_list[-].value_) "name as 'value'";
  variant (resource_list[-].keys.key_list[-].value_) "attribute";
  variant (resource_list[-].resourceHomes.dataSource_list) "untagged";
  variant (resource_list[-].resourceHomes.dataSource_list[-]) "name as 'dataSource'";
  variant (resource_list[-].resourceHomes.dataSource_list[-].identifier) "attribute";
  variant (resource_list[-].resourceHomes.additionalData.data_list) "untagged";
  variant (resource_list[-].resourceHomes.additionalData.data_list[-]) "name as 'data'";
  variant (resource_list[-].resourceHomes.additionalData.data_list[-].name) "attribute";
  variant (resource_list[-].resourceHomes.additionalData.data_list[-].value_) "name as 'value'";
  variant (resource_list[-].resourceHomes.additionalData.data_list[-].value_) "attribute";
};


}
with {
  encode "XML";
  variant "namespace as 'http://schemas.ericsson.com/upg/bulkprovisioning/1.0' prefix 'bulk'";
  variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
}
