DEV Community · Schema

Trend

Representation of a trend

Developer CommunityArticlesBloggingSocialContentOpen Source

Properties

Name Type Description
type_of string
id integer
name string
slug string
description string
key_questions array
score number
articles_count integer
cover_image string
first_observed_at string
last_observed_at string
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

trend.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Trend",
  "description": "Representation of a trend",
  "type": "object",
  "properties": {
    "type_of": {
      "type": "string"
    },
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "description": {
      "type": "string",
      "nullable": true
    },
    "key_questions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "score": {
      "type": "number",
      "format": "float"
    },
    "articles_count": {
      "type": "integer",
      "format": "int32"
    },
    "cover_image": {
      "type": "string",
      "format": "url",
      "nullable": true
    },
    "first_observed_at": {
      "type": "string",
      "format": "date-time"
    },
    "last_observed_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "type_of",
    "id",
    "name",
    "slug",
    "key_questions",
    "score",
    "articles_count",
    "first_observed_at",
    "last_observed_at",
    "created_at",
    "updated_at"
  ]
}