{
    "schema": "https://json-schema.org/draft/2019-09/schema",
    "$id": "https://raw.githubusercontent.com/merokudao/dapp-store-registry/main/src/schemas/merokuDappStore.featuredSchema.json",
    "title": "dApp Store Featured Sections Schema",
    "description": "Any dApp Store will have some featured sections. This schema defines a featured section and the dApps that are part of that section.",
    "type": "object",
    "properties": {
        "title": {
            "description": "Title of the Featured Section. This will be displayed on the dApp Store. It should be simple and clear. Ex: 'What we're using' or 'Most Popular dApps'",
            "type": "string"
        },
        "description": {
            "description": "Description of the Featured Section. This will be displayed on the dApp Store. It should be simple and clear. Ex: 'These are the dApps that we use on a daily basis.'",
            "type": "string"
        },
        "key": {
            "description": "Key of the Featured Section. This will be used to identify the Featured Section. It should be simple and clear. Ex: 'what-we-are-using' or 'most-popular-dapps'. This could be used in frontend to place the sections.",
            "type": "string"
        },
        "dappIds": {
            "type": "array",
            "description": "List of dApp IDs that are part of this featured section. The dApp IDs should be the same as the ones in the dApp Store's dApps list.",
            "items": {
                "type": "string"
            }
        }
    },
    "required": ["title", "description", "key", "dappIds"],
    "additionalProperties": false
}
