Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • D Documentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Documentation
  • Issues
  • #86
Closed
Open
Issue created Mar 24, 2021 by Rupali Kombade@Rupali

Allowed kind in storage create storage api

Where can I get information about allowed kind in storage create schema API. if I want to specify 'array of objects' how to specify it? Consider the data format is as below: data { name: "area name", country: "xyz", wells:[ name: "well1", type: "planning", coordinates: { latitute:12345, longitude: 1235 } ] }

to make above data searchable I need to connect it with storage schema. When I tried to create schema using below service, its giving me error that - Schema item 'wells' has an invalid data type 'object', cay you please suggest how to add array or list in schema kind for wells array?

api/storage/v2/schemas { "kind": "common:wks:welldata:1.0.0", "schema": [

    {
      "path": "name",
      "kind": "string"
    },
    
    {
      "path": "country",
       "kind": "string"
    },
    {
        "path": "wells",
        "kind": "object"
    }
]

}

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking