{
cpf: { key: 'EventoAdmissao_InfoTrabalhador_Cpf', type: Types::String },
nis: { key: 'EventoAdmissao_InfoTrabalhador_Nis', type: Types::String.optional },
nome: { key: 'EventoAdmissao_InfoTrabalhador_Nome', type: Types::String },
sexo: { key: 'EventoAdmissao_InfoTrabalhador_Sexo', type: Types::String },
matricula: { key: 'EventoAdmissao_InfoVinculo_Matricula', type: Types::String },
raca_cor: { key: 'EventoAdmissao_InfoTrabalhador_RacaCor', type: Types::Integer },
grau_instrucao: { key: 'EventoAdmissao_InfoTrabalhador_GrauInstrucao', type: Types::String },
primeiro_emprego: { key: 'EventoAdmissao_InfoTrabalhador_PrimeiroEmprego', type: Types::SNBool.optional },
data_de_nascimento: { key: 'EventoAdmissao_InfoTrabalhador_Nascimento_DataNascimento', type: Types::Date },
nascimento_pais_codigo: { key: 'EventoAdmissao_InfoTrabalhador_Nascimento_PaisNascimento', type: Types::String },
nacionalidade_pais_codigo: { key: 'EventoAdmissao_InfoTrabalhador_Nascimento_PaisNacionalidade',
type: Types::String },
nacionalidade_municipio_codigo: { key: 'EventoAdmissao_InfoTrabalhador_Nascimento_CodigoMunicipio',
type: Types::String.optional },
nome_mae: { key: 'EventoAdmissao_InfoTrabalhador_Nascimento_NomeMae', type: Types::String.optional },
endereco_br_cep: { key: 'EventoAdmissao_EnderecoResidencialBR_Cep', type: Types::String.optional },
endereco_br_tipo_logradouro: { key: 'EventoAdmissao_EnderecoResidencialBR_TipoLogradouro',
type: Types::String.optional },
endereco_br_descricao_logradouro: { key: 'EventoAdmissao_EnderecoResidencialBR_DescricaoLogradouro',
type: Types::String.optional },
endereco_br_numero_logradouro: { key: 'EventoAdmissao_EnderecoResidencialBR_NumeroLogradouro',
type: Types::String.optional },
endereco_br_bairro: { key: 'EventoAdmissao_EnderecoResidencialBR_Bairro', type: Types::String.optional },
endereco_br_complemento: { key: 'EventoAdmissao_EnderecoResidencialBR_Complemento', type: Types::String.optional },
endereco_br_codigo_municipio: { key: 'EventoAdmissao_EnderecoResidencialBR_CodigoMunicipio',
type: Types::String.optional },
reside_exterior: { key: 'ResideExterior', type: Types::False },
deficiencia_fisica: { key: 'EventoAdmissao_InfoTrabalhador_Deficiencia_DeficienciaFisica',
type: Types::SNBool.optional },
deficiencia_visual: { key: 'EventoAdmissao_InfoTrabalhador_Deficiencia_DeficienciaVisual',
type: Types::SNBool.optional },
deficiencia_auditiva: { key: 'EventoAdmissao_InfoTrabalhador_Deficiencia_DeficienciaAuditiva',
type: Types::SNBool.optional },
deficiencia_mental: { key: 'EventoAdmissao_InfoTrabalhador_Deficiencia_DeficienciaMental',
type: Types::SNBool.optional },
deficiencia_intelectual: { key: 'EventoAdmissao_InfoTrabalhador_Deficiencia_DeficienciaIntelectual',
type: Types::SNBool.optional },
deficiencia_reabilitado_ou_readaptado: { key: 'EventoAdmissao_InfoTrabalhador_Deficiencia_ReabilitadoOuReadaptado',
type: Types::SNBool.optional },
deficiencia_info_cota: { key: 'EventoAdmissao_InfoTrabalhador_Deficiencia_InfoCota', type: Types::SNBool.optional },
data_admissao_celetista: {
key: 'EventoAdmissao_InfoVinculo_InformacoesRegimeTrabalhista_InformacoesTrabalhadorCeletista_DataAdmissao',
type: Types::Date
},
tipo_regime_trabalhista: { key: 'EventoAdmissao_InfoVinculo_TipoRegimeTrabalhista',
type: Types::TipoRegimeTrabalhista },
tipo_regime_previdenciario: { key: 'EventoAdmissao_InfoVinculo_TipoRegimePrevidenciario',
type: Types::TipoRegimePrevidenciario },
tipo_regime_jornada: {
key: 'EventoAdmissao_InfoVinculo_InformacoesRegimeTrabalhista_InformacoesTrabalhadorCeletista_TipoRegimeJornada',
type: Types::TipoRegimeJornada
},
optante_fgts: {
key: 'EventoAdmissao_InfoVinculo_InformacoesRegimeTrabalhista_InformacoesTrabalhadorCeletista_InfoFgts_OptanteFGTS',
type: Types::OpcaoFgts.optional
},
data_opcao_fgts: {
key: 'EventoAdmissao_InfoVinculo_InformacoesRegimeTrabalhista_InformacoesTrabalhadorCeletista_InfoFgts_DataOpcaoFGTS',
type: Types::Date.optional
},
cargo_codigo: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_CodigoCargo', type: Types::String.optional },
unidade_salario_fixo: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_Remuneracao_UnidadeSalarioFixo',
type: Types::UnidadeSalarial },
valor_salario_fixo: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_Remuneracao_ValorSalarioFixo',
type: Types::Decimal },
tipo_contrato: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_Duracao_TipoContrato', type: Types::TipoContrato },
data_termino: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_Duracao_DataTermino', type: Types::Date.optional },
clausula_assecuratoria: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_Duracao_ClausulaAssecuratoria',
type: Types::SNBool.optional },
local_trabalho_geral_tipo_inscricao: {
key: 'EventoAdmissao_InfoVinculo_InfoContrato_LocalTrabalho_LocalTrabalhoGeral_TipoInscricao',
type: Types::TipoInscricaoLocalTrabalho.optional
},
local_trabalho_geral_numero_inscricao: {
key: 'EventoAdmissao_InfoVinculo_InfoContrato_LocalTrabalho_LocalTrabalhoGeral_NumeroInscricao',
type: Types::String.optional
},
quantidade_horas_semanal: {
key: 'EventoAdmissao_InfoVinculo_InfoContrato_HorarioContratual_QuantidadeHorasSemanal',
type: Types::Decimal.optional
},
tipo_jornada: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_HorarioContratual_TipoJornada',
type: Types::TipoJornada.optional },
descricao_tipo_jornada: {
key: 'EventoAdmissao_InfoVinculo_InfoContrato_HorarioContratual_DescricaoJornada', type: Types::String.optional
},
descricao_tipo_jornada_2_5: {
key: 'EventoAdmissao_InfoVinculo_InfoContrato_HorarioContratual_DescricaoTipoJornada',
type: Types::String.optional
},
horario_noturno: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_HorarioContratual_HorarioNoturno',
type: Types::SNBool.optional },
codigo_categoria: { key: 'EventoAdmissao_InfoVinculo_InfoContrato_CodigoCategoria',
type: Types::CategoriaTrabalhador },
nr_recibo_evento_original: { key: 'NrReciboEventoOriginal', type: Types::String.optional },
ctps_numero: { key: 'EventoAdmissao_InfoTrabalhador_Documentos_Ctps_NumeroCtps', type: Types::String.optional },
ctps_serie: { key: 'EventoAdmissao_InfoTrabalhador_Documentos_Ctps_SerieCtps', type: Types::String.optional },
ctps_uf: { key: 'EventoAdmissao_InfoTrabalhador_Documentos_Ctps_UfCtps', type: Types::String.optional },
sindicato_cnpj: {
key: 'EventoAdmissao_InfoVinculo_InformacoesRegimeTrabalhista_InformacoesTrabalhadorCeletista_CnpjSindicatoCategoriaProfissional',
type: Types::String
},
data_de_transferencia: { key: 'EventoAdmissao_InfoVinculo_SucessaoVinculo_DataTransferencia',
type: Types::Date.optional },
cnpj_do_empregador_anterior: { key: 'EventoAdmissao_InfoVinculo_SucessaoVinculo_CnpjEmpregadorAnterior',
type: Types::String.optional },
matricula_no_empregador_anterior: { key: 'EventoAdmissao_InfoVinculo_SucessaoVinculo_MatriculaAnterior',
type: Types::String.optional },
estrangeiro_data_de_chegada_ao_brasil: { key: 'EventoAdmissao_InfoTrabalhador_TrabalhadorEstrangeiro_DataChegada',
type: Types::Date.optional },
estrangeiro_classificacao_do_ingresso_no_brasil: {
key: 'EventoAdmissao_InfoTrabalhador_TrabalhadorEstrangeiro_ClassificacaoCondicao', type: Types::Integer.optional
},
estrangeiro_casado_com_brasileiro: {
key: 'EventoAdmissao_InfoTrabalhador_TrabalhadorEstrangeiro_CasadoComBrasileiro', type: Types::SNBool.optional
},
estrangeiro_tem_filhos_brasileiros: {
key: 'EventoAdmissao_InfoTrabalhador_TrabalhadorEstrangeiro_FilhosBrasileiros', type: Types::SNBool.optional
},
descricao_proc_emi: { key: 'DescricaoProcEmi', type: Types::String.optional },
data_inicio_afastamento: { key: 'EventoAdmissao_InfoVinculo_DataInicioAfastamento', type: Types::Date.optional },
motivo_afastamento: { key: 'EventoAdmissao_InfoVinculo_CodigoMotivoAfastamento', type: Types::String.optional },
dependentes: { key: 'EventoAdmissao_Dependente', attributes: {
nome: { key: 'NomeDependente', type: Types::String },
data_de_nascimento: { key: 'DataNascimento', type: Types::Date },
incapacidade: { key: 'IncapacidadeDependente', type: Types::SNBool },
cpf: { key: 'CPFDependente', type: Types::String.optional },
tipo: { key: 'TipoDependente', type: Types::String },
dependente_de_IRRF: { key: 'DependenteIRRF', type: Types::SNBool },
dependente_de_SF: { key: 'DependenteSF', type: Types::String },
data_nascimento_formatada: { key: 'DataNascimentoFormatada', type: Types::String }
} },
horarios: { key: 'Horarios', attributes: {
dia: { key: 'Dia', type: Types::Integer },
codigo_horario_contratual: { key: 'CodigoHorarioContratual', type: Types::String }
} },
treinamentos_capacitacoes: { key: 'treiCap', attributes: {
codigo: { key: 'codTreiCap', type: Types::String }
} }
}.freeze