DEV Community · Schema

Article

Representation of an Article to be created/updated

Developer CommunityArticlesBloggingSocialContentOpen Source

Properties

Name Type Description
article object
View JSON Schema on GitHub

JSON Schema

article.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Article",
  "description": "Representation of an Article to be created/updated",
  "type": "object",
  "properties": {
    "article": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "body_markdown": {
          "type": "string"
        },
        "published": {
          "type": "boolean",
          "default": false
        },
        "series": {
          "type": "string",
          "nullable": true
        },
        "main_image": {
          "type": "string",
          "nullable": true
        },
        "canonical_url": {
          "type": "string",
          "nullable": true
        },
        "description": {
          "type": "string"
        },
        "tags": {
          "type": "string"
        },
        "organization_id": {
          "type": "integer",
          "nullable": true
        }
      }
    }
  }
}