---
id: user.json
"$schema": "http://json-schema.org/draft-04/schema"
title: User
description: "User profile"
type:
- object
properties:
  id:
    "$ref": "base.json#/definitions/uuid"
  email:
    type: string
    example: user@domain.com
  name:
    type: string
    example: "Example User"
  avatar:
    type: string
    example: "http://example.net/user.png"
  founder:
    example: 6
    description: Founding member number
    oneOf:
    - { type: 'null' }
    - { type: 'integer' }
  canUse:
    description: Feature flagging based on user plan
    type: object
    siteMediaCta:
      description: If user can create CTA in the site header
      type: boolean
    edCta:
      description: If user can create CTA in Ed
      type: boolean
    edEmbed:
      description: If user can create embedded block in Ed
      type: boolean
required: [id, name]

---
id: user.json
"$schema": "http://json-schema.org/draft-04/schema"
title: User
description: "User profile"
type:
- object
properties:
  id:
    "$ref": "base.json#/definitions/uuid"
  email:
    type: string
    example: user@domain.com
  name:
    type: string
    example: "Example User"
  avatar:
    type: string
    example: "http://example.net/user.png"
  founder:
    example: 6
    description: Founding member number
    oneOf:
    - { type: 'null' }
    - { type: 'integer' }
  canUse:
    description: Feature flagging based on user plan
    type: object
    properties:
      siteMediaCta:
        description: If user can create CTA in the site header
        type: boolean
      edCta:
        description: If user can create CTA in Ed
        type: boolean
      edEmbed:
        description: If user can create embedded block in Ed
        type: boolean
required: [id, name]

Move properties to correct key
Move properties to correct key
