Publication schema
Job publication schema definitions
JSON schema
  1. {
  2.     "$schema": "http://json-schema.org/draft-04/schema",
  3.     "id": "http://api.xeebo.com/schema/xeebo-integration-publication-schema-v1.0.0.json",
  4.     "title": "Publication schema",
  5.     "description": "Job publication schema definitions",
  6.     "type": "object",
  7.     "definitions": {
  8.         "versionType": {
  9.             "title": "Schema Version",
  10.             "description": "Schema version string",
  11.             "type": "string",
  12.             "pattern": "^[0-9]\\.[0-9]\\.[0-9]$"
  13.         },
  14.         "idType": {
  15.             "title": "Identifier",
  16.             "description": "Company, job or publication identifier",
  17.             "type": "string"
  18.         },
  19.         "isoDatetimeType": {
  20.             "title": "Datetime",
  21.             "description": "ISO datetime string",
  22.             "type": [
  23.                 "string",
  24.                 "null"
  25.             ],
  26.             "format": "datetime"
  27.         },
  28.         "countryCodeType": {
  29.             "title": "Country code",
  30.             "description": "An iso-3166-alpha-2 country code",
  31.             "type": [
  32.                 "string",
  33.                 "null"
  34.             ]
  35.         },
  36.         "textType": {
  37.             "title": "Text",
  38.             "description": "Text including text linebreaks, e.g. \n",
  39.             "type": [
  40.                 "string",
  41.                 "null"
  42.             ]
  43.         },
  44.         "textLineType": {
  45.             "title": "TextLine",
  46.             "description": "Text without linebreaks",
  47.             "type": [
  48.                 "string",
  49.                 "null"
  50.             ]
  51.         },
  52.         "htmlSimpleType": {
  53.             "title": "Simple HTML",
  54.             "description": "HTML including the following elements <br />, <p>, <ul>, <li>, <b>",
  55.             "type": [
  56.                 "string",
  57.                 "null"
  58.             ]
  59.         },
  60.         "comNameType": {
  61.             "title": "Company identifier (company id, not real company name)",
  62.             "description": "The xeebo company identifier. Same as used in your company profile page url.",
  63.             "$ref": "#/definitions/idType"
  64.         },
  65.         "jobNameType": {
  66.             "title": "Job identifier",
  67.             "description": "A unique job identifier given from your system",
  68.             "$ref": "#/definitions/idType"
  69.         },
  70.         "pubNameType": {
  71.             "title": "Publication identifier",
  72.             "description": "A unique publication identifier given from your system",
  73.             "$ref": "#/definitions/idType"
  74.         },
  75.         "categoryType": {
  76.             "title": "Category Type",
  77.             "description": "Job category types, see categories.json",
  78.             "type": "array",
  79.             "items": {
  80.                 "type": "string"
  81.             }
  82.         },
  83.         "sectorType": {
  84.             "title": "Sector Type",
  85.             "description": "Company sector types, see sectors.json",
  86.             "type": "array",
  87.             "items": {
  88.                 "type": "string"
  89.             }
  90.         },
  91.         "headlineType": {
  92.             "title": "Publication headline",
  93.             "description": "The publication headline",
  94.             "$ref": "#/definitions/textLineType"
  95.         },
  96.         "introType": {
  97.             "title": "Publication intro",
  98.             "description": "The publication intro text",
  99.             "$ref": "#/definitions/htmlSimpleType"
  100.         },
  101.         "titleType": {
  102.             "title": "Job title",
  103.             "description": "The publication job title (required)",
  104.             "type": "string"
  105.         },
  106.         "captionType": {
  107.             "title": "Job title caption",
  108.             "description": "The publication job title caption aka sub title",
  109.             "$ref": "#/definitions/textLineType"
  110.         },
  111.         "descriptionType": {
  112.             "title": "Job description",
  113.             "description": "The publication description text",
  114.             "$ref": "#/definitions/htmlSimpleType"
  115.         },
  116.         "requirementType": {
  117.             "title": "Job requirement",
  118.             "description": "The job requirement text",
  119.             "$ref": "#/definitions/htmlSimpleType"
  120.         },
  121.         "dutyType": {
  122.             "title": "Job duty",
  123.             "description": "The job duty text",
  124.             "$ref": "#/definitions/htmlSimpleType"
  125.         },
  126.         "benefitType": {
  127.             "title": "Job benefit",
  128.             "description": "The job benefit text",
  129.             "$ref": "#/definitions/htmlSimpleType"
  130.         },
  131.         "infoType": {
  132.             "title": "Job info",
  133.             "description": "The job info text",
  134.             "$ref": "#/definitions/htmlSimpleType"
  135.         },
  136.         "summaryType": {
  137.             "title": "Job summary",
  138.             "description": "The job summary text",
  139.             "$ref": "#/definitions/htmlSimpleType"
  140.         },
  141.         "footerType": {
  142.             "title": "Publication footer",
  143.             "description": "The publication footer text",
  144.             "$ref": "#/definitions/htmlSimpleType"
  145.         },
  146.         "categoriesType": {
  147.             "title": "Job categories",
  148.             "description": "A list of job categories",
  149.             "$ref": "#/definitions/categoryType"
  150.         },
  151.         "sectorsType": {
  152.             "title": "Company sectors",
  153.             "description": "A list of company sectors",
  154.             "$ref": "#/definitions/sectorType"
  155.         },
  156.         "employmentType": {
  157.             "title": "Job employment type",
  158.             "description": "The job employment type",
  159.             "type": [
  160.                 "string",
  161.                 "null"
  162.             ],
  163.             "enum": [
  164.                 "permanent",
  165.                 "temporary",
  166.                 "apprenticeship",
  167.                 "internship",
  168.                 "tryout",
  169.                 "holiday",
  170.                 "freelance",
  171.                 "supplementary"
  172.             ]
  173.         },
  174.         "occupationType": {
  175.             "title": "Occupation",
  176.             "description": "The occupation (simple job name)",
  177.             "type": "string"
  178.         },
  179.         "workloadType": {
  180.             "title": "Job workload",
  181.             "description": "The job workload given as min and max integer",
  182.             "type": "object",
  183.             "properties": {
  184.                 "min": {
  185.                     "title": "Minimal amount of workload",
  186.                     "description": "Minimal amount of workload in percent",
  187.                     "type": [
  188.                         "integer",
  189.                         "null"
  190.                     ],
  191.                     "enum": [
  192.                         0,
  193.                         10,
  194.                         20,
  195.                         30,
  196.                         40,
  197.                         50,
  198.                         60,
  199.                         70,
  200.                         80,
  201.                         90,
  202.                         100
  203.                     ]
  204.                 },
  205.                 "max": {
  206.                     "title": "Maximal workload",
  207.                     "description": "Maximal amount of workload in percent",
  208.                     "type": [
  209.                         "integer",
  210.                         "null"
  211.                     ],
  212.                     "enum": [
  213.                         10,
  214.                         20,
  215.                         30,
  216.                         40,
  217.                         50,
  218.                         60,
  219.                         70,
  220.                         80,
  221.                         90,
  222.                         100
  223.                     ]
  224.                 }
  225.             },
  226.             "required": [
  227.                 "min",
  228.                 "max"
  229.             ],
  230.             "additionalProperties": false
  231.         },
  232.         "careerStatusType": {
  233.             "title": "Career status",
  234.             "description": "The minmal career status reuqired for this job. 10:Learner, 20:Student 30:Job Beginner 40:Professional experienced 50:Supervisor 60:Manager 70:Director",
  235.             "type": "string",
  236.             "enum": [
  237.                 "10",
  238.                 "20",
  239.                 "30",
  240.                 "40",
  241.                 "50",
  242.                 "60",
  243.                 "70"
  244.             ]
  245.         },
  246.         "positionType": {
  247.             "title": "Postion type",
  248.             "description": "The job position type. 10:Employee, 20:Position with responsibilities, 30:Executive position",
  249.             "type": "string",
  250.             "enum": [
  251.                 "10",
  252.                 "20",
  253.                 "30"
  254.             ]
  255.         },
  256.         "workExperienceYearsType": {
  257.             "title": "Work experience years",
  258.             "description": "The minimal work experience years required for this job",
  259.             "type": "integer"
  260.         },
  261.         "minimalAgeYears": {
  262.             "title": "Minimal age",
  263.             "description": "The minimal age in years required for this job",
  264.             "type": "integer"
  265.         },
  266.         "skillsType": {
  267.             "title": "Skills",
  268.             "description": "A list of skills required for this job",
  269.             "type": "array",
  270.             "items": {
  271.                 "type": "string"
  272.             }
  273.         },
  274.         "educationFieldType": {
  275.             "title": "Eduction Field",
  276.             "description": "The international standard classification of Education (Level 2) required for this job. http://www.unesco.org/education/information/nfsunesco/doc/isced_1997.htm",
  277.             "type": "string",
  278.             "enum": [
  279.                 "01",
  280.                 "09",
  281.                 "14",
  282.                 "21",
  283.                 "22",
  284.                 "31",
  285.                 "32",
  286.                 "34",
  287.                 "38",
  288.                 "42",
  289.                 "44",
  290.                 "46",
  291.                 "48",
  292.                 "52",
  293.                 "54",
  294.                 "58",
  295.                 "62",
  296.                 "64",
  297.                 "72",
  298.                 "76",
  299.                 "81",
  300.                 "84",
  301.                 "85",
  302.                 "86"
  303.             ]
  304.         },
  305.         "educationLevelType": {
  306.             "title": "Eduction Level",
  307.             "description": "The educational background required for this job. European Qualifications Framework (EQF) Level, http://ec.europa.eu/education/lifelong-learning-policy/eqf_en.htm",
  308.             "type": "string",
  309.             "enum": [
  310.                 "1",
  311.                 "2",
  312.                 "3",
  313.                 "4",
  314.                 "5",
  315.                 "6",
  316.                 "7",
  317.                 "8"
  318.             ]
  319.         },
  320.         "educationType": {
  321.             "title": "Education",
  322.             "description": "Education description",
  323.             "type": "object",
  324.             "properties": {
  325.                 "field": {
  326.                     "$ref": "#/definitions/educationFieldType"
  327.                 },
  328.                 "level": {
  329.                     "$ref": "#/definitions/educationLevelType"
  330.                 }
  331.             }
  332.         },
  333.         "criteriaType": {
  334.             "title": "Search criteria",
  335.             "description": "Searchable job criteria",
  336.             "type": "object",
  337.             "properties": {
  338.                 "age": {
  339.                     "$ref": "#/definitions/minimalAgeYears"
  340.                 },
  341.                 "categories": {
  342.                     "$ref": "#/definitions/categoriesType"
  343.                 },
  344.                 "sectors": {
  345.                     "$ref": "#/definitions/sectorsType"
  346.                 },
  347.                 "education": {
  348.                     "$ref": "#/definitions/educationType"
  349.                 },
  350.                 "employment": {
  351.                     "$ref": "#/definitions/employmentType"
  352.                 },
  353.                 "experience": {
  354.                     "$ref": "#/definitions/workExperienceYearsType"
  355.                 },
  356.                 "occupation": {
  357.                     "$ref": "#/definitions/occupationType"
  358.                 },
  359.                 "position": {
  360.                     "$ref": "#/definitions/positionType"
  361.                 },
  362.                 "skills": {
  363.                     "$ref": "#/definitions/skillsType"
  364.                 },
  365.                 "status": {
  366.                     "$ref": "#/definitions/careerStatusType"
  367.                 },
  368.                 "workload": {
  369.                     "$ref": "#/definitions/workloadType"
  370.                 }
  371.             },
  372.             "additionalProperties": false
  373.         },
  374.         "addressType": {
  375.             "title": "Company address",
  376.             "description": "The company address",
  377.             "type": "object",
  378.             "properties": {
  379.                 "name": {
  380.                     "title": "Name",
  381.                     "description": "Workplace location, department or company name",
  382.                     "type": [
  383.                         "string",
  384.                         "null"
  385.                     ]
  386.                 },
  387.                 "department": {
  388.                     "title": "Workplace department",
  389.                     "description": "The department of address line or first address line",
  390.                     "type": [
  391.                         "string",
  392.                         "null"
  393.                     ]
  394.                 },
  395.                 "poBox": {
  396.                     "title": "Post office box",
  397.                     "description": "The company post office box",
  398.                     "type": [
  399.                         "string",
  400.                         "null"
  401.                     ]
  402.                 },
  403.                 "street": {
  404.                     "title": "Street",
  405.                     "type": [
  406.                         "string",
  407.                         "null"
  408.                     ]
  409.                 },
  410.                 "zip": {
  411.                     "title": "Postal code",
  412.                     "description": "The postal code reference for a given city",
  413.                     "type": [
  414.                         "string",
  415.                         "null"
  416.                     ]
  417.                 },
  418.                 "city": {
  419.                     "title": "The location city",
  420.                     "type": [
  421.                         "string",
  422.                         "null"
  423.                     ]
  424.                 },
  425.                 "state": {
  426.                     "title": "The location state",
  427.                     "type": [
  428.                         "string",
  429.                         "null"
  430.                     ]
  431.                 },
  432.                 "country": {
  433.                     "title": "Country code",
  434.                     "description": "The aplha-2 country code",
  435.                     "type": [
  436.                         "string",
  437.                         "null"
  438.                     ],
  439.                     "pattern": "^[A-Z]{2}$"
  440.                 }
  441.             },
  442.             "additionalProperties": false
  443.         },
  444.         "contactType": {
  445.             "title": "Company contact",
  446.             "description": "The company contact person",
  447.             "type": "object",
  448.             "properties": {
  449.                 "salutation": {
  450.                     "title": "Salutation",
  451.                     "description": "The contact persons salutation female (F), mae (M)",
  452.                     "type": [
  453.                         "string",
  454.                         "null"
  455.                     ],
  456.                     "enum": [
  457.                         "M",
  458.                         "F"
  459.                     ]
  460.                 },
  461.                 "firstName": {
  462.                     "title": "Firstname",
  463.                     "description": "The contact persons firstname",
  464.                     "type": [
  465.                         "string",
  466.                         "null"
  467.                     ]
  468.                 },
  469.                 "lastName": {
  470.                     "title": "Lastname",
  471.                     "description": "The contact persons lastname",
  472.                     "type": [
  473.                         "string",
  474.                         "null"
  475.                     ]
  476.                 },
  477.                 "email": {
  478.                     "title": "Salutation",
  479.                     "description": "The contact persons email contact address",
  480.                     "type": [
  481.                         "string",
  482.                         "null"
  483.                     ],
  484.                     "format": "email"
  485.                 }
  486.             },
  487.             "additionalProperties": false
  488.         },
  489.         "workplaceType": {
  490.             "title": "Job workplace",
  491.             "description": "The job workplace identifier or workplace description",
  492.             "type": "object",
  493.             "properties": {
  494.                 "id": {
  495.                     "title": "Workplace ID",
  496.                     "description": "Workplace id (external identifier) as defined in xeebo",
  497.                     "type": [
  498.                         "string",
  499.                         "null"
  500.                     ]
  501.                 },
  502.                 "name": {
  503.                     "title": "Name",
  504.                     "description": "Workplace location, department or company name",
  505.                     "type": [
  506.                         "string",
  507.                         "null"
  508.                     ]
  509.                 },
  510.                 "department": {
  511.                     "title": "Workplace department",
  512.                     "description": "The department of address line or first address line",
  513.                     "type": [
  514.                         "string",
  515.                         "null"
  516.                     ]
  517.                 },
  518.                 "street": {
  519.                     "title": "Street",
  520.                     "type": [
  521.                         "string",
  522.                         "null"
  523.                     ]
  524.                 },
  525.                 "zip": {
  526.                     "title": "Postal code",
  527.                     "description": "The postal code reference for a given city",
  528.                     "type": [
  529.                         "string",
  530.                         "null"
  531.                     ]
  532.                 },
  533.                 "city": {
  534.                     "title": "The location city",
  535.                     "type": [
  536.                         "string",
  537.                         "null"
  538.                     ]
  539.                 },
  540.                 "state": {
  541.                     "title": "The location state",
  542.                     "type": [
  543.                         "string",
  544.                         "null"
  545.                     ]
  546.                 },
  547.                 "country": {
  548.                     "title": "Country code",
  549.                     "description": "The aplha-2 country code",
  550.                     "type": [
  551.                         "string",
  552.                         "null"
  553.                     ],
  554.                     "pattern": "^[A-Z]{2}$"
  555.                 }
  556.             },
  557.             "additionalProperties": false
  558.         },
  559.         "countryType": {
  560.             "title": "Job location country",
  561.             "description": "The job location country",
  562.             "$ref": "#/definitions/countryCodeType"
  563.         },
  564.         "localeType": {
  565.             "title": "Publication language",
  566.             "description": "The job publication text language locale as lower case iso-639-alpha-2 language locale code",
  567.             "type": [
  568.                 "string",
  569.                 "null"
  570.             ]
  571.         },
  572.         "publishedType": {
  573.             "title": "Publish marker",
  574.             "description": "Boolean marker for published publications",
  575.             "type": "boolean"
  576.         },
  577.         "docType": {
  578.             "title": "Document",
  579.             "description": "Document",
  580.             "type": "object",
  581.             "properties": {
  582.                 "typ": {
  583.                     "title": "Document type",
  584.                     "description": "The document type",
  585.                     "type": "string",
  586.                     "enum": [
  587.                         "letter",
  588.                         "resume",
  589.                         "certificate",
  590.                         "diploma",
  591.                         "qualification",
  592.                         "check",
  593.                         "other"
  594.                     ]
  595.                 },
  596.                 "maxAmount": {
  597.                     "title": "Maximal amount of documents",
  598.                     "description": "The maximal amount of documents allowed for upload of this document type",
  599.                     "type": [
  600.                         "integer",
  601.                         "null"
  602.                     ]
  603.                 },
  604.                 "minAmount": {
  605.                     "title": "Minimal amount of documents",
  606.                     "description": "The minimal amount of documents allowed for upload of this document type",
  607.                     "type": [
  608.                         "integer",
  609.                         "null"
  610.                     ]
  611.                 },
  612.                 "required": {
  613.                     "title": "Document required",
  614.                     "description": "Marks the document as required",
  615.                     "type": [
  616.                         "boolean",
  617.                         "null"
  618.                     ]
  619.                 },
  620.                 "size": {
  621.                     "title": "Document data size",
  622.                     "description": "The document data size in bytes",
  623.                     "type": [
  624.                         "integer",
  625.                         "null"
  626.                     ]
  627.                 }
  628.             },
  629.             "additionalProperties": false
  630.         },
  631.         "documentsType": {
  632.             "title": "Application documents",
  633.             "description": "List of required and optional application documents",
  634.             "type": "array",
  635.             "items": {
  636.                 "$ref": "#/definitions/docType"
  637.             },
  638.             "minItems": 0
  639.         },
  640.         "questionOptionType": {
  641.             "title": "Question Option",
  642.             "description": "The question option type",
  643.             "properties": {
  644.                 "label": {
  645.                     "type": [
  646.                         "integer",
  647.                         "string",
  648.                         "null"
  649.                     ]
  650.                 },
  651.                 "value": {
  652.                     "type": [
  653.                         "integer",
  654.                         "string",
  655.                         "null"
  656.                     ]
  657.                 }
  658.             },
  659.             "additionalProperties": false
  660.         },
  661.         "questionBaseType": {
  662.             "title": "Question",
  663.             "description": "The application question definition",
  664.             "type": "object",
  665.             "properties": {
  666.                 "id": {
  667.                     "title": "Question id",
  668.                     "description": "The application question id",
  669.                     "type": "string"
  670.                 },
  671.                 "title": {
  672.                     "title": "Question title",
  673.                     "description": "The application question title",
  674.                     "type": "string"
  675.                 },
  676.                 "description": {
  677.                     "title": "Question description",
  678.                     "description": "The application question description",
  679.                     "type": [
  680.                         "string",
  681.                         "null"
  682.                     ]
  683.                 },
  684.                 "required": {
  685.                     "title": "Marks the question as required",
  686.                     "type": "boolean"
  687.                 }
  688.             }
  689.         },
  690.         "checkBoxQuestionType": {
  691.             "title": "Checkbox Question",
  692.             "description": "The checkbox question type",
  693.             "type": "object",
  694.             "allOf": [
  695.                 {
  696.                     "properties": {
  697.                         "typ": {
  698.                             "title": "Question type",
  699.                             "description": "The question type",
  700.                             "type": "string",
  701.                             "enum": [
  702.                                 "checkbox"
  703.                             ]
  704.                         },
  705.                         "default": {
  706.                             "title": "Default question value",
  707.                             "description": "The default question value",
  708.                             "type": "array",
  709.                             "items": {
  710.                                 "type": [
  711.                                     "integer",
  712.                                     "string",
  713.                                     "null"
  714.                                 ]
  715.                             },
  716.                             "minItems": 0
  717.                         },
  718.                         "options": {
  719.                             "title": "Question options",
  720.                             "description": "The application question text",
  721.                             "type": "array",
  722.                             "items": {
  723.                                 "$ref": "#/definitions/questionOptionType"
  724.                             }
  725.                         }
  726.                     }
  727.                 },
  728.                 {
  729.                     "$ref": "#/definitions/questionBaseType"
  730.                 }
  731.             ]
  732.         },
  733.         "radioQuestionType": {
  734.             "title": "Radio Question",
  735.             "description": "The radio question type",
  736.             "type": "object",
  737.             "allOf": [
  738.                 {
  739.                     "properties": {
  740.                         "typ": {
  741.                             "title": "Question type",
  742.                             "description": "The question type",
  743.                             "type": "string",
  744.                             "enum": [
  745.                                 "radio"
  746.                             ]
  747.                         },
  748.                         "default": {
  749.                             "title": "Default question value",
  750.                             "description": "The default question value",
  751.                             "type": [
  752.                                 "integer",
  753.                                 "string",
  754.                                 "null"
  755.                             ]
  756.                         },
  757.                         "options": {
  758.                             "title": "Question options",
  759.                             "description": "The application question text",
  760.                             "type": "array",
  761.                             "items": {
  762.                                 "$ref": "#/definitions/questionOptionType"
  763.                             }
  764.                         }
  765.                     }
  766.                 },
  767.                 {
  768.                     "$ref": "#/definitions/questionBaseType"
  769.                 }
  770.             ]
  771.         },
  772.         "selectQuestionType": {
  773.             "title": "Select Question",
  774.             "description": "The select question type",
  775.             "type": "object",
  776.             "allOf": [
  777.                 {
  778.                     "properties": {
  779.                         "typ": {
  780.                             "title": "Question type",
  781.                             "description": "The question type",
  782.                             "type": "string",
  783.                             "enum": [
  784.                                 "select"
  785.                             ]
  786.                         },
  787.                         "default": {
  788.                             "title": "Default question value",
  789.                             "description": "The default question value",
  790.                             "type": [
  791.                                 "integer",
  792.                                 "string",
  793.                                 "null"
  794.                             ]
  795.                         },
  796.                         "options": {
  797.                             "title": "Question options",
  798.                             "description": "The application question text",
  799.                             "type": "array",
  800.                             "items": {
  801.                                 "$ref": "#/definitions/questionOptionType"
  802.                             }
  803.                         }
  804.                     }
  805.                 },
  806.                 {
  807.                     "$ref": "#/definitions/questionBaseType"
  808.                 }
  809.             ]
  810.         },
  811.         "multiSelectQuestionType": {
  812.             "title": "Multi Select Question",
  813.             "description": "The multi select question type",
  814.             "type": "object",
  815.             "allOf": [
  816.                 {
  817.                     "properties": {
  818.                         "typ": {
  819.                             "title": "Question type",
  820.                             "description": "The question type",
  821.                             "type": "string",
  822.                             "enum": [
  823.                                 "multiselect"
  824.                             ]
  825.                         },
  826.                         "default": {
  827.                             "title": "Default question value",
  828.                             "description": "The default question value",
  829.                             "type": "array",
  830.                             "items": {
  831.                                 "type": [
  832.                                     "integer",
  833.                                     "string",
  834.                                     "null"
  835.                                 ]
  836.                             },
  837.                             "minItems": 0
  838.                         },
  839.                         "options": {
  840.                             "title": "Question options",
  841.                             "description": "The application question text",
  842.                             "type": "array",
  843.                             "items": {
  844.                                 "$ref": "#/definitions/questionOptionType"
  845.                             }
  846.                         }
  847.                     }
  848.                 },
  849.                 {
  850.                     "$ref": "#/definitions/questionBaseType"
  851.                 }
  852.             ]
  853.         },
  854.         "textAreaQuestionType": {
  855.             "title": "Multiline Text Question",
  856.             "description": "The multiline text (textarea) question type",
  857.             "type": "object",
  858.             "allOf": [
  859.                 {
  860.                     "properties": {
  861.                         "typ": {
  862.                             "title": "Question type",
  863.                             "description": "The question type",
  864.                             "type": "string",
  865.                             "enum": [
  866.                                 "textarea"
  867.                             ]
  868.                         },
  869.                         "default": {
  870.                             "title": "Default text value",
  871.                             "description": "The default answer text value",
  872.                             "type": [
  873.                                 "string",
  874.                                 "null"
  875.                             ]
  876.                         }
  877.                     }
  878.                 },
  879.                 {
  880.                     "$ref": "#/definitions/questionBaseType"
  881.                 }
  882.             ]
  883.         },
  884.         "textLineQuestionType": {
  885.             "title": "Text Line Question",
  886.             "description": "The single text line question type",
  887.             "type": "object",
  888.             "allOf": [
  889.                 {
  890.                     "properties": {
  891.                         "typ": {
  892.                             "title": "Question type",
  893.                             "description": "The question type",
  894.                             "type": "string",
  895.                             "enum": [
  896.                                 "textline"
  897.                             ]
  898.                         },
  899.                         "default": {
  900.                             "title": "Default text value",
  901.                             "description": "The default answer text value",
  902.                             "type": [
  903.                                 "string",
  904.                                 "null"
  905.                             ]
  906.                         }
  907.                     }
  908.                 },
  909.                 {
  910.                     "$ref": "#/definitions/questionBaseType"
  911.                 }
  912.             ]
  913.         },
  914.         "questionGroupType": {
  915.             "title": "Questionnaire Group",
  916.             "description": "The application question group group definition",
  917.             "type": "object",
  918.             "properties": {
  919.                 "id": {
  920.                     "title": "Questionnaire group id",
  921.                     "description": "The application question group group id",
  922.                     "type": "string"
  923.                 },
  924.                 "typ": {
  925.                     "title": "Questionnaire group type",
  926.                     "description": "The question group group type",
  927.                     "type": "string",
  928.                     "enum": [
  929.                         "group"
  930.                     ]
  931.                 },
  932.                 "title": {
  933.                     "title": "Questionnaire text",
  934.                     "description": "The application question group text",
  935.                     "type": "string"
  936.                 },
  937.                 "description": {
  938.                     "title": "Questionnaire description",
  939.                     "description": "The application question group description",
  940.                     "type": [
  941.                         "string",
  942.                         "null"
  943.                     ]
  944.                 },
  945.                 "questions": {
  946.                     "title": "Questionnaire groups",
  947.                     "description": "The application question group questions",
  948.                     "type": "array",
  949.                     "items": {
  950.                         "anyOf": [
  951.                             {
  952.                                 "$ref": "#/definitions/checkBoxQuestionType"
  953.                             },
  954.                             {
  955.                                 "$ref": "#/definitions/radioQuestionType"
  956.                             },
  957.                             {
  958.                                 "$ref": "#/definitions/selectQuestionType"
  959.                             },
  960.                             {
  961.                                 "$ref": "#/definitions/multiSelectQuestionType"
  962.                             },
  963.                             {
  964.                                 "$ref": "#/definitions/textAreaQuestionType"
  965.                             },
  966.                             {
  967.                                 "$ref": "#/definitions/textLineQuestionType"
  968.                             }
  969.                         ]
  970.                     },
  971.                     "minItems": 0
  972.                 }
  973.             },
  974.             "additionalProperties": false
  975.         },
  976.         "questionnaireType": {
  977.             "title": "Application questionnaire",
  978.             "description": "Questionnaire",
  979.             "type": "object",
  980.             "properties": {
  981.                 "id": {
  982.                     "title": "Questionnaire id",
  983.                     "description": "The application Questionnaire id",
  984.                     "type": "string"
  985.                 },
  986.                 "typ": {
  987.                     "title": "Questionnaire type",
  988.                     "description": "The questionnaire type",
  989.                     "type": "string",
  990.                     "enum": [
  991.                         "questionnaire"
  992.                     ]
  993.                 },
  994.                 "title": {
  995.                     "title": "Questionnaire text",
  996.                     "description": "The application questionnaire text",
  997.                     "type": "string"
  998.                 },
  999.                 "description": {
  1000.                     "title": "Questionnaire description",
  1001.                     "description": "The application questionnaire description",
  1002.                     "type": [
  1003.                         "string",
  1004.                         "null"
  1005.                     ]
  1006.                 },
  1007.                 "groups": {
  1008.                     "title": "Questionnaire groups",
  1009.                     "description": "The application questionnaire groups",
  1010.                     "type": "array",
  1011.                     "items": {
  1012.                         "$ref": "#/definitions/questionGroupType"
  1013.                     }
  1014.                 }
  1015.             },
  1016.             "additionalProperties": false
  1017.         },
  1018.         "questionsType": {
  1019.             "title": "Application questionnaires",
  1020.             "description": "List of required and optional application questionnaires",
  1021.             "type": "array",
  1022.             "items": {
  1023.                 "anyOf": [
  1024.                     {
  1025.                         "$ref": "#/definitions/checkBoxQuestionType"
  1026.                     },
  1027.                     {
  1028.                         "$ref": "#/definitions/radioQuestionType"
  1029.                     },
  1030.                     {
  1031.                         "$ref": "#/definitions/selectQuestionType"
  1032.                     },
  1033.                     {
  1034.                         "$ref": "#/definitions/multiSelectQuestionType"
  1035.                     },
  1036.                     {
  1037.                         "$ref": "#/definitions/textAreaQuestionType"
  1038.                     },
  1039.                     {
  1040.                         "$ref": "#/definitions/textLineQuestionType"
  1041.                     },
  1042.                     {
  1043.                         "$ref": "#/definitions/questionGroupType"
  1044.                     },
  1045.                     {
  1046.                         "$ref": "#/definitions/questionnaireType"
  1047.                     }
  1048.                 ]
  1049.             },
  1050.             "minItems": 0
  1051.         },
  1052.         "startDateType": {
  1053.             "title": "Publication start date",
  1054.             "description": "Date where the publication starts",
  1055.             "$ref": "#/definitions/isoDatetimeType"
  1056.         },
  1057.         "endDateType": {
  1058.             "title": "Publication end date",
  1059.             "description": "Date where the publication ends",
  1060.             "$ref": "#/definitions/isoDatetimeType"
  1061.         },
  1062.         "createdDateType": {
  1063.             "title": "Publication created date",
  1064.             "description": "Date where the publication was created",
  1065.             "$ref": "#/definitions/isoDatetimeType"
  1066.         },
  1067.         "modifiedDateType": {
  1068.             "title": "Publication modified date",
  1069.             "description": "Date where the publication was modified",
  1070.             "$ref": "#/definitions/isoDatetimeType"
  1071.         }
  1072.     }
  1073. }
JSON schema data description
Path/Attribute Title Description Required