{
    "$schema": "http://json-schema.org/draft-04/schema",
    "description": "A planet.",
    "properties": {
        "climate": {
            "description": "The climate of this planet. Comma-seperated if diverse.",
            "type": "string"
        },
        "created": {
            "_format": "date-time",
            "description": "The ISO 8601 date format of the time that this resource was created.",
            "type": "string"
        },
        "diameter": {
            "description": "The diameter of this planet in kilometers.",
            "type": "string"
        },
        "edited": {
            "_format": "date-time",
            "description": "the ISO 8601 date format of the time that this resource was edited.",
            "type": "string"
        },
        "films": {
            "description": "An array of Film URL Resources that this planet has appeared in.",
            "type": "array"
        },
        "gravity": {
            "description": "A number denoting the gravity of this planet. Where 1 is normal.",
            "type": "string"
        },
        "name": {
            "description": "The name of this planet.",
            "type": "string"
        },
        "orbital_period": {
            "description": "The number of standard days it takes for this planet to complete a single orbit of its local star.",
            "type": "string"
        },
        "population": {
            "description": "The average populationof sentient beings inhabiting this planet.",
            "type": "string"
        },
        "residents": {
            "description": "An array of People URL Resources that live on this planet.",
            "type": "array"
        },
        "rotation_period": {
            "description": "The number of standard hours it takes for this planet to complete a single rotation on its axis.",
            "type": "string"
        },
        "surface_water": {
            "description": "The percentage of the planet surface that is naturally occuring water or bodies of water.",
            "type": "string"
        },
        "terrain": {
            "description": "the terrain of this planet. Comma-seperated if diverse.",
            "type": "string"
        },
        "url": {
            "_format": "uri",
            "description": "The hypermedia URL of this resource.",
            "type": "string"
        }
    },
    "required": [
        "name",
        "rotation_period",
        "orbital_period",
        "diameter",
        "climate",
        "gravity",
        "terrain",
        "surface_water",
        "population",
        "residents",
        "films",
        "created",
        "edited",
        "url"
    ],
    "title": "Planet",
    "type": "object"
}