AeroDataBox · Schema

ResourceContract

Single media resource data

AviationFlightsAerospaceFlight DataAirport Data

Properties

Name Type Description
url string URL of the resource
webUrl string URL of web-page containing the resource
author string Author name of the resource
title string Title of the resource
description string Description of the resource
license object
htmlAttributions array Attributions maintaining copyright, ownership and other legal information adjusted for displaying as HTML. Each element represent one line.
View JSON Schema on GitHub

JSON Schema

aerodatabox-resourcecontract-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResourceContract",
  "title": "ResourceContract",
  "required": [
    "license",
    "url"
  ],
  "type": "object",
  "properties": {
    "url": {
      "minLength": 1,
      "type": "string",
      "description": "URL of the resource"
    },
    "webUrl": {
      "type": "string",
      "description": "URL of web-page containing the resource",
      "nullable": true
    },
    "author": {
      "type": "string",
      "description": "Author name of the resource",
      "nullable": true
    },
    "title": {
      "type": "string",
      "description": "Title of the resource",
      "nullable": true
    },
    "description": {
      "type": "string",
      "description": "Description of the resource",
      "nullable": true
    },
    "license": {
      "$ref": "#/components/schemas/LicenseType"
    },
    "htmlAttributions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Attributions maintaining copyright, ownership and other legal information adjusted for displaying\r\nas HTML. Each element represent one line.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "Single media resource data"
}