{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aibenchmarkindex-com/json-schema/aibenchmarkindex-com-meta-schema.json",
  "title": "Meta",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aibenchmarkindex-com-categories-api-openapi.yml#/components/schemas/Meta",
  "type": "object",
  "properties": {
    "attribution": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "text": {
          "type": "string",
          "description": "Credit line to show next to the data."
        }
      },
      "required": [
        "name",
        "url",
        "text"
      ],
      "additionalProperties": false
    },
    "sources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Source"
      },
      "description": "Where the data comes from, with the license of each source."
    }
  },
  "required": [
    "attribution",
    "sources"
  ],
  "additionalProperties": false,
  "$defs": {
    "Source": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "license": {
          "type": "string",
          "description": "The license of the data taken from this source."
        },
        "refresh": {
          "type": "string",
          "description": "How often the source is re-imported."
        },
        "notes": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "key",
        "name",
        "url",
        "license",
        "refresh",
        "notes"
      ],
      "additionalProperties": false
    }
  }
}