{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sewerai/main/json-schema/sewerai-submittal-schema.json",
  "title": "Submittal",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sewerai-submittal-api-openapi.yml#/components/schemas/Submittal",
  "type": "object",
  "properties": {
    "accepted": {
      "title": "Accepted",
      "type": "boolean"
    },
    "accepting_project_name": {
      "title": "Accepting project name",
      "type": "string",
      "readOnly": true
    },
    "account": {
      "title": "Account",
      "type": "string",
      "readOnly": true,
      "minLength": 1
    },
    "account_name": {
      "title": "Account name",
      "type": "string",
      "readOnly": true,
      "minLength": 1
    },
    "am_initiator": {
      "title": "Am initiator",
      "type": "string",
      "readOnly": true
    },
    "created": {
      "title": "Created",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "download_ready": {
      "title": "Download ready",
      "type": "string",
      "readOnly": true
    },
    "initiator": {
      "title": "Initiator",
      "type": "string",
      "readOnly": true,
      "minLength": 1
    },
    "name": {
      "title": "Name",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 128
    },
    "num_ins": {
      "title": "Num ins",
      "type": "integer",
      "maximum": 2147483647,
      "minimum": -2147483648
    },
    "project_names": {
      "type": "array",
      "items": {
        "title": "Project names",
        "type": "string",
        "maxLength": 256,
        "minLength": 1
      }
    },
    "reviewers": {
      "title": "Reviewers",
      "type": "string",
      "readOnly": true
    },
    "s3_zip_location": {
      "title": "S3 zip location",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 512
    },
    "sid": {
      "title": "Sid",
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "submittal_reviewers": {
      "title": "Submittal reviewers",
      "type": "string",
      "readOnly": true
    },
    "zip_downloaders": {
      "title": "Zip downloaders",
      "type": "string",
      "readOnly": true
    }
  }
}