/*
------------------------------------ולידציה אחוז החזקה 10% ומעלה---------------------
כאשר סוג הישות אינו שותפות
sugYeshut = 1/3

ונרשמה בסוף השנה החזקה של 10% ומעלה באחד מן השדות הבאים:
*hachzakaMenayotSof
*meRivcheyCheverChutzhSof
*meNechasimPerukSof
*meZechuyotHatzbahaSof
*hachzakaZechuyotSof
*zeRivcheyCheverChutzhSof
*zeNechasimPerukSof
*zeZechuyotHatzbahaSof

השדות הבאים יהיו חובה:
*ofiPeilut
*sivugCheverHachutz
*chovCheverHachutz
*nishletetZara
*mischarBursa30
*hachnasotPasiviyot
*revachimPasiviim
*shiurMas15
*emtzaiShlitaIsraelim.
*notNishletetZaraReason
*mishlachYadZara
*baaleyMenayot50
*shiurHacnasotYaduaa
*shiurHacnasotMimishlacYad
*makorRevahim
*shiurRevahimMimishlacYad
*notMishlachYadReason

------------------------------------ולידציה אחוז החזקה 25% ומעלה---------------------
כאשר סוג הישות אינו שותפות
sugYeshut = 1/3

ונרשמה בסוף השנה החזקה של 25% ומעלה באחד מן השדות הבאים:
*hachzakaMenayotSof
*meRivcheyCheverChutzhSof
*meNechasimPerukSof
*meZechuyotHatzbahaSof
*hachzakaZechuyotSof
*zeRivcheyCheverChutzhSof
*zeNechasimPerukSof
*zeZechuyotHatzbahaSof

השדות הבאים יהיו חובה:
*sivugMasYesNo
*cheverHachuthYesNo
*sumTahagidim
*noseyMisraIsraelim
*megishMedinaGomelet
*hevraIskitEshkolHavarot
*kayamotHacnasotPturot
*hachnasaMesek
*megishDochMehuhad

'וכן לא ניתן לסמן בשדות הבאים 'לא ידוע:
*notMishlachYadReason = [1/2]
*notNishletetZaraReason = [1/2]

-------------------------------------משלח יד זרה----------------------------
אם לא דווח על חבר החוץ כחברת משלח יד זרה (סומן 'לא') חובה למלא את השדות הבאים:
*baaleyMenayot50
*shiurHacnasotYaduaa
*shiurHacnasotMimishlacYad
*makorRevahim
*shiurRevahimMimishlacYad
*notMishlachYadReason
 
כאשר מתקיים לפחות אחד מהתנאים הבאים:
*baaleyMenayot50=2
*shiurHacnasotYaduaa=2 וגם makorRevahim=2
*hevratMehatim=2
*shlitaIsraelim75=2
*notMishlachYadReason=1/2/3

שאר השדות אינם שדות חובה.
---------------------------------חברה נשלטת זרה---------------------------
אם לא דווח על חבר החוץ כחברה נשלטת זרה (סומן 'לא') חובה למלא את השדות הבאים:
*mischarBursa30
*hachnasotPasiviyot
*revachimPasiviim
*shiurMas15
*emtzaiShlitaIsraelim.
*notNishletetZaraReason

כאשר מתקיים לפחותאחד מהתנאים הבאים: 
*hachnasotPasiviyot=2 וגם  revachimPasiviim=2
*shiurMas15=2
*emtzaiShlitaIsraelim=2
*mischarBursa30=1
*notNishletetZaraReason = 1/2/3.

שאר השדות אינם שדות חובה.
-----------------------------פעילות עסקית וחנ"ז-----------------------------
	כאשר בוחרים חנ"ז  = כן, לא ניתן לבחור אופי פעילות - עסקית	
*/
{
    "swagger": "2.0",
    "info": {
        "version": "v1",
        "title": "shTofes150Api"
    },
    "host": "localhost",
    "basePath": "/shTofes150Api",
    "schemes": [
        "http"
    ],
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "tikShana": {
            "description": "פרטי תיק ושנה",
            "title": "tikShana",
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "misTik": {
                    "description": "מספר תיק עם ספרת ביקורת תקינה",
                    "example": 104109,
                    "title": "misTik",
                    "format": "int32",
                    "maximum": 999999999,
                    "minimum": 1,
                    "required": true,
                    "type": "integer"
                },
                "shnatMas": {
                    "description": "שנת מס",
                    "example": 2020,
                    "title": "shnatMas",
                    "format": "int32",
                    "maximum": 9999,
                    "minimum": 1900,
                    "required": true,
                    "type": "integer"
                }
            }
        },
        "tofes150List": {
            "description": "רשימת טפסי 150",
            "title": "tofes150List",
            "type": "array",
            "maxItems": 10,
            "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                    "pirteyCheverHachutz": {
                        "description": "פרטי חבר החוץ",
                        "title": "pirteyCheverHachutz",
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                            "shemCheverChutzHeb": {
                                "description": "שם חבר החוץ בעברית",
                                "example": "לורם איפסום",
                                "title": "shemCheverChutzHeb",
                                "maxLength": 50,
                                "minLength": 1,
                                "pattern": "^([א-ת0-9 !.,+\"`:&*()_/\\-']+$)",
                                "required": true,
                                "type": "string"
                            },
                            "shemCheverChutzEng": {
                                "description": "שם חבר החוץ בלועזית- יש למלא את שם חבר החוץ כפי שהוא מופיע במסמכי ההתאגדות שלו",
                                "example": "Lorem Ipsum",
                                "title": "shemCheverChutzEng",
                                "maxLength": 50,
                                "minLength": 1,
                                "pattern": "^([a-zA-Z0-9 !.,+\"`:&*()_/\\-']+$)",
                                "required": true,
                                "type": "string"
                            },
                            "misparMezahe": {
                                "description": "מספר מזהה ישראלי- מתחיל ב5, 9 ספרות עם ספרת ביקורת תקינה",
                                "example": 512222225,
                                "title": "misparMezahe",
                                "maximum": 599999999,
                                "minimum": 500000000,
                                "type": "integer"
                            },
                            "misparRishumChul": {
                                "description": "מספר רישום בחו''ל- יש למלא נתון זה כפי שהוא מופיע על גבי מסמכי ההתאגדות של חבר החוץ",
                                "example": "Abcd1234",
                                "title": "misparRishumChul",
                                "maxLength": 20,
                                "minLength": 1,
                                "pattern": "^([a-zA-Z0-9]+$)",
                                "required": true,
                                "type": "string"
                            },
                            "misparZihuyMas": {
                                "description": "מספר זיהוי לצרכי מס בחו''ל",
                                "example": "12cd124",
                                "title": "misparZihuyMas",
                                "maxLength": 20,
                                "minLength": 1,
                                "pattern": "^([a-zA-Z0-9]+$)",
                                "required": true,
                                "type": "string"
                            },
                            "mohedRechishatZechuyot": {
                                "description": "מועד רכישת הזכויות- מועד רכישת הזכויות - אם הזכויות נרכשו במועדים שונים, יש לציין את מועד הרכישה המוקדם ביותר. לעניין זה, רכישה - לרבות השקעה בזכויות של חבר בני אדם בהקמה, יש למלא תאריך בפורמט DD/MM/YYYY",
                                "example": "30/05/2023",
                                "title": "mohedRechishatZechuyot",
                                "format": "date-time",
                                "required": true,
                                "type": "string"
                            },
                            "medinatToshvut": {
                                "description": " https://data.gov.il/dataset/unified/resource/9980228a-e0e9-4b17-b5a6-5a0b76cd700c מדינת התושבות- יש למלא קוד מדינה בלבד ",
                                "title": "medinatToshvut",
                                "type": "object",
                                "required": true,
                                "additionalProperties": false,
                                "properties": {
                                    "code": {
                                        "description": "קוד מדינת התושבות",
                                        "example": 380,
                                        "title": "code",
                                        "maximum": 999,
                                        "minimum": 4,
                                        "required": true,
                                        "type": "integer"
                                    }
                                }
                            },
                            "medinatHithagdut": {
                                "description": " https://data.gov.il/dataset/unified/resource/9980228a-e0e9-4b17-b5a6-5a0b76cd700c מדינת התאגדות- יש למלא קוד מדינה בלבד ",
                                "title": "medinatHithagdut",
                                "type": "object",
                                "required": true,
                                "additionalProperties": false,
                                "properties": {
                                    "code": {
                                        "description": "קוד מדינת התאגדות",
                                        "title": "code",
                                        "example": 380,
                                        "maximum": 999,
                                        "minimum": 4,
                                        "required": true,
                                        "type": "integer"
                                    }
                                }
                            },
                            "ofenHachzaka": {
                                "description": "אופן ההחזקה בחבר החוץ",
                                "description": "1= מישרין",
                                "description": "2= עקיפין",
                                "example": 2,
                                "title": "ofenHachzaka",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "required": true,
                                "type": "integer"
                            },
                            "sugYeshut": {
                                "description": "סוג הישות - יש לסמן האם חבר החוץ התאגד כחברה או כשותפות או כתאגיד מסוג אחר, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "description": "1= חברה",
                                "description": "2= שותפות",
                                "description": "3= אחר",
                                "example": 2,
                                "title": "sugYeshut",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "required": true,
                                "type": "integer"
                            },
                            "hesberSugYeshut": {
                                "description": "פירוט לסוג הישות במלל חופשי, במידה וסומן בשדה סוג ישות תאגיד מסוג אחר יש לפרט את סוג התאגיד והשדה יהיה שדה חובה",
                                "example": "יישום",
                                "title": "hesberSugYeshut",
                                "maxLength": 50,
                                "minLength": 1,
                                "pattern": "^([a-zA-Z0-9א-ת &!*:+\"'`.,{}()][_/\\-])+$",
                                "type": "string"
                            },
                            "ktovetMisradim": {
                                "description": "כתובת המשרדים",
                                "title": "ktovetMisradim",
                                "example": "הירקון 30 ירושלים",
                                "maxLength": 100,
                                "minLength": 1,
                                "pattern": "^([a-zA-Z0-9א-ת &`.,\"{}()][_/\\-'])+$",
                                "required": true,
                                "type": "string"
                            },
                            "ktovetEmail": {
                                "description": "כתובת דואר אלקטרוני",
                                "example": "cheverChutz1234@gmail.com",
                                "title": "ktovetEmail",
                                "maxLength": 50,
                                "minLength": 0,
                                "pattern": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$",
                                "type": "string"
                            },
                            "telephone": {
                                "description": "טלפון",
                                "example": "0255544455",
                                "title": "telephone",
                                "maxLength": 20,
                                "minLength": 0,
                                "pattern": "^([0-9]+$)",
                                "type": "string"
                            },
                            "kidomet": {
                                "description": " https://countrycode.org/  + קידומת - יש למלא קוד קידומת עם הסימן",
                                "title": "kidomet",
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                    "code": {
                                        "description": "קוד קידומת",
                                        "example": "+972",
                                        "title": "code",
                                        "maxLength": 5,
                                        "minLength": 0,
                                        "pattern": "^(+d{1,4}+$)",
                                        "type": "string"
                                    }
                                }
                            }
                        }
                    },
                    "peilutMisuy": {
                        "description": "פעילות ומיסוי",
                        "title": "peilutMisuy",
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                            "tchumIsuk": {
                                "description": "תחום עיסוק מרכזי - יש לציין מהו תחום הפעילות המרכזי של חבר החוץ וכן יש לציין במפורש האם מדובר בפעילות של עסק בחול",
                                "example": "משחקי NBA",
                                "title": "tchumIsuk",
                                "maxLength": 70,
                                "minLength": 1,
                                "pattern": "^([a-zA-Z0-9א-ת &!*:+\"'`., {}()][_/\\-])+$",
                                "required": true,
                                "type": "string"
                            },
                            "ofiPeilut": {
                                "description": "אופי הפעילות העיקרית, ראה הערות ולידציה החזקה סוף שנה 10% וכן פעילות עסקית - חנ\"ז",
                                "description": "יש לשים לב להנחיה בהערות למעלה",
                                "description": "1= עסקית",
                                "description": "2= פסיבית",
                                "description": ". הכנסה פסיבית, כהגדרתה בסעיף 75 ב(א)(5)",
                                "example": 2,
                                "title": "ofiPeilut",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "sivugMasYesNo": {
                                "description": "האם חבר החוץ מסווג כתאגיד שקוף לצורך מס במדינת תושבותו, ראה הערות ולידציה החזקה סוף שנה 25%%",
                                "description": "1= כן",
                                "description": "2= לא",
                                "description": "תאגיד שקוף- חבר בני אדם שרווחיו והפסדיו מיוחסים לבעלי הזכויות בו",
                                "title": "sivugMasYesNo",
                                "example": 2,
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "cheverHachuthYesNo": {
                                "description": "האם חבר החוץ ממוסה במדינת התושבות על הכנסות שהפיק מחוצה לה, ראה הערות ולידציה החזקה סוף שנה 25%",
                                "description": "1= כן",
                                "description": "2= לא",
                                "example": 1,
                                "title": "cheverHachuthYesNo",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "sumTahagidim": {
                                "description": "מספר התאגידים שחבר החוץ מחזיק במישרין, ראה הערות ולידציה החזקה סוף שנה 25%",
                                "example": 6,
                                "title": "sumTahagidim",
                                "format": "int32",
                                "maximum": 9999,
                                "minimum": 0,
                                "type": "integer"
                            }
                        }
                    },
                    "pirteyHachzaka": {
                        "description": "פרטי החזקה",
                        "title": "pirteyHachzaka",
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                            "hachzakaMenayotSof": {
                                "description": "שיעור החזקה במניות- בסוף השנה, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "example": 50.25,
                                "title": "hachzakaMenayotSof",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.00,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "required": true,
                                "type": "number"
                            },
                            "hachzakaMenayotGavoha": {
                                "description": "שיעור החזקה במניות- הגבוה בשנה",
                                "example": 50.25,
                                "title": "hachzakaMenayotGavoha",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.00,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "required": true,
                                "type": "number"
                            },
                            "meRivcheyCheverChutzhSof": {
                                "description": "שיעור הזכויות לרווחי חבר החוץ- בסוף השנה, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "example": 50.25,
                                "title": "meRivcheyCheverChutzhSof",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "meRivcheyCheverChutzhGavoha": {
                                "description": "שיעור הזכויות לרווחי חבר החוץ- הגבוה בשנה",
                                "example": 50.25,
                                "title": "meRivcheyCheverChutzhGavoha",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "meNechasimPerukSof": {
                                "description": "שיעור הזכויות לנכסים בפירוק- בסוף השנה, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "example": 50.25,
                                "title": "meNechasimPerukSof",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "meNechasimPerukGavoha": {
                                "description": " הזכויות לנכסים בפירוק- הגבוה בשנה",
                                "example": 50.25,
                                "title": "meNechasimPerukGavoha",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "meZechuyotHatzbahaSof": {
                                "description": "שיעור הזכויות בהצבעה- בסוף השנה, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "example": 50.25,
                                "title": "meZechuyotHatzbahaSof",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "meZechuyotHatzbahaGavoha": {
                                "description": "שיעור הזכויות בהצבעה- הגבוה בשנה",
                                "example": 50.25,
                                "title": "meZechuyotHatzbahaGavoha",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "meZechuyotNosafot": {
                                "description": "זכויות נוספות",
                                "example": "",
                                "title": "meZechuyotNosafot",
                                "maxLength": 50,
                                "minLength": 0,
                                "pattern": "^([a-zA-Z0-9א-ת &!*:+\"'`.,{}() ][_/\\-])+$",
                                "type": "string"
                            },
                            "meZechuyotNosafotSof": {
                                "description": "זכויות נוספות- בסוף השנה",
                                "example": 130000,
                                "title": "meZechuyotNosafotSof",
                                "format": "int32",
                                "maximum": 999999999,
                                "minimum": 0,
                                "type": "integer"
                            },
                            "meZechuyotNosafotGavoha": {
                                "description": "זכויות נוספות- הגבוה בשנה",
                                "example": 130000,
                                "title": "meZechuyotNosafotGavoha",
                                "format": "int32",
                                "maximum": 999999999,
                                "minimum": 0,
                                "type": "integer"
                            },
                            "zechuyotAcherot": {
                                "description": "זכויות אחרות",
                                "example": "",
                                "title": "zechuyotAcherot",
                                "maxLength": 50,
                                "minLength": 0,
                                "pattern": "^([a-zA-Z0-9א-ת &!*:+\"'`.,{}()][_/\\-])+$",
                                "type": "string"
                            },
                            "hachzakaZechuyotSof": {
                                "description": "שיעור החזקה בזכויות- בסוף השנה, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "example": 50.25,
                                "title": "hachzakaZechuyotSof",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "hachzakaZechuyotGavoha": {
                                "description": "שיעור החזקה בזכויות- הגבוה בשנה",
                                "example": 50.25,
                                "title": "hachzakaZechuyotGavoha",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "zeRivcheyCheverChutzhSof": {
                                "description": "שיעור הזכויות לרווחי חבר החוץ- בסוף השנה, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "example": 50.25,
                                "title": "zeRivcheyCheverChutzhSof",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "zeRivcheyCheverChutzhGavoha": {
                                "description": "שיעור הזכויות לרווחי חבר החוץ- הגבוה בשנה",
                                "example": 50.25,
                                "title": "zeRivcheyCheverChutzhGavoha",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "zeNechasimPerukSof": {
                                "description": "שיעור הזכויות לנכסים בפירוק- בסוף השנה, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "example": 50.25,
                                "title": "zeNechasimPerukSof",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "zeNechasimPerukGavoha": {
                                "description": "שיעור הזכויות לנכסים בפירוק- הגבוה בשנה",
                                "example": 50.25,
                                "title": "zeNechasimPerukGavoha",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "zeZechuyotHatzbahaSof": {
                                "description": "שיעור הזכויות בהצבעה- בסוף השנה, ראה הערות ולידציה החזקה סוף שנה 25% ו10%",
                                "example": 50.25,
                                "title": "zeZechuyotHatzbahaSof",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "zeZechuyotHatzbahaGavoha": {
                                "description": "שיעור הזכויות בהצבעה- הגבוה בשנה",
                                "example": 50.25,
                                "title": "zeZechuyotHatzbahaGavoha",
                                "format": "double",
                                "multipleOf": 0.01,
                                "maximum": 100,
                                "minimum": 0.01,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "zeZechuyotNosafot": {
                                "description": "זכויות נוספות",
                                "example": "",
                                "title": "zeZechuyotNosafot",
                                "maxLength": 50,
                                "minLength": 0,
                                "pattern": "^([a-zA-Z0-9א-ת &!*:+\"'`.,{}()][_/\\-])+$",
                                "type": "string"
                            },
                            "zeZechuyotNosafotSof": {
                                "description": "זכויות נוספות- בסוף השנה",
                                "example": 130000,
                                "title": "zeZechuyotNosafotSof",
                                "format": "int32",
                                "maximum": 999999999,
                                "minimum": 0,
                                "type": "integer"
                            },
                            "zeZechuyotNosafotGavoha": {
                                "description": "זכויות נוספות- הגבוה בשנה",
                                "example": 130000,
                                "title": "zeZechuyotNosafotGavoha",
                                "format": "int32",
                                "maximum": 999999999,
                                "minimum": 0,
                                "type": "integer"
                            }
                        }
                    },
                    "direktoryonMeydaKaspi": {
                        "description": "דירקטוריון מידע כספי",
                        "description": "1= כן",
                        "description": "2= לא",
                        "title": "direktoryonMeydaKaspi",
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                            "noseyMisraIsraelim": {
                                "description": "האם נושאי משרה / חברי דירקטוריון כוללים תושבי ישראל-ניתן למלא אופציות 1-2, ראה הערות ולידציה החזקה סוף שנה 25%",
                                "example": 2,
                                "title": "noseyMisraIsraelim",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "megishMedinaGomelet": {
                                "description": "האם חבר בני האדם מגיש דוח על הכנסותיו במדינה הגומלת-ניתן למלא אופציות 1-2, ראה הערות ולידציה החזקה סוף שנה 25%",
                                "example": 1,
                                "title": "megishMedinaGomelet",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "hevraIskitEshkolHavarot": {
                                "description": " האם חישוב מרבית רווחיה והכנסותיה של החברה הושפע מחברה עסקית-ניתן למלא אופציות 1-2, ראה הערות ולידציה החזקה סוף שנה 25%",
                                "example": 2,
                                "title": "hevraIskitEshkolHavarot",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "kayamotHacnasotPturot": {
                                "description": " האם לחברה קיימת הכנסה פסיבית פטורה או הכנסה פסיבית שאינה בבסיס המס-ניתן למלא אופציות 1-2, ראה הערות ולידציה החזקה סוף שנה 25%",
                                "example": 2,
                                "title": "kayamotHacnasotPturot",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "megishDochMehuhad": {
                                "description": "האם חבר החוץ מגיש במדינת תושבותו דו\"ח מאוחד- ניתן למלא אופציות 1-2, ראה הערות ולידציה החזקה סוף שנה 25%",
                                "example": 2,
                                "title": "megishDochMehuhad",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "hachnasaMesek": {
                                "description": "האם לחברה הכנסות פסיביות שהוגדרו לצורך סעיף 75ב כהכנסה מעסק-ניתן למלא אופציות 1-2, ראה הערות ולידציה החזקה סוף שנה 25%",
                                "example": 2,
                                "title": "hachnasaMesek",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "sivugCheverHachutz": {
                                "description": "האם סיווגת את חבר החוץ כחברה רגילה לצרכי מס בישראל-ניתן למלא אופציות [1,3-7], ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "1= כן",
                                "description": "3= חברה משפחתית",
                                "description": "4= חברת בית",
                                "description": "5= חברה להחזקת נכסי נאמנות",
                                "description": "6=יישום (חוזר LLC)",
                                "description": "7=שותפות",
                                "example": 3,
                                "title": "sivugCheverHachutz",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "chovCheverHachutz": {
                                "description": " האם יש לך חוב כלשהוא כלפי חבר החוץ בתום שנת המס-ניתן למלא אופציות 1-2, ראה הערות ולידציה החזקה סוף שנה 10%",
                                "example": 2,
                                "title": "chovCheverHachutz",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "sumChovCheverHachutz": {
                                "description": "מהו סכום החוב לחבר החוץ בתום שנת המס, כאשר השדה 'האם יש לך חוב..' = כן, שדה זה הינו חובה",
                                "example": 6500,
                                "title": "sumChovCheverHachutz",
                                "format": "int32",
                                "maximum": 9999999999,
                                "minimum": 0,
                                "type": "integer"
                            },
                            "nishletetZara": {
                                "description": "ההאם דיווחת על חבר החוץ כחברה נשלטת זרה - ניתן למלא אופציות 1-2, ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- חברה נשלטת זרה  ופעילות עסקית - חנ\"ז ",
                                "example": 1,
                                "title": "nishletetZara",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "mischarBursa30": {
                                "description": "האם 30%  ויותר מזכויות חבר החוץ רשומות למסחר בבורסה- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- חברה נשלטת זרה ",
                                "example": 2,
                                "title": "mischarBursa30",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "hachnasotPasiviyot": {
                                "description": " האם רוב ההכנסות פסיביות- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- חברה נשלטת זרה",
                                "example": 1,
                                "title": "hachnasotPasiviyot",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "shiurHacnasotPasiviyot": {
                                "description": " מהו שיעור ההכנסות הפסיביות ביחס לסך ההכנסות- כאשר סומן 'לא' בשדה 'האם רוב ההכנסות פסיביות'- שדה זה הינו שדה חובה",
                                "example": 15.5,
                                "title": "shiurHacnasotPasiviyot",
                                "format": "double",
                                "multipleOf": 0,
                                "maximum": 50.00,
                                "minimum": 0,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "revachimPasiviim": {
                                "description": " האם רוב הרווחים פסיביים-ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- חברה נשלטת זרה ",
                                "example": 1,
                                "title": "revachimPasiviim",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "shiurRevahimPasiviim": {
                                "description": "מהו שיעור הרווחים הפסיביים ביחס לסך הרווחים -כאשר סומן  'לא' בשדה 'האם רוב הרווחים פסיביים'- שדה זה הינו שדה חובה",
                                "example": 30,
                                "title": "shiurRevahimPasiviim",
                                "format": "double",
                                "multipleOf": 0,
                                "maximum": 50.00,
                                "minimum": 0,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "shiurMas15": {
                                "description": "שיעור המס בפועל קטן מ- 15%- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- חברה נשלטת זרה ",
                                "example": 1,
                                "title": "shiurMas15",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "emtzaiShlitaIsraelim": {
                                "description": " רוב אמצעי השליטה בידי ישראלים- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- חברה נשלטת זרה ",
                                "example": 2,
                                "title": "emtzaiShlitaIsraelim",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "notNishletetZaraReason": {
                                "description": "סיבה אחרת שלא דווח על חבר החוץ כחברה נשלטת זרה, ניתן למלא אופציות 1-3,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- חברה נשלטת זרה ",
                                "example": 1,
                                "title": "notNishletetZaraReason",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2,
                                    3
                                ],
                                "type": "integer"
                            },
                            "remarkNotNishletetZara": {
                                "description": "הערה -(עבור סיבה שלא דווח על החברה כנשלטת זרה)",
                                "title": "remarkNotNishletetZara",
                                "example": "לורם איפסום",
                                "maxLength": 100,
                                "minLength": 0,
                                "pattern": "^([a-zA-Z0-9א-ת &`.,\"{}()][_/\\-'])+$",
                                "required": false,
                                "type": "string"
                            },
                            "mishlachYadZara": {
                                "description": "  האם דיווחת על חבר החוץ כחברת משלח יד זרה- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- משלח יד זרה ",
                                "example": 2,
                                "title": "mishlachYadZara",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "hevratMehatim": {
                                "description": "האם חבר החוץ הוא חברת מעטים-ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- משלח יד זרה ",
                                "example": 2,
                                "title": "hevratMehatim",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "baaleyMenayot50": {
                                "description": " האם 50% מבעלי המניות עוסקים במשלח יד מיוחד- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- משלח יד זרה ",
                                "example": 4,
                                "title": "baaleyMenayot50",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "shiurHacnasotYaduaa": {
                                "description": "- האם מרבית הכנסות החברה מקורן במשלח יד מיוחד- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- משלח יד זרה",
                                "title": "shiurHacnasotYaduaa",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "shiurHacnasotMimishlacYad": {
                                "description": "  מהו שיעור ההכנסות ממשלח יד מיוחד- כאשר סומן לא בשדה 'האם מרבית הכנסות החברה מקורן במשלח יד מיוחד' שדה זה הינו שדה חובה",
                                "example": 40.6,
                                "title": "shiurHacnasotMimishlacYad",
                                "format": "double",
                                "multipleOf": 0,
                                "maximum": 50.00,
                                "minimum": 0,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "makorRevahim": {
                                "description": " האם המקור של מרבית הרווחים הינו ממשלח יד מיוחד- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- משלח יד זרה ",
                                "example": 1,
                                "title": "makorRevahim",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "type": "integer"
                            },
                            "shiurRevahimMimishlacYad": {
                                "description": " מהו שיעור הרווחים ממשלח יד מיוחד- כאשר סומן לא בשדה 'האם מקור של מרבית הרווחים הינו ממשלח יד מיוחד' – שדה זה הינו שדה חובה",
                                "example": 10,
                                "title": "shiurRevahimMimishlacYad",
                                "format": "double",
                                "multipleOf": 0,
                                "maximum": 50.00,
                                "minimum": 0,
                                "pattern": "^-?\\d+(\\.\\d{1,2})?$",
                                "type": "number"
                            },
                            "shlitaIsraelim75": {
                                "description": "האם 75%  ויותר מאמצעי השליטה בידי ישראלים- ניתן למלא אופציות 1-2,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- משלח יד זרה ",
                                "example": 1,
                                "title": "shlitaIsraelim75",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2
                                ],
                                "required": true,
                                "type": "integer"
                            },
                            "notMishlachYadReason": {
                                "description": "סיבה אחרת שלא דווח על חבר החוץ כחברת משלח יד זרה, ניתן למלא אופציות 1-3,  ראה הערות ולידציה החזקה סוף שנה 10%",
                                "description": "יש לשים לב להנחיה בהערות למעלה- משלח יד זרה ",
                                "example": 1,
                                "title": "notMishlachYadReason",
                                "format": "int32",
                                "enum": [
                                    1,
                                    2,
                                    3
                                ],
                                "type": "integer"
                            },
                            "remarkNotMishlachYad": {
                                "description": "הערה -(עבור סיבה שלא דווח על החברה כחברת משלח יד)",
                                "title": "remarkNotMishlachYad",
                                "example": "לורם איפסום",
                                "maxLength": 100,
                                "minLength": 0,
                                "pattern": "^([a-zA-Z0-9א-ת &`.,\"{}()][_/\\-'])+$",
                                "required": false,
                                "type": "string"
                            }

                        }
                    }
                }
            }
        }
    }
}