Virgin Media O2 · Schema

post

TelecommunicationsUnited KingdomMobile Network OperatorBroadbandNetwork APIsCAMARAOpen GatewayIdentity VerificationSIM SwapAge VerificationConverged OperatorPartner Gated

Properties

Name Type Description
date stringnull The date the post was published, in the site's time zone.
date_gmt stringnull The date the post was published, as GMT.
guid object The globally unique identifier for the post.
id integer Unique identifier for the post.
link string URL to the post.
modified string The date the post was last modified, in the site's time zone.
modified_gmt string The date the post was last modified, as GMT.
slug string An alphanumeric identifier for the post unique to its type.
status string A named status for the object.
type string Type of post.
password string A password to protect access to the content and excerpt.
permalink_template string Permalink template for the post.
generated_slug string Slug automatically generated from the post title.
class_list array An array of the class names for the post container element.
title object The title for the post.
content object The content for the post.
author integer The ID for the author of the post.
excerpt object The excerpt for the post.
featured_media integer The ID of the featured media for the post.
comment_status string Whether or not comments are open on the post.
ping_status string Whether or not the post can be pinged.
format string The format for the post.
meta object Meta fields.
sticky boolean Whether or not the post should be treated as sticky.
template string The theme file to use to display the post.
categories array The terms assigned to the object in the category taxonomy.
tags array The terms assigned to the object in the post_tag taxonomy.
customposttype array The terms assigned to the object in the customposttype taxonomy.
month array The terms assigned to the object in the month taxonomy.
acf object ACF field data
View JSON Schema on GitHub

JSON Schema

virgin-media-o2-newsroom-post.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "post",
  "type": "object",
  "properties": {
    "date": {
      "description": "The date the post was published, in the site's time zone.",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "context": [
        "view",
        "edit",
        "embed"
      ]
    },
    "date_gmt": {
      "description": "The date the post was published, as GMT.",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "context": [
        "view",
        "edit"
      ]
    },
    "guid": {
      "description": "The globally unique identifier for the post.",
      "type": "object",
      "context": [
        "view",
        "edit"
      ],
      "readonly": true,
      "properties": {
        "raw": {
          "description": "GUID for the post, as it exists in the database.",
          "type": "string",
          "context": [
            "edit"
          ],
          "readonly": true
        },
        "rendered": {
          "description": "GUID for the post, transformed for display.",
          "type": "string",
          "context": [
            "view",
            "edit"
          ],
          "readonly": true
        }
      }
    },
    "id": {
      "description": "Unique identifier for the post.",
      "type": "integer",
      "context": [
        "view",
        "edit",
        "embed"
      ],
      "readonly": true
    },
    "link": {
      "description": "URL to the post.",
      "type": "string",
      "format": "uri",
      "context": [
        "view",
        "edit",
        "embed"
      ],
      "readonly": true
    },
    "modified": {
      "description": "The date the post was last modified, in the site's time zone.",
      "type": "string",
      "format": "date-time",
      "context": [
        "view",
        "edit"
      ],
      "readonly": true
    },
    "modified_gmt": {
      "description": "The date the post was last modified, as GMT.",
      "type": "string",
      "format": "date-time",
      "context": [
        "view",
        "edit"
      ],
      "readonly": true
    },
    "slug": {
      "description": "An alphanumeric identifier for the post unique to its type.",
      "type": "string",
      "context": [
        "view",
        "edit",
        "embed"
      ]
    },
    "status": {
      "description": "A named status for the object.",
      "type": "string",
      "enum": [
        "publish",
        "future",
        "draft",
        "pending",
        "private",
        "acf-disabled"
      ],
      "context": [
        "view",
        "edit"
      ]
    },
    "type": {
      "description": "Type of post.",
      "type": "string",
      "context": [
        "view",
        "edit",
        "embed"
      ],
      "readonly": true
    },
    "password": {
      "description": "A password to protect access to the content and excerpt.",
      "type": "string",
      "context": [
        "edit"
      ]
    },
    "permalink_template": {
      "description": "Permalink template for the post.",
      "type": "string",
      "context": [
        "edit"
      ],
      "readonly": true
    },
    "generated_slug": {
      "description": "Slug automatically generated from the post title.",
      "type": "string",
      "context": [
        "edit"
      ],
      "readonly": true
    },
    "class_list": {
      "description": "An array of the class names for the post container element.",
      "type": "array",
      "context": [
        "view",
        "edit"
      ],
      "readonly": true,
      "items": {
        "type": "string"
      }
    },
    "title": {
      "description": "The title for the post.",
      "type": "object",
      "context": [
        "view",
        "edit",
        "embed"
      ],
      "properties": {
        "raw": {
          "description": "Title for the object, as it exists in the database.",
          "type": "string",
          "context": [
            "edit"
          ]
        },
        "rendered": {
          "description": "HTML title for the object, transformed for display.",
          "type": "string",
          "context": [
            "view",
            "edit",
            "embed"
          ],
          "readonly": true
        }
      }
    },
    "content": {
      "description": "The content for the post.",
      "type": "object",
      "context": [
        "view",
        "edit"
      ],
      "properties": {
        "raw": {
          "description": "Content for the post, as it exists in the database.",
          "type": "string",
          "context": [
            "edit"
          ]
        },
        "rendered": {
          "description": "HTML content for the post, transformed for display.",
          "type": "string",
          "context": [
            "view",
            "edit"
          ],
          "readonly": true
        },
        "block_version": {
          "description": "Version of the content block format used by the post.",
          "type": "integer",
          "context": [
            "edit"
          ],
          "readonly": true
        },
        "protected": {
          "description": "Whether the content is protected with a password.",
          "type": "boolean",
          "context": [
            "view",
            "edit",
            "embed"
          ],
          "readonly": true
        }
      }
    },
    "author": {
      "description": "The ID for the author of the post.",
      "type": "integer",
      "context": [
        "view",
        "edit",
        "embed"
      ]
    },
    "excerpt": {
      "description": "The excerpt for the post.",
      "type": "object",
      "context": [
        "view",
        "edit",
        "embed"
      ],
      "properties": {
        "raw": {
          "description": "Excerpt for the post, as it exists in the database.",
          "type": "string",
          "context": [
            "edit"
          ]
        },
        "rendered": {
          "description": "HTML excerpt for the post, transformed for display.",
          "type": "string",
          "context": [
            "view",
            "edit",
            "embed"
          ],
          "readonly": true
        },
        "protected": {
          "description": "Whether the excerpt is protected with a password.",
          "type": "boolean",
          "context": [
            "view",
            "edit",
            "embed"
          ],
          "readonly": true
        }
      }
    },
    "featured_media": {
      "description": "The ID of the featured media for the post.",
      "type": "integer",
      "context": [
        "view",
        "edit",
        "embed"
      ]
    },
    "comment_status": {
      "description": "Whether or not comments are open on the post.",
      "type": "string",
      "enum": [
        "open",
        "closed"
      ],
      "context": [
        "view",
        "edit"
      ]
    },
    "ping_status": {
      "description": "Whether or not the post can be pinged.",
      "type": "string",
      "enum": [
        "open",
        "closed"
      ],
      "context": [
        "view",
        "edit"
      ]
    },
    "format": {
      "description": "The format for the post.",
      "type": "string",
      "enum": [
        "standard",
        "aside",
        "chat",
        "gallery",
        "link",
        "image",
        "quote",
        "status",
        "video",
        "audio"
      ],
      "context": [
        "view",
        "edit"
      ]
    },
    "meta": {
      "description": "Meta fields.",
      "type": "object",
      "context": [
        "view",
        "edit"
      ],
      "properties": {
        "_acf_changed": {
          "type": "boolean",
          "title": "",
          "description": "",
          "default": false
        },
        "_yoast_wpseo_focuskw": {
          "type": "string",
          "title": "",
          "description": "",
          "default": ""
        },
        "_yoast_wpseo_title": {
          "type": "string",
          "title": "",
          "description": "",
          "default": ""
        },
        "_yoast_wpseo_metadesc": {
          "type": "string",
          "title": "",
          "description": "",
          "default": ""
        },
        "_mo_disable_npp": {
          "type": "string",
          "title": "",
          "description": "",
          "default": ""
        },
        "footnotes": {
          "type": "string",
          "title": "",
          "description": "",
          "default": ""
        }
      }
    },
    "sticky": {
      "description": "Whether or not the post should be treated as sticky.",
      "type": "boolean",
      "context": [
        "view",
        "edit"
      ]
    },
    "template": {
      "description": "The theme file to use to display the post.",
      "type": "string",
      "context": [
        "view",
        "edit"
      ]
    },
    "categories": {
      "description": "The terms assigned to the object in the category taxonomy.",
      "type": "array",
      "items": {
        "type": "integer"
      },
      "context": [
        "view",
        "edit"
      ]
    },
    "tags": {
      "description": "The terms assigned to the object in the post_tag taxonomy.",
      "type": "array",
      "items": {
        "type": "integer"
      },
      "context": [
        "view",
        "edit"
      ]
    },
    "customposttype": {
      "description": "The terms assigned to the object in the customposttype taxonomy.",
      "type": "array",
      "items": {
        "type": "integer"
      },
      "context": [
        "view",
        "edit"
      ]
    },
    "month": {
      "description": "The terms assigned to the object in the month taxonomy.",
      "type": "array",
      "items": {
        "type": "integer"
      },
      "context": [
        "view",
        "edit"
      ]
    },
    "acf": {
      "description": "ACF field data",
      "type": "object",
      "properties": []
    }
  },
  "links": [
    {
      "rel": "https://api.w.org/action-publish",
      "title": "The current user can publish this post.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "publish",
              "future"
            ]
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-unfiltered-html",
      "title": "The current user can post unfiltered HTML markup and JavaScript.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "content": {
            "raw": {
              "type": "string"
            }
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-sticky",
      "title": "The current user can sticky this post.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "sticky": {
            "type": "boolean"
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-assign-author",
      "title": "The current user can change the author on this post.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "author": {
            "type": "integer"
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-assign-categories",
      "title": "The current user can assign terms in the category taxonomy.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "categories": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-create-categories",
      "title": "The current user can create terms in the category taxonomy.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "categories": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-assign-tags",
      "title": "The current user can assign terms in the post_tag taxonomy.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-create-tags",
      "title": "The current user can create terms in the post_tag taxonomy.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-assign-customposttype",
      "title": "The current user can assign terms in the customposttype taxonomy.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "customposttype": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-create-customposttype",
      "title": "The current user can create terms in the customposttype taxonomy.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "customposttype": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-assign-month",
      "title": "The current user can assign terms in the month taxonomy.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "month": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    {
      "rel": "https://api.w.org/action-create-month",
      "title": "The current user can create terms in the month taxonomy.",
      "href": "https://news.virginmediao2.co.uk/wp-json/wp/v2/posts/{id}",
      "targetSchema": {
        "type": "object",
        "properties": {
          "month": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    }
  ]
}