Commit bca51a51 by Cristian_Camargo

Update afiliaciones-afiliado.json, correcion validador de derecho

parent a61e814a
...@@ -629,7 +629,10 @@ ...@@ -629,7 +629,10 @@
"description":"Número de empleadores" "description":"Número de empleadores"
}, },
"companias": { "companias": {
"$ref": "#/components/schemas/companias" "type": "array",
"items":{
"$ref": "#/components/schemas/companias"
}
}, },
}, },
...@@ -964,6 +967,74 @@ ...@@ -964,6 +967,74 @@
"name": "ciudad" "name": "ciudad"
} }
}, },
"direccionValidador": {
"type": "object",
"properties": {
"pais":{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Id del pais."
},
"nombre": {
"type": "string",
"description": "Nombre del pais."
}
}
},
"departamento":{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Id del departamento."
},
"nombre": {
"type": "string",
"description": "Nombre del departamento."
}
}
},
"ciudad":{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Id de la ciudad."
},
"nombre": {
"type": "string",
"description": "Nombre de la ciudad."
}
}
},
"localidad":{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Id de la localidad."
},
"nombre": {
"type": "string",
"description": "Nombre de la localidad."
}
}
},
"direccionPrincipal": {
"type": "string",
"description": "direccion principal del afiliado."
},
"direccionSecundaria": {
"type": "string",
"description": "direccion secundaria del afiliado."
}
},
"xml": {
"name": "direccion"
}
},
"direccion": { "direccion": {
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -1170,33 +1241,38 @@ ...@@ -1170,33 +1241,38 @@
}, },
"gp": { "gp": {
"type":"integer", "type":"integer",
"description":"Tipo de salario" "description":"gp"
}, },
"estado": { "estado": {
"type":"integer", "type":"integer",
"description":"Tipo de salario" "description":"estado"
}, },
"fechaEntrega ": { "fechaEntrega": {
"type":"integer", "type":"string",
"description":"Tipo de salario" "format": "date-time",
"description":"Fecha entrega"
}, },
"fechaExpedicion ": { "estadoEntrega": {
"type":"integer", "type":"string",
"description":"Tipo de salario" "description":"Estado entrega"
},
"fechaExpedicion": {
"type":"string",
"format": "date-time",
"description":"Fecha de expedicion"
}, },
"causaCambio": { "causaCambio": {
"type":"integer", "type":"integer",
"description":"Tipo de salario" "description":"Causa de cambio"
}, },
"ultimoMesPagado": { "ultimoMesPagado": {
"type":"integer", "type":"integer",
"description":"Tipo de salario" "description":"Ultimo mes pagado"
}, },
"motivoBloqueo": { "motivoBloqueo": {
"type":"integer", "type":"integer",
"description":"Tipo de salario" "description":"Motivo de bloqueo"
}, },
"metodoPago": { "metodoPago": {
"type":"object", "type":"object",
"properties":{ "properties":{
...@@ -1297,24 +1373,32 @@ ...@@ -1297,24 +1373,32 @@
"resultado" "resultado"
], ],
"properties": { "properties": {
"resultado": { "estado":{
"type": "array", "type":"string",
"xml": { "description":"Estado del servicio"
"name": "resultado" },
}, "mensaje":{
"items": { "type":"string",
"$ref": "#/components/schemas/resultado" "description":"Mensaje del servicio"
}
}, },
"data": { "data": {
"type": "array",
"items":{
"$ref": "#/components/schemas/afiliadoValidador"
}
}
}
},
"afiliadoValidador": {
"type": "object",
"properties": {
"afiliado": {
"$ref": "#/components/schemas/validador" "$ref": "#/components/schemas/validador"
} }
} }
}, },
"validador": { "validador": {
"type": "object", "type": "object",
"properties": { "properties": {
"bp":{ "bp":{
"type":"integer", "type":"integer",
...@@ -1377,7 +1461,7 @@ ...@@ -1377,7 +1461,7 @@
"description":"Descripción del motivo de Retiro" "description":"Descripción del motivo de Retiro"
}, },
"direccion":{ "direccion":{
"$ref": "#/components/schemas/direccion" "$ref": "#/components/schemas/direccionValidador"
}, },
"estado":{ "estado":{
"type":"string", "type":"string",
...@@ -1390,7 +1474,10 @@ ...@@ -1390,7 +1474,10 @@
"$ref": "#/components/schemas/empleadorValidacion" "$ref": "#/components/schemas/empleadorValidacion"
}, },
"pacs":{ "pacs":{
"$ref": "#/components/schemas/pacs" "type": "array",
"items":{
"$ref": "#/components/schemas/pacs"
}
}, },
"cuotaMonetaria":{ "cuotaMonetaria":{
"$ref": "#/components/schemas/cuotaMonetaria" "$ref": "#/components/schemas/cuotaMonetaria"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment