{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-license-schema.json",
  "title": "License",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/open-government-portugal-datasets-api-openapi.yml#/components/schemas/License",
  "properties": {
    "alternate_titles": {
      "description": "Same alternative known titles (improve rematch)",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "alternate_urls": {
      "description": "Same alternative known URLs (improve rematch)",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "flags": {
      "description": "Some arbitry flags",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "id": {
      "description": "The license identifier",
      "type": "string"
    },
    "maintainer": {
      "description": "The license official maintainer",
      "type": "string"
    },
    "title": {
      "description": "The resource title",
      "type": "string"
    },
    "url": {
      "description": "The license official URL",
      "type": "string"
    }
  },
  "required": [
    "id",
    "title"
  ],
  "type": "object"
}