SewerAI · Schema

MainlineAssetWrite

WastewaterWater InfrastructureSewer InspectionAsset ManagementComputer VisionArtificial IntelligenceGISPublic WorksConstruction Technologynasscocctv-inspection

Properties

Name Type Description
url string
sid string
name string
key stringnull
owner stringnull
kind string
geojson object
city string
city_area string
country_area string
country_code string
postal_code string
sorting_code string
street_address string
created string
created_by string
updated string
updated_by string
deleted string
deleted_by string
account string
category stringnull
metric booleannull
shape stringnull
host_material stringnull
renewal_method stringnull
renewal_year stringnull
length numbernull
height numbernull
width numbernull
joint_distance numbernull
rim_to_invert numbernull
rim_to_grade numbernull
View JSON Schema on GitHub

JSON Schema

sewerai-mainline-asset-write-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sewerai/main/json-schema/sewerai-mainline-asset-write-schema.json",
  "title": "MainlineAssetWrite",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sewerai-assets-api-openapi.yml#/components/schemas/MainlineAssetWrite",
  "required": [
    "name",
    "city"
  ],
  "type": "object",
  "properties": {
    "url": {
      "title": "Url",
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "sid": {
      "title": "Sid",
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "title": "Name",
      "type": "string",
      "maxLength": 1024,
      "minLength": 1
    },
    "key": {
      "title": "Key",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 128,
      "minLength": 1
    },
    "owner": {
      "title": "Owner",
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "kind": {
      "title": "Kind",
      "type": "string",
      "default": "mainline",
      "minLength": 1
    },
    "geojson": {
      "title": "Geojson",
      "type": "object"
    },
    "city": {
      "title": "City",
      "type": "string",
      "minLength": 1
    },
    "city_area": {
      "title": "City area",
      "type": "string",
      "minLength": 1
    },
    "country_area": {
      "title": "Country area",
      "type": "string",
      "minLength": 1
    },
    "country_code": {
      "title": "Country code",
      "type": "string",
      "minLength": 1
    },
    "postal_code": {
      "title": "Postal code",
      "type": "string",
      "minLength": 1
    },
    "sorting_code": {
      "title": "Sorting code",
      "type": "string",
      "minLength": 1
    },
    "street_address": {
      "title": "Street address",
      "type": "string",
      "minLength": 1
    },
    "created": {
      "title": "Created",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by": {
      "title": "Created by",
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "updated": {
      "title": "Updated",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_by": {
      "title": "Updated by",
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "deleted": {
      "title": "Deleted",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "deleted_by": {
      "title": "Deleted by",
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "account": {
      "title": "Account",
      "type": "string",
      "format": "uuid"
    },
    "category": {
      "title": "Category",
      "type": [
        "string",
        "null"
      ],
      "minLength": 1
    },
    "metric": {
      "title": "Metric",
      "type": [
        "boolean",
        "null"
      ]
    },
    "shape": {
      "title": "Shape",
      "type": [
        "string",
        "null"
      ],
      "minLength": 1
    },
    "host_material": {
      "title": "Host material",
      "type": [
        "string",
        "null"
      ],
      "minLength": 1
    },
    "renewal_method": {
      "title": "Renewal method",
      "type": [
        "string",
        "null"
      ],
      "minLength": 1
    },
    "renewal_year": {
      "title": "Renewal year",
      "type": [
        "string",
        "null"
      ],
      "minLength": 1
    },
    "length": {
      "title": "Length",
      "type": [
        "number",
        "null"
      ]
    },
    "height": {
      "title": "Height",
      "type": [
        "number",
        "null"
      ]
    },
    "width": {
      "title": "Width",
      "type": [
        "number",
        "null"
      ]
    },
    "joint_distance": {
      "title": "Joint distance",
      "type": [
        "number",
        "null"
      ]
    },
    "rim_to_invert": {
      "title": "Rim to invert",
      "type": [
        "number",
        "null"
      ]
    },
    "rim_to_grade": {
      "title": "Rim to grade",
      "type": [
        "number",
        "null"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sewerai-mainline-asset-write"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.