{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dharun-dev/json-schema/dharun-dev-envelope-schema.json",
  "title": "Envelope",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dharun-dev-openapi.json#/components/schemas/Envelope",
  "properties": {
    "data": {
      "description": "The result: an object, or an array for list endpoints."
    },
    "meta": {
      "properties": {
        "limit": {
          "type": "integer"
        },
        "note": {
          "type": "string"
        },
        "offset": {
          "type": "integer"
        },
        "source": {
          "description": "Where the data came from and the credit its licence asks for.",
          "properties": {
            "attribution": {
              "type": "string"
            },
            "licence": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "retrieved": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "total": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}