Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S-1207 inclusão do infoRRA S 1.1 #493

Merged
merged 1 commit into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions examples/Fake/v_S_01_01_00/Fake_s1207_EvtBenPrRP.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@
$std->dmdev[0]->idedmdev = '11111111111111111111'; //Obrigatório
$std->dmdev[0]->nrbeneficio = '11111111111111111111'; //Obrigatório

$std->dmdev[0]->indrra = 'S'; //S ou null
$std->dmdev[0]->inforra = new \stdClass(); //Opcional se indRRA for NULL
$std->dmdev[0]->inforra->tpprocrra = 1; //Obrigatorio 1 -Administrativo ou 2 - judicial
$std->dmdev[0]->inforra->nrprocrra = '12345678901234567'; //Obrigatório
$std->dmdev[0]->inforra->descrra = 'Descrição do RRA'; //Obrigatório até 50 caracteres
$std->dmdev[0]->inforra->qtdmesesrra = 1; //Obrigatório de 9 atá 999.9
$std->dmdev[0]->inforra->despprocjud = new \stdClass(); //Opcional
$std->dmdev[0]->inforra->despprocjud->vlrdespcustas = 100.00; //Obrigatório
$std->dmdev[0]->inforra->despprocjud->vlrdespadvogados = 5000.00; //Obrigatório
$std->dmdev[0]->inforra->ideadv[0] = new \stdClass(); //Opcional até 1 até 99
$std->dmdev[0]->inforra->ideadv[0]->tpinsc = 1; //Obrigatório 1-CNPJ ou 2-CPF
$std->dmdev[0]->inforra->ideadv[0]->nrinsc = '12345678901234'; //Obrigatório

//Informações relativas ao período de apuração.
$std->dmdev[0]->infoperapur = new \stdClass(); //Opcional

Expand Down
88 changes: 86 additions & 2 deletions examples/schemes/v_S_01_01_00/s1207_JsonSchemaEvtBenPrRP.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,79 @@
"minLength": 1,
"maxLength": 20
},
"indrra": {
"required": false,
"type": ["string","null"],
"pattern": "^(S)$"
},
"inforra": {
"required": false,
"type": ["object","null"],
"properties": {
"tpprocrra": {
"required": true,
"type": "integer",
"minimum": 1,
"maximum": 2
},
"nrprocrra": {
"required": true,
"type": "string",
"pattern": "^[0-9]{17}|[0-9]{20}|[0-9]{21}$"
},
"descrra": {
"required": true,
"type": "string",
"minLength": 1,
"maxLength": 50
},
"qtdmesesrra": {
"required": true,
"type": "number",
"minimum": 0,
"maximum": 999.9
},
"despprocjud": {
"required": false,
"type": ["object","null"],
"properties": {
"vlrdespcustas": {
"required": true,
"type": "number"
},
"vlrdespadvogados": {
"required": true,
"type": "number"
}
}
},
"ideadv": {
"required": false,
"type": ["array","null"],
"minItems": 1,
"maxItems": 99,
"items": {
"type": "object",
"properties": {
"tpinsc": {
"required": true,
"type": "integer",
"minimum": 1,
"maximum": 2
},
"nrinsc": {
"required": true,
"type": "string",
"pattern": "^([0-9]{11}|[0-9]{14})$"
}
}
}
}
}
},
"infoperapur": {
"required": false,
"type": "object",
"type": ["object","null"],
"properties": {
"ideestab": {
"required": true,
Expand All @@ -97,7 +167,7 @@
"pattern": "^[0-9]{14}$"
},
"itensremun": {
"codrubr": {
"codrubr": {
"required": true,
"type": "string",
"minLength": 1,
Expand Down Expand Up @@ -228,6 +298,20 @@
$std->dmdev[0]->idedmdev = '11111111111111111111'; //Obrigatório
$std->dmdev[0]->nrbeneficio = '11111111111111111111'; //Obrigatório

$std->dmdev[0]->indrra = 'S'; //S ou null
$std->dmdev[0]->inforra = new \stdClass(); //Opcional se indRRA for NULL
$std->dmdev[0]->inforra->tpprocrra = 1; //Obrigatorio 1 -Administrativo ou 2 - judicial
$std->dmdev[0]->inforra->nrprocrra = '12345678901234567'; //Obrigatório
$std->dmdev[0]->inforra->descrra = 'Descrição do RRA'; //Obrigatório até 50 caracteres
$std->dmdev[0]->inforra->qtdmesesrra = 1; //Obrigatório de 9 atá 999.9
$std->dmdev[0]->inforra->despprocjud = new \stdClass(); //Opcional
$std->dmdev[0]->inforra->despprocjud->vlrdespcustas = 100.00; //Obrigatório
$std->dmdev[0]->inforra->despprocjud->vlrdespadvogados = 5000.00; //Obrigatório
$std->dmdev[0]->inforra->ideadv[0] = new \stdClass(); //Opcional até 1 até 99
$std->dmdev[0]->inforra->ideadv[0]->tpinsc = 1; //Obrigatório 1-CNPJ ou 2-CPF
$std->dmdev[0]->inforra->ideadv[0]->nrinsc = '12345678901234'; //Obrigatório


//Informações relativas ao período de apuração.
$std->dmdev[0]->infoperapur = new \stdClass(); //Opcional

Expand Down
74 changes: 72 additions & 2 deletions jsonSchemes/v_S_01_01_00/evtBenPrRP.schema
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,79 @@
"minLength": 1,
"maxLength": 20
},
"indrra": {
"required": false,
"type": ["string","null"],
"pattern": "^(S)$"
},
"inforra": {
"required": false,
"type": ["object","null"],
"properties": {
"tpprocrra": {
"required": true,
"type": "integer",
"minimum": 1,
"maximum": 2
},
"nrprocrra": {
"required": true,
"type": "string",
"pattern": "^[0-9]{17}|[0-9]{20}|[0-9]{21}$"
},
"descrra": {
"required": true,
"type": "string",
"minLength": 1,
"maxLength": 50
},
"qtdmesesrra": {
"required": true,
"type": "number",
"minimum": 0,
"maximum": 999.9
},
"despprocjud": {
"required": false,
"type": ["object","null"],
"properties": {
"vlrdespcustas": {
"required": true,
"type": "number"
},
"vlrdespadvogados": {
"required": true,
"type": "number"
}
}
},
"ideadv": {
"required": false,
"type": ["array","null"],
"minItems": 1,
"maxItems": 99,
"items": {
"type": "object",
"properties": {
"tpinsc": {
"required": true,
"type": "integer",
"minimum": 1,
"maximum": 2
},
"nrinsc": {
"required": true,
"type": "string",
"pattern": "^([0-9]{11}|[0-9]{14})$"
}
}
}
}
}
},
"infoperapur": {
"required": false,
"type": "object",
"type": ["object","null"],
"properties": {
"ideestab": {
"required": true,
Expand All @@ -80,7 +150,7 @@
"pattern": "^[0-9]{14}$"
},
"itensremun": {
"codrubr": {
"codrubr": {
"required": true,
"type": "string",
"minLength": 1,
Expand Down
Loading