{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/open-factory-com/json-schema/open-factory-com-envelope-schema.json",
  "title": "Envelope",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/open-factory-com-openapi.json#/components/schemas/Envelope",
  "type": "object",
  "properties": {
    "api": {
      "type": "string",
      "const": "v1"
    },
    "tier": {
      "type": "string",
      "enum": [
        "free",
        "pro",
        "institutional"
      ]
    },
    "description": {
      "type": "string"
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ],
      "description": "Newest dated source or data point in the response, YYYY-MM-DD."
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    },
    "source": {},
    "license": {
      "type": "object"
    },
    "attribution": {
      "type": "string"
    },
    "docs": {
      "type": "string",
      "format": "uri"
    }
  },
  "additionalProperties": true,
  "required": [
    "api",
    "tier",
    "description",
    "generated_at",
    "license",
    "attribution",
    "docs"
  ]
}