Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Schema
Commits
40d9c18e
Commit
40d9c18e
authored
Sep 16, 2021
by
Abhishek Kumar
Browse files
updating test json
parent
35dfdf9d
Pipeline
#65854
failed with stages
in 71 minutes and 44 seconds
Changes
2
Pipelines
3
Show whitespace changes
Inline
Side-by-side
schema-core/src/test/resources/test_schema/resolvedSchemaWithDefinition.json
View file @
40d9c18e
schema-core/src/test/resources/test_schema/resolvedSchemaWithRefInsideDefinationBlock.json
View file @
40d9c18e
{
"definitions"
:
{
"FeatureCollection"
:
{
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"title"
:
"GeoJSON FeatureCollection"
,
"type"
:
"object"
,
"required"
:
[
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"x-os-lifecycle-state"
:
"published"
,
"description"
:
"The entity well."
,
"title"
:
"Well"
,
"type"
:
"object"
,
"definitions"
:{
"FeatureCollection"
:{
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"title"
:
"GeoJSON FeatureCollection"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"features"
],
"properties"
:
{
"features"
:
{
"type"
:
"array"
,
"items"
:
{
"title"
:
"GeoJSON Feature"
,
"type"
:
"object"
,
"required"
:
[
"properties"
:{
"features"
:{
"type"
:
"array"
,
"items"
:{
"title"
:
"GeoJSON Feature"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"properties"
,
"geometry"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"geometry"
:
{
"oneOf"
:
[
"geometry"
:{
"oneOf"
:[
{
"type"
:
"null"
"type"
:
"null"
},
{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"coordinates"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"type"
:{
"type"
:
"string"
,
"enum"
:[
"Point"
]
}
}
},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"coordinates"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
}
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"type"
:{
"type"
:
"string"
,
"enum"
:[
"LineString"
]
}
}
},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"coordinates"
:{
"type"
:
"array"
,
"items"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
}
}
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"type"
:{
"type"
:
"string"
,
"enum"
:[
"Polygon"
]
}
}
},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"coordinates"
:{
"type"
:
"array"
,
"items"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
}
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"type"
:{
"type"
:
"string"
,
"enum"
:[
"MultiPoint"
]
}
}
},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"coordinates"
:{
"type"
:
"array"
,
"items"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
}
}
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"type"
:{
"type"
:
"string"
,
"enum"
:[
"MultiLineString"
]
}
}
},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"coordinates"
:{
"type"
:
"array"
,
"items"
:{
"type"
:
"array"
,
"items"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
}
}
}
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"type"
:{
"type"
:
"string"
,
"enum"
:[
"MultiPolygon"
]
}
}
},
{
"title"
:
"GeoJSON GeometryCollection"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON GeometryCollection"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"geometries"
],
"properties"
:
{
"geometries"
:
{
"type"
:
"array"
,
"items"
:
{
"oneOf"
:
[
"properties"
:{
"geometries"
:{
"type"
:
"array"
,
"items"
:{
"oneOf"
:[
{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"coordinates"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"type"
:{
"type"
:
"string"
,
"enum"
:[
"Point"
]
}
}
},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"coordinates"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"minItems"
:
2
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
}
},
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"type"
:{
"type"
:
"string"
,
"enum"
:[
"LineString"
]
}
}
},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:[
"type"
,
"coordinates"
],
"properties"
:
{
"bbox"
:
{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
"properties"
:{
"bbox"
:{
"minItems"
:
4
,
"type"
:
"array"
,
"items"
:{
"type"
:
"number"
}
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"minItems"
:
4
,
"type"
:
"array"
,