XSD (Atualizado em 28/04/2020)

text/xml da.xsd — 17 KB

Conteúdo do arquivo

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
           targetNamespace="http://www.previc.gov.br/da.xsd" xmlns="http://www.previc.gov.br/da.xsd">
	<xs:element name="da" type="da_type"/>
	<xs:complexType name="da_type">
	<xs:sequence>
		<xs:element name="informacoes_gerais" type="informacoes_gerais_type" />
		<xs:element name="grupos_custeio" type="grupos_custeio_type"/>
		<xs:element name="resultado_plano" type="resultado_plano_type"/>
		<xs:element name="parecer_atuarial_plano" type="parecer_atuarial_plano_type"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="informacoes_gerais_type">
	<xs:sequence>
		<xs:element name="nu_matricula_efpc" type="nu_matricula_efpc_type" />
		<xs:element name="nu_cnpb" type="cnpb_type" />
		<xs:element name="id_tipo_avaliacao" type="cod_type" />
		<xs:element name="id_fato_relevante" type="cod_type" />
		<xs:element name="te_justificativa" type="text_type_1000_or_empty" />
		<xs:element name="dt_avaliacao" type="dt_type" />
		<xs:element name="dt_cadastro" type="dt_type" />
		<xs:element name="dt_fato_relevante" type="dt_type" minOccurs="0" />
		<xs:element name="nu_cpf_atuario" type="cpf_type" />
		<xs:element name="nu_duration_meses" type="nu_type" />
		<xs:element name="te_observacao_duration" type="text_type_1000_or_empty" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="grupos_custeio_type">
	<xs:sequence>
		<xs:element name="grupo_custeio" type="grupo_custeio_type" maxOccurs="unbounded"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="grupo_custeio_type">
	<xs:sequence>
		<xs:element name="tipo_grupo_custeio" type="cod_type" />
		<xs:element name="id_grupo_custeio" type="id_type_or_empty" />
		<xs:element name="nu_grupo_custeio" type="nu_type_or_empty" />
		<xs:element name="nm_grupo_custeio" type="nm_type" />
		<xs:element name="qt_participantes_ativos" type="qt_pos_type" />
		<xs:element name="vl_folha_salario" type="valor_pos_type" />
		<xs:element name="qt_meses_contribuicao" type="qt_pos_type" />
		<xs:element name="qt_meses_aposentadoria" type="qt_pos_type" />
		<xs:element name="vl_patrimonio_cobertura" type="valor_type" />
		<xs:element name="vl_insuficiencia_cobertura" type="valor_pos_type" />
		<xs:element name="patrocinadores_instituidores" type="patrocinadores_instituidores_type" />
		<xs:element name="hipoteses_atuariais" type="hipoteses_atuariais_type" />
		<xs:element name="beneficios_gc" type="beneficios_gc_type" />
		<xs:element name="provisoes_a_constituir_e_contratos" type="provisoes_a_constituir_e_contratos_type" />
		<xs:element name="fonte_recursos_gc" type="fonte_recursos_gc_type" />
		<xs:element name="fundos_previdenciais_gc" type="fundos_previdenciais_gc_type" />
		<xs:element name="parecer_atuarial_gc" type="parecer_atuarial_gc_type" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="patrocinadores_instituidores_type">
	<xs:sequence>
		<xs:element name="patrocinador_instituidor" type="patrocinador_instituidor_type" maxOccurs="unbounded"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="patrocinador_instituidor_type">
	<xs:sequence>
		<xs:element name="tipo_patrocinador_instituidor" type="cod_type"/>
		<xs:element name="cnpj" type="cnpj_type" maxOccurs="unbounded"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="hipoteses_atuariais_type">
	<xs:sequence>
		<xs:element name="hipotese_atuarial" type="hipotese_atuarial_type" maxOccurs="unbounded"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="hipotese_atuarial_type">
	<xs:sequence>
		<xs:element name="id_tipo_hipotese" type="id_type" minOccurs="0"/>
		<xs:element name="id_hipotese_basica_item" type="id_type" />
		<xs:element name="valor_hipotese_basica_item" type="text_type_800" />
		<xs:element name="qt_esperada_enc" type="qt_type"/>
		<xs:element name="qt_ocorrida" type="qt_type"/>
		<xs:element name="qt_esperada_seg" type="qt_type" />
		<xs:element name="te_comentario_divergencia" type="text_type_800_or_empty" />
		<xs:element name="te_justificativa_entidade" type="text_type_800_or_empty" />
		<xs:element name="te_opiniao_atuario" type="text_type_800" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="beneficios_gc_type">
	<xs:sequence>
		<xs:element name="beneficio_gc" type="beneficio_gc_type" minOccurs="0" maxOccurs="unbounded"/>
		<xs:element name="beneficios_gc_agregado" type="beneficios_gc_agregado_type" minOccurs="0" maxOccurs="unbounded"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="beneficio_gc_type">
	<xs:sequence>
		<xs:element name="id_beneficio" type="id_type" />
		<xs:element name="qtde_beneficios_manut" type="qt_pos_type_or_empty" />
		<xs:element name="vl_medio_beneficio" type="valor_pos_type" />
		<xs:element name="idade_media" type="idade_media_type_or_empty" />
		<xs:element name="vl_custo_ano" type="valor_pos_type" />
		<xs:element name="tx_perc_custo_ano" type="tx_type" />
		<xs:element name="provisoes_matematicas" type="provisoes_matematicas_type" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="provisoes_matematicas_type">
	<xs:sequence>
		<xs:element name="vl_bc_cd_sald_cont_assist" type="valor_pos_type" />
		<xs:element name="vl_bc_bd_prog_vabf_assist" type="valor_pos_type" />
		<xs:element name="vl_bc_bd_npro_vabf_assist" type="valor_pos_type" />
		<xs:element name="vl_ac_cd_sald_cont_patro" type="valor_pos_type" />
		<xs:element name="vl_ac_cd_sald_cont_part" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_prog_vabf" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_prog_vacf_patro" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_prog_vacf_part" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_npro_vabf" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_npro_vacf_patro" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_npro_vacf_part" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_capt_cobertura" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_rept_simples" type="valor_pos_type" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="beneficios_gc_agregado_type">
	<xs:sequence>
		<xs:element name="qtde_beneficios_manut" type="qt_pos_type_or_empty" />
		<xs:element name="vl_medio_beneficio" type="valor_pos_type" />
		<xs:element name="idade_media" type="idade_media_type_or_empty" />
		<xs:element name="provisoes_matematicas_agre" type="provisoes_matematicas_agre_type" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="provisoes_matematicas_agre_type">
	<xs:sequence>
		<xs:element name="vl_bc_cd_sald_cont_assist" type="valor_pos_type" />
		<xs:element name="vl_bc_bd_prog_vabf_assist" type="valor_pos_type" />
		<xs:element name="vl_bc_bd_npro_vabf_assist" type="valor_pos_type" />
		<xs:element name="vl_ac_cd_sald_cont_patro" type="valor_pos_type" />
		<xs:element name="vl_ac_cd_sald_cont_part" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_prog_vabf" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_npro_vabf" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_capt_cobertura" type="valor_pos_type" />
		<xs:element name="vl_ac_bd_rept_simples" type="valor_pos_type" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="provisoes_a_constituir_e_contratos_type">
	<xs:sequence>
		<xs:element name="provisao_a_constituir_ou_contrato" type="provisao_a_constituir_ou_contrato_type" maxOccurs="unbounded"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="provisao_a_constituir_ou_contrato_type">
	<xs:sequence>
		<xs:element name="origem_pac_cont" type="cod_type_or_empty" />
		<xs:element name="contab_pac_cont" type="cod_type_or_empty" />
		<xs:element name="vl_pac_cont_atual_patro" type="valor_type" />
		<xs:element name="qt_meses_patro" type="qt_pos_type_or_empty" />
		<xs:element name="vl_pac_cont_atual_part" type="valor_type" />
		<xs:element name="qt_meses_part" type="qt_pos_type_or_empty" />
		<xs:element name="vl_pac_cont_atual_assist" type="valor_type" />
		<xs:element name="qt_meses_assist" type="qt_pos_type_or_empty" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="fonte_recursos_gc_type">
	<xs:sequence>
		<xs:element name="dt_inicio_vigencia" type="dt_type-or-empty" />
		<xs:element name="patrocinador" type="custeio_type" />
		<xs:element name="participante" type="custeio_type" />
		<xs:element name="assistido" type="custeio_type" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="custeio_type">
	<xs:sequence>
		<xs:element name="custeio_normal" type="custeio_normal_type" maxOccurs="unbounded"/>
		<xs:element name="custeio_extraordinario" type="custeio_extraordinario_type" maxOccurs="unbounded"/>
		<xs:element name="utilizacao_fundos" type="utilizacao_fundos_type" minOccurs="0" maxOccurs="unbounded" />		
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="custeio_normal_type">
	<xs:sequence>
		<xs:element name="valor_custeio_normal" type="valor_pos_type_or_empty" />
		<xs:element name="taxa_custeio_normal" type="tx_type" minOccurs="0"/>		
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="custeio_extraordinario_type">
	<xs:sequence>
		<xs:element name="tipo_custeio_extraordinario" type="cod_type_or_empty" />
		<xs:element name="valor_custeio_extraordinario" type="valor_pos_type_or_empty" />
		<xs:element name="taxa_custeio_extraordinario" type="tx_type"  minOccurs="0"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="utilizacao_fundos_type">
	<xs:sequence>
		<xs:element name="tipo_utilizacao_fundos" type="cod_type_or_empty" />
		<xs:element name="valor_utilizacao_fundos" type="valor_pos_type_or_empty" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="fundos_previdenciais_gc_type">
	<xs:sequence>
		<xs:element name="fundos_atuariais_gc" type="fundos_atuariais_gc_type" />
		<xs:element name="fundos_destinacao_gc" type="fundos_destinacao_gc_type" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="fundos_atuariais_gc_type">
	<xs:sequence>
		<xs:element name="fundo_atuarial_gc" type="fundo_atuarial_gc_type" maxOccurs="unbounded"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="fundo_atuarial_gc_type">
	<xs:sequence>
		<xs:element name="nm_fonte_recursos" type="nm_type" />
		<xs:element name="nm_finalidade" type="text_type_800_or_empty" />
		<xs:element name="vl_rec_recebidos_exerc" type="valor_pos_type_or_empty" />
		<xs:element name="vl_rec_utilizados_exerc" type="valor_pos_type_or_empty" />
		<xs:element name="vl_saldo_fundo" type="valor_pos_type_or_empty" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="fundos_destinacao_gc_type">
	<xs:sequence>
		<xs:element name="fundo_destinacao_gc" type="fundo_destinacao_gc_type" maxOccurs="unbounded"/>
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="fundo_destinacao_gc_type">
	<xs:sequence>
		<xs:element name="vl_participantes" type="valor_pos_type_or_empty" />
		<xs:element name="vl_assistidos" type="valor_pos_type_or_empty" />
		<xs:element name="vl_patrocinador" type="valor_pos_type_or_empty" />
		<xs:element name="vl_saldo_fundo" type="valor_pos_type_or_empty" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="parecer_atuarial_gc_type">
	<xs:sequence>
		<xs:element name="te_evolucao_custos" type="text_type_5000" />
		<xs:element name="te_variacao_provisao_mat" type="text_type_5000" />
		<xs:element name="te_principais_riscos" type="text_type_5000" />
		<xs:element name="te_solu_insufic_cobertura" type="text_type_5000_or_empty" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="resultado_plano_type">
	<xs:sequence>
		<xs:element name="vl_resultado_exercicio" type="valor_type_or_empty" />
		<xs:element name="vl_deficit_tecnico" type="valor_pos_type_or_empty" />
		<xs:element name="vl_superavit_tecnico" type="valor_pos_type_or_empty" />
		<xs:element name="vl_reserva_contingencia" type="valor_pos_type_or_empty" />
		<xs:element name="vl_reserva_especial" type="valor_pos_type_or_empty" />
	</xs:sequence>
	</xs:complexType>
	<xs:complexType name="parecer_atuarial_plano_type">
	<xs:sequence>
		<xs:element name="te_qualidade_base_cad" type="text_type_5000" />
		<xs:element name="te_variacao_resultado" type="text_type_5000" />
		<xs:element name="te_natureza_resultado" type="text_type_5000" />
		<xs:element name="te_solu_equaciona_deficit" type="text_type_5000_or_empty" />
		<xs:element name="te_adequa_metodo_financia" type="text_type_5000" />
		<xs:element name="te_outro_fato_relevante" type="text_type_5000_or_empty" />
		<xs:element name="te_regra_reversao_const" type="text_type_5000_or_empty" />
	</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="nu_matricula_efpc_type">
		<xs:restriction base="xs:string">
 			<xs:pattern value="|\d{5}" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="nu_type">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0" />
			<xs:maxInclusive value="999" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="idade_media_type">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0" />
			<xs:maxInclusive value="99" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="idade_media_type_or_empty">
	  <xs:union memberTypes="empty idade_media_type"/>
	</xs:simpleType>
	<xs:simpleType name="cnpb_type">
		<xs:restriction base="xs:integer">
 			<xs:pattern value="|\d{10}" />
 		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="cod_type">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0" />
			<xs:maxInclusive value="9" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="dt_type">
		<xs:restriction base="xs:string">
			<xs:pattern value="((19|2[0-9])[0-9]{2}(01|02|03|04|05|06|07|08|09|10|11|12)(0[1-9]|[1-2][0-9]|30|31))"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="dt_type-or-empty">
		<xs:restriction base="xs:string">
			<xs:pattern value="\s*|((19|2[0-9])[0-9]{2}(01|02|03|04|05|06|07|08|09|10|11|12)(0[1-9]|[1-2][0-9]|30|31))"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="cpf_type">
		<xs:restriction base="xs:integer">
			<xs:pattern value="|\d{11}" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="protocolo_type">
		<xs:restriction base="xs:decimal">
			<xs:fractionDigits value="0" />
			<xs:totalDigits value="20" />
			<xs:minInclusive value="0" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="qt_pos_type">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0" />
			<xs:maxInclusive value="9999999" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="qt_pos_type_or_empty">
	  <xs:union memberTypes="empty qt_pos_type"/>
  	</xs:simpleType>
	<xs:simpleType name="qt_type">
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="10" />
			<xs:fractionDigits value="2" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="nm_type">
		<xs:restriction base="xs:string">
			<xs:maxLength value="20" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="cnpj_type">
		<xs:restriction base="xs:integer">
			<xs:pattern value="|\d{14}" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="id_type">
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="7" />
			<xs:fractionDigits value="0" />
			<xs:minInclusive value="0" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="valor_pos_type">
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="16" />
			<xs:fractionDigits value="2" />
			<xs:minInclusive value="0" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="valor_pos_type_or_empty">
	  <xs:union memberTypes="empty valor_pos_type"/>
	</xs:simpleType>
	<xs:simpleType name="valor_type">
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="16" />
			<xs:fractionDigits value="2" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="valor_type_or_empty">
	  <xs:union memberTypes="empty valor_type"/>
	</xs:simpleType>
	<xs:simpleType name="text_type_5000">
		<xs:restriction base="xs:string">
			<xs:minLength value="1" />
			<xs:maxLength value="5000" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="text_type_1000">
		<xs:restriction base="xs:string">
			<xs:minLength value="1" />
			<xs:maxLength value="1000" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="text_type_800">
		<xs:restriction base="xs:string">
			<xs:minLength value="1" />
			<xs:maxLength value="800" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="text_type_5000_or_empty">
		<xs:restriction base="xs:string">
			<xs:maxLength value="5000" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="text_type_1000_or_empty">
		<xs:restriction base="xs:string">
			<xs:maxLength value="1000" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="text_type_800_or_empty">
		<xs:restriction base="xs:string">
			<xs:maxLength value="800" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="tx_type">
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="10" />
			<xs:fractionDigits value="2" />
			<xs:minInclusive value="0" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ano_type">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0" />
			<xs:maxInclusive value="9999" />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="id_type_or_empty">
	  <xs:union memberTypes="empty id_type"/>
	</xs:simpleType>
	<xs:simpleType name="nu_type_or_empty">
	  <xs:union memberTypes="empty nu_type"/>
	</xs:simpleType>
	<xs:simpleType name="cod_type_or_empty">
	  <xs:union memberTypes="empty cod_type"/>
	</xs:simpleType>
	<xs:simpleType name="empty">
	  <xs:restriction base="xs:string">
    	<xs:enumeration value=""/>
	  </xs:restriction>
	</xs:simpleType>	
</xs:schema>