{
    "$schema": "http://json-schema.org/draft-04/schema",
    "description": "A Starship",
    "properties": {
        "MGLT": {
            "description": "The Maximum number of Megalights this starship can travel in a standard hour. A Megalight is a standard unit of distance and has never been defined before within the Star Wars universe. This figure is only really useful for measuring the difference in speed of starships. We can assume it is similar to AU, the distance between our Sun (Sol) and Earth.",
            "type": "string"
        },
        "cargo_capacity": {
            "description": "The maximum number of kilograms that this starship can transport.",
            "type": "string"
        },
        "consumables": {
            "description": "The maximum length of time that this starship can provide consumables for its entire crew without having to resupply.",
            "type": "string"
        },
        "cost_in_credits": {
            "description": "The cost of this starship new, in galactic credits.",
            "type": "string"
        },
        "created": {
            "_format": "date-time",
            "description": "The ISO 8601 date format of the time that this resource was created.",
            "type": "string"
        },
        "crew": {
            "description": "The number of personnel needed to run or pilot this starship.",
            "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 starship has appeared in.",
            "type": "array"
        },
        "hyperdrive_rating": {
            "description": "The class of this starships hyperdrive.",
            "type": "string"
        },
        "length": {
            "description": "The length of this starship in meters.",
            "type": "string"
        },
        "manufacturer": {
            "description": "The manufacturer of this starship. Comma seperated if more than one.",
            "type": "string"
        },
        "max_atmosphering_speed": {
            "description": "The maximum speed of this starship in atmosphere. n/a if this starship is incapable of atmosphering flight.",
            "type": "string"
        },
        "model": {
            "description": "The model or official name of this starship. Such as T-65 X-wing or DS-1 Orbital Battle Station.",
            "type": "string"
        },
        "name": {
            "description": "The name of this starship. The common name, such as Death Star.",
            "type": "string"
        },
        "passengers": {
            "description": "The number of non-essential people this starship can transport.",
            "type": "string"
        },
        "pilots": {
            "description": "An array of People URL Resources that this starship has been piloted by.",
            "type": "array"
        },
        "starship_class": {
            "description": "The class of this starship, such as Starfighter or Deep Space Mobile Battlestation.",
            "type": "string"
        },
        "url": {
            "_format": "uri",
            "description": "The hypermedia URL of this resource.",
            "type": "string"
        }
    },
    "required": [
        "name",
        "model",
        "manufacturer",
        "cost_in_credits",
        "length",
        "max_atmosphering_speed",
        "crew",
        "passengers",
        "cargo_capacity",
        "consumables",
        "hyperdrive_rating",
        "MGLT",
        "starship_class",
        "pilots",
        "films",
        "created",
        "edited",
        "url"
    ],
    "title": "Starship",
    "type": "object"
}