{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/edge-network/json-schema/edge-network-project-schema.json",
  "title": "Project",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/edge-network-openapi.json#/components/schemas/Project",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Project id, e.g. proj_ab12cd34."
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "resources": {
      "type": "array",
      "description": "Resources grouped under this project.",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Resource type, e.g. vm, bucket, cdn, dns_zone."
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "id"
        ]
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "name"
  ]
}