Skip to content

As a developer I want the JSON Schema definition of the output in the metadata section of the response. #3

@Kalimaha

Description

@Kalimaha

For instance the service groupsanddomains will present the following:

"metadata": {
   "targetSchema":{
      "type":"object",
      "properties":{
         "metadata":{
            "type":"object",
            "title":"Metadata",
            "description":"Metadata for the 'groupsanddomains' service."
         },
         "data":{
            "type":"array",
            "title":"Data",
            "description":"Data for the 'groupsanddomains' service.",
            "items":{
               "type":"object",
               "title":"Domain",
               "description":"FAOSTAT domain.",
               "properties":{
                  "GroupCode":{
                     "$ref":"#/definitions/code"
                  },
                  "GroupNameE":{
                     "$ref":"#/definitions/label"
                  },
                  "DomainCode":{
                     "$ref":"#/definitions/code"
                  },
                  "DomainNameE":{
                     "$ref":"#/definitions/label"
                  },
                  "Ord":{
                     "$ref":"#/definitions/ord"
                  }
               }
            }
         }
      }
   }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions