Skip to content

[Get Shapes API] Categorize shapes

Getavaialbleshapes api should return the shapes categorized into 3 categories:

  1. Participant
  2. service offering
  3. Resource
schema:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://localhost:8080/getAvailableShapes",
  "title": "Shapes",
  "description": "Returns available shapes",
  "type": "object",
  "shapes":{
    
     "Participants shapes":{ 
        "type": "array",
        items:[
            {"type":"string"} 
        ]
      }
     "Service offering shapes":{
             "type": "array",
        items:[
            {"type":"string"} 
        ]   
      }
     "Resource shapes":{
            "type": "array",
        items:[
            {"type":"string"} 
        ]    
      }
  }
}

Issue is related to issue #1

Edited by Cristina Pauna