Link Search Menu Expand Document

Section

Section is attached to a story to categorise the story under a particular group, this grouping might be called differently in other systems, like categories, taxonomy etc.

Format

If the section is parent only

{
  "name": "Business",
  "display-name": "Business",
  "external-id": "Business",
  "slug" : "business",
  "seo-metadata" : {
    "title": "Equity",
    "description": "Equity Section",
    "page-title": "Equity",
    "keywords": ["Market","Equity"]
  },
  "collection-metadata":{
    "key": "value"
  }
}

If the section has a sub-section

{
  "name": "Equity",
  "display-name": "Equity",
  "external-id": "Markets/Equity",
  "slug" : "equity",
  "seo-metadata" : {
    "title": "Equity",
    "description": "Equity Section",
    "page-title": "Equity",
    "keywords": ["Market","Equity"]
  },
  "collection-metadata":{
    "key": "value"
  },
  "parent": {
    "external-id": "Markets",
    "display-name": "Markets",
    "name": "Markets",
    "slug" : "equity" ,
    "seo-metadata" : {
      "title": "Market",
      "description": "Market Section",
      "page-title": "Market",
      "keywords": ["Market"]
    },
     "collection-metadata":{
       "key": "value"
      }
  }
}

Schema

Key Type
name * String
display-name * String
external-id * String
slug * String
seo-metadata Object
collection-metadata Object
parent Section

seo-metadata

Key Type
title String
description String
page-title String
keywords Array of Strings

collection-metadata

Key Type
key String
value Any

Notes

[1] All mandatory fields are marked with an *