{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shipyard/json-schema/shipyard-get-api-v1-environment-response-schema.json",
  "title": "GetApiV1EnvironmentResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/shipyard-openapi-generated.yml#/components/schemas/GetApiV1EnvironmentResponse",
  "type": "object",
  "properties": {
    "attributes": {
      "type": "object",
      "properties": {
        "bypass_token": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "processing": {
          "type": "boolean"
        },
        "projects": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "branch": {
                "type": "string"
              },
              "commit_hash": {
                "type": "string"
              },
              "org_name": {
                "type": "string"
              },
              "pull_request_number": {
                "type": "integer"
              },
              "repo_name": {
                "type": "string"
              }
            }
          }
        },
        "ready": {
          "type": "boolean"
        },
        "retired": {
          "type": "boolean"
        },
        "deleted": {
          "type": "boolean"
        },
        "stopped": {
          "type": "boolean"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "id": {
      "type": "string"
    },
    "links": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string"
        }
      }
    },
    "type": {
      "type": "string"
    }
  }
}