schema: remove all additionalItems
they are of no use in the latest JSON Schema reference, see: https://json-schema.org/understanding-json-schema/reference/array.html > The items keyword can be used to control whether it’s valid to have additional items in a tuple beyond what is defined in prefixItems. The value of the items keyword is a schema that all additional items must pass in order for the keyword to validate. > Before to Draft 2020-12, you would use the additionalItems keyword to constrain additional items on a tuple. It works the same as items, only the name has changed. > In Draft 6 - 2019-09, the additionalItems keyword is ignored if there is not a "tuple validation" items keyword present in the same schema.
This commit is contained in:
parent
bd4ee30289
commit
145e5d118a
|
|
@ -74,7 +74,6 @@
|
|||
"profiles": {
|
||||
"type": "array",
|
||||
"description": "Specify any number of social networks that you participate in",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -99,7 +98,6 @@
|
|||
},
|
||||
"work": {
|
||||
"type": "array",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -138,7 +136,6 @@
|
|||
"highlights": {
|
||||
"type": "array",
|
||||
"description": "Specify multiple accomplishments",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "e.g. Increased profits by 20% from 2011-2012 through viral advertising"
|
||||
|
|
@ -149,7 +146,6 @@
|
|||
},
|
||||
"volunteer": {
|
||||
"type": "array",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -180,7 +176,6 @@
|
|||
"highlights": {
|
||||
"type": "array",
|
||||
"description": "Specify accomplishments and achievements",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "e.g. Increased profits by 20% from 2011-2012 through viral advertising"
|
||||
|
|
@ -191,7 +186,6 @@
|
|||
},
|
||||
"education": {
|
||||
"type": "array",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -226,7 +220,6 @@
|
|||
"courses": {
|
||||
"type": "array",
|
||||
"description": "List notable courses/subjects",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "e.g. H1302 - Introduction to American history"
|
||||
|
|
@ -238,7 +231,6 @@
|
|||
"awards": {
|
||||
"type": "array",
|
||||
"description": "Specify any awards you have received throughout your professional career",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -264,7 +256,6 @@
|
|||
"certificates": {
|
||||
"type": "array",
|
||||
"description": "Specify any certificates you have received throughout your professional career",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -293,7 +284,6 @@
|
|||
"publications": {
|
||||
"type": "array",
|
||||
"description": "Specify your publications through your career",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -324,7 +314,6 @@
|
|||
"skills": {
|
||||
"type": "array",
|
||||
"description": "List out your professional skill-set",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -340,7 +329,6 @@
|
|||
"keywords": {
|
||||
"type": "array",
|
||||
"description": "List some keywords pertaining to this skill",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "e.g. HTML"
|
||||
|
|
@ -352,7 +340,6 @@
|
|||
"languages": {
|
||||
"type": "array",
|
||||
"description": "List any other languages you speak",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -370,7 +357,6 @@
|
|||
},
|
||||
"interests": {
|
||||
"type": "array",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -381,7 +367,6 @@
|
|||
},
|
||||
"keywords": {
|
||||
"type": "array",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "e.g. Friedrich Nietzsche"
|
||||
|
|
@ -393,7 +378,6 @@
|
|||
"references": {
|
||||
"type": "array",
|
||||
"description": "List references you have received",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -412,7 +396,6 @@
|
|||
"projects": {
|
||||
"type": "array",
|
||||
"description": "Specify career projects",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
|
|
@ -428,7 +411,6 @@
|
|||
"highlights": {
|
||||
"type": "array",
|
||||
"description": "Specify multiple features",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "e.g. Directs you close but not quite there"
|
||||
|
|
@ -437,7 +419,6 @@
|
|||
"keywords": {
|
||||
"type": "array",
|
||||
"description": "Specify special elements involved",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "e.g. AngularJS"
|
||||
|
|
@ -457,7 +438,6 @@
|
|||
"roles": {
|
||||
"type": "array",
|
||||
"description": "Specify your role on this project or in company",
|
||||
"additionalItems": false,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "e.g. Team Lead, Speaker, Writer"
|
||||
|
|
|
|||
Loading…
Reference in New Issue