Skip to content

Commit 71fe549

Browse files
Remove custom object definition, and simply provide URL to image.
1 parent 04d4a59 commit 71fe549

File tree

2 files changed

+6
-28
lines changed

2 files changed

+6
-28
lines changed

jsonschema/definitions/Dataset.json

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,20 +1300,9 @@
13001300
"type": "null"
13011301
},
13021302
{
1303-
"type": "array",
1304-
"items": {
1305-
"oneOf": [
1306-
{
1307-
"$ref": "#/definitions/ImageObject",
1308-
"description": "inline description of ImageObject"
1309-
},
1310-
{
1311-
"type": "string",
1312-
"description": "reference iri of ImageObject",
1313-
"format": "iri"
1314-
}
1315-
]
1316-
}
1303+
"type": "string",
1304+
"description": "The link to the image",
1305+
"format": "iri"
13171306
}
13181307
]
13191308
},

jsonschema/definitions/Distribution.json

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -690,20 +690,9 @@
690690
"type": "null"
691691
},
692692
{
693-
"type": "array",
694-
"items": {
695-
"oneOf": [
696-
{
697-
"$ref": "#/definitions/ImageObject",
698-
"description": "inline description of ImageObject"
699-
},
700-
{
701-
"type": "string",
702-
"description": "reference iri of ImageObject",
703-
"format": "iri"
704-
}
705-
]
706-
}
693+
"type": "string",
694+
"description": "The link to the image",
695+
"format": "iri"
707696
}
708697
]
709698
},

0 commit comments

Comments
 (0)