{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/starwell-dev/json-schema/starwell-dev-license-schema.json",
  "title": "License",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/starwell-dev-openapi.yml#/components/schemas/License",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "enum": [
        "public-domain",
        "statcan-open",
        "cc-by-4.0",
        "open-government",
        "third-party-restricted",
        "unknown"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ]
    },
    "attribution": {
      "type": [
        "string",
        "null"
      ],
      "description": "The exact attribution line to print alongside the data."
    },
    "redistributable": {
      "type": "boolean"
    },
    "trainingEligible": {
      "type": "boolean"
    }
  }
}